Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Oct 1999 11:55:11 +0200
From:      German Tischler <tanis@gaspode.franken.de>
To:        freebsd-current@freebsd.org
Subject:   negative offset for bus_space_read ?
Message-ID:  <19991016115511.A1156@gaspode.franken.de>

next in thread | raw e-mail | index | archive | help
Hi.

I'm in the processing of converting i4b to use newbus calls.
The Teles S0/16.3 card has strange way to spread it's io
adresses. For example if it is configured for 0xd80 it
will use adresses at 0x960, 0x160 and 0x560.
So using for example bus_space_read_1 to read from adress
0x160 will not work because the offset parameter is unsigned.

Is there a more elegant way than to get the real adress and
use inb ?

-- 
German Tischler		tanis@gaspode.franken.de
			tanis@cip.informatik.uni-wuerzburg.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991016115511.A1156>