freebsd-dev/sys/dev
Bill Paul af1c062105 On FreeBSD/i386, when you use the SYS_RES_MEMORY resource to allocate
a PCI memory mapped region, rman_get_bushandle() returns what happens
to be a kernel virtual address pointing to the base of the PCI shared
memory window. However this is not the behavior on all platforms:
the only thing you should do with the bushandle is pass it to the
bus_spare_read()/bus_space_write() routines. If you actually do want
the kernel virtual address of the base of the PCI memory window, you
need to use rman_get_virtual().

The problem is that at the moment, rman_get_virtual() returns a physical
address, which is bad. In order to get the kernel virtual address we
need, we have to play with it a little.

Presumeably this behavior will be changed, but in the meantime the
Tigon driver won't work. So for the moment, I'm adding a kludge to
make things happy on the alpha: the correct kernel virtual address
is calculated from the value returned by rman_get_virtual(). This
should be removed once rman_get_virtual() starts doing the right
thing.

This should make the Tigon actuall work on the alpha now.
1999-07-27 03:54:48 +00:00
..
advansys Eliminate a bunch of #include "pci.h" and #if NPCI > 0 around entire 1999-07-03 20:17:08 +00:00
aha The 1542 cards do not allow adapter commands to be queued while mailbox 1999-05-25 20:15:20 +00:00
ahb Move the declaration of the interrupt type from the driver structure 1999-05-08 21:59:43 +00:00
aic7xxx Eliminate a bunch of #include "pci.h" and #if NPCI > 0 around entire 1999-07-03 20:17:08 +00:00
amd First cut at a driver for the amd53c974 PCI SCSI host adapter. This 1999-05-22 21:50:40 +00:00
ar Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
ata slight change in the way we hi-jack the wd drivers cdevsw. 1999-07-17 17:55:53 +00:00
atkbdc - Move the `return' statement the correct place so that the keyboard 1999-07-18 06:16:25 +00:00
bktr Bug fixes 1999-07-12 15:51:50 +00:00
buslogic Eliminate a bunch of #include "pci.h" and #if NPCI > 0 around entire 1999-07-03 20:17:08 +00:00
ccd Use the vn_todev() function, rather than VOP_GETATTR 1999-07-18 14:31:01 +00:00
cs Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
cy Eliminate a bunch of #include "pci.h" and #if NPCI > 0 around entire 1999-07-03 20:17:08 +00:00
de Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
dec Calibrate the processor cycle counter instead of believing what the 1999-05-18 21:24:16 +00:00
dgb Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
dpt Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
ed Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
eisa Add a hook for a bus to detect child devices which didn't find drivers. 1999-07-11 13:42:37 +00:00
en Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
ep 3C574TX 16bit FastEtherlink PC-card support. 1999-07-25 01:20:37 +00:00
ex Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
fb Remove cmaj and bmaj args from DEV_DRIVER_MODULE. 1999-07-04 14:58:56 +00:00
fdc Hack to work around a NULL pointer dereferencation that can be triggered 1999-07-21 12:19:44 +00:00
fe Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
fxp Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
hea Allow configuration of up to 256 network interfaces per physical interface - 1999-05-10 23:02:29 +00:00
hfa This commit should be a extensive NO-OP: 1999-05-30 16:53:49 +00:00
ic Fixed 10 out of 40 lines of -Wcast-qual warnings/errors. 3 lines were 1999-05-13 12:21:41 +00:00
ida Remove cmaj and bmaj args from DEV_DRIVER_MODULE. 1999-07-04 14:58:56 +00:00
ie Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
iicbus Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
isp add in (controlled by option) 2200 Expanded Lun F/W 1999-07-06 05:38:24 +00:00
joy Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
kbd - Move the `return' statement the correct place so that the keyboard 1999-07-18 06:16:25 +00:00
lnc Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
mc146818
mcd Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
mse Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
pccard Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
pcf Move the declaration of the interrupt type from the driver structure 1999-05-08 21:59:43 +00:00
pci Eliminate a bunch of #include "pci.h" and #if NPCI > 0 around entire 1999-07-03 20:17:08 +00:00
pcm/isa Add support for ASound Gold card using the ALS120 1999-05-27 06:12:40 +00:00
pdq Convert the if_fea (DEC FDDI) driver to newbus since it has been broken 1999-07-10 19:46:08 +00:00
ppbus Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
ppc
rc Fixed null setting of `rc_started'. This was fixed for the 1999-06-04 18:53:47 +00:00
rp Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
scd Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
sf Remember to clear the IFF_RUNNING and IFF_OACTIVE flags in sf_stop() and 1999-07-25 05:16:05 +00:00
si Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
sio Remove cmaj and bmaj args from DEV_DRIVER_MODULE. 1999-07-04 14:58:56 +00:00
sk Remember to clear the IFF_RUNNING and IFF_OACTIVE flags in sf_stop() and 1999-07-25 05:16:05 +00:00
smbus Don't clobber the smb cdevsw entry that was installed by the driver 1999-07-06 13:42:43 +00:00
snp Add Id strings 1999-06-17 23:42:45 +00:00
sound/isa Add support for ASound Gold card using the ALS120 1999-05-27 06:12:40 +00:00
speaker Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
sr Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
streams Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
syscons - Clear relevant variables when the keyboard is not available. 1999-07-18 06:16:53 +00:00
ti On FreeBSD/i386, when you use the SYS_RES_MEMORY resource to allocate 1999-07-27 03:54:48 +00:00
tx Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
usb Add comments, change variable names to make them consistent (r -> err, 1999-07-25 18:54:22 +00:00
vinum Modify device numbering method to work with latest -CURRENT. Briefly, 1999-07-22 08:40:37 +00:00
vn Now a dev_t is a pointer to struct specinfo which is shared by all specdev 1999-07-20 09:47:55 +00:00
vr Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
vx Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
wi Correct the alignment of some of the members in the wi_frame structure. 1999-07-20 20:03:42 +00:00
wl Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
xe Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00