freebsd-dev/sys/dev
Hartmut Brandt 33cfde03bc Convert the midway driver to use busdma. Except for this conversion the
following changes have been done:

- stylify. The original code was too hard to read.
- get rid of a number of compilation options (Adaptec-only, Eni-only, no-DMA).
- more debugging features.
- locking. This is not correct yet in the absence of interface layer locking,
  but is correct enough to not to cause lock order reversals.
- remove RAW mode. There are no users of this in the tree and I doubt that
  there are any.
- remove NetBSD compatibility code. There was no way to keep NetBSD non-busdma
  and FreeBSD busdma code together.
- if_en now buildable as a module.

This has been actively tested on sparc64 and i386 with ENI server and
client cards and an Adaptec card (thanks to kjc).

Reviewed by:	mdodd, arr
2003-04-25 16:14:03 +00:00
..
aac Use bioq_flush() to drain a bio queue with a specific error code. 2003-04-01 15:06:26 +00:00
acpica Add new sysctl MIB (hw.acpi.supported_sleep_state) to indicate 2003-04-11 16:53:56 +00:00
adlink Almost the finished article. 2003-04-08 19:12:48 +00:00
advansys I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
agp - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
aha I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
ahb I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
aic Make sure that pp_name is non-null before setting the device 2003-04-10 04:36:02 +00:00
aic7xxx I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
amd I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
amr Use bioq_flush() to drain a bio queue with a specific error code. 2003-04-01 15:06:26 +00:00
an - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
ar Get rid of kvtop(). 2003-04-23 15:40:11 +00:00
asr Include <sys/ioccom.h> instead of <sys/disklabel.h> 2003-04-16 20:46:30 +00:00
ata Cosmetics. 2003-04-16 08:30:40 +00:00
atkbdc
awi Explicitly declare 'int' parameters. 2003-04-21 16:27:46 +00:00
bge - Don't call pci_enable_io() in drivers (unless needed for resume). 2003-04-16 03:16:57 +00:00
bktr
buslogic I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
cardbus MFp4: when you can't allocate a resource, print a message, don't panic. 2003-04-08 07:05:16 +00:00
ccd More correct patch: Only call biofinish if we have not already sent 2003-04-14 08:49:54 +00:00
ciss Add support for the HP Smart Array 6400 EM 2003-04-03 20:09:27 +00:00
cm - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
cnw - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
cs - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
ct
cy - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
dc Use newly minted device_is_attached rather than device_is_alive to see 2003-04-21 18:34:04 +00:00
de - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
dec
dgb
digi
dpt I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
drm Update the DRM to the latest from DRI CVS. Includes some bugfixes and removal 2003-04-25 01:18:47 +00:00
ed - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
eisa
em Tell the upper layer(s) that we support long frames. 2003-04-18 17:36:13 +00:00
en Convert the midway driver to use busdma. Except for this conversion the 2003-04-25 16:14:03 +00:00
ep Make sure that pp_name is non-null before setting the device 2003-04-10 04:36:02 +00:00
ex - Declare ex_devclass in if_ex.c 2003-03-29 15:38:53 +00:00
exca
fb
fdc Use bioq_flush() to drain a bio queue with a specific error code. 2003-04-01 15:06:26 +00:00
fe Make sure that pp_name is non-null before setting the device 2003-04-10 04:36:02 +00:00
firewire Fix printf warnings for i386 with PAE. 2003-04-24 15:27:06 +00:00
fxp Make fxp(4) INTR_MPSAFE (but do not enable MPSAFE just yet): 2003-04-25 09:01:54 +00:00
gem - Don't call pci_enable_io() in drivers (unless needed for resume). 2003-04-16 03:16:57 +00:00
gfb
gx - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
hea Explicitly declare 'int' parameters. 2003-04-21 16:27:46 +00:00
hfa - Don't call pci_enable_io() in drivers (unless needed for resume). 2003-04-16 03:16:57 +00:00
hifn
hme - Don't call pci_enable_io() in drivers (unless needed for resume). 2003-04-16 03:16:57 +00:00
ic - Clean up function calling conventions. 2003-03-28 06:27:08 +00:00
ichsmb
ida I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
idt - Deal with netisr changes. 2003-03-29 15:55:04 +00:00
ie - Move driver to newbus. 2003-03-29 13:36:41 +00:00
iicbus
iir Import latest changes from the vendor. This also is reported to fix the 2003-04-25 05:37:04 +00:00
isp
ispfw
joy
kbd
lge - Don't call pci_enable_io() in drivers (unless needed for resume). 2003-04-16 03:16:57 +00:00
lmc
lnc - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
mc146818
mca
mcd Don't include <sys/disklabel.h> 2003-04-16 20:57:35 +00:00
md Add a couple of undocumented test options to MD(4) to aid in regression 2003-04-09 11:59:29 +00:00
mii Use __FBSDID rather than rcsid[]. 2003-04-03 21:36:33 +00:00
mk48txx
mlx Use bioq_flush() to drain a bio queue with a specific error code. 2003-04-01 15:06:26 +00:00
mly
mpt I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
mse
musycc
my - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
ncv Make sure that pp_name is non-null before setting the device 2003-04-10 04:36:02 +00:00
nge - Don't call pci_enable_io() in drivers (unless needed for resume). 2003-04-16 03:16:57 +00:00
nmdm
nsp
null
ofw Use __FBSDID rather than rcsid[]. 2003-04-03 21:36:33 +00:00
pccard Add accessor for cis4 string. Neither OLDCARD nor NEWCARD support 2003-04-23 23:32:53 +00:00
pccbb Don't need to read this config register if we're just going to 2003-04-08 06:54:10 +00:00
pcf
pci Add constants for USB programming interfaces. These are already defined 2003-04-23 15:51:36 +00:00
pcic
pdq - Don't call pci_enable_io() in drivers (unless needed for resume). 2003-04-16 03:16:57 +00:00
ppbus
ppc
pst Instead of not grapping a request binfinish(ENOMEM) it if malloc fails. 2003-04-02 11:36:43 +00:00
puc Correct typos. 2003-04-07 09:42:45 +00:00
raidframe Use bioq_flush() to drain a bio queue with a specific error code. 2003-04-01 15:06:26 +00:00
random
ray
rc
rndtest
rp
sab Match "serial" as well as "se". 2003-03-31 18:21:52 +00:00
sbni - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
sbsh cosmetic style fixes 2003-04-15 17:26:28 +00:00
scd Don't include <sys/disklabel.h> 2003-04-16 20:57:35 +00:00
sf Use newly minted device_is_attached rather than device_is_alive to see 2003-04-21 18:34:04 +00:00
si
sio
sk Use newly minted device_is_attached rather than device_is_alive to see 2003-04-21 18:34:04 +00:00
smbus
sn - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
snc - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
snp
sound Comment out the mixer entry for igain for the mic 20dB boost for now since 2003-04-23 16:49:53 +00:00
speaker
sr Use bus_space*() instead of in*() and out*(). 2003-04-23 20:22:32 +00:00
stg Make sure that pp_name is non-null before setting the device 2003-04-10 04:36:02 +00:00
streams
sym I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
syscons
tdfx
tga
ti Use newly minted device_is_attached rather than device_is_alive to see 2003-04-21 18:34:04 +00:00
trm I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
twe Use bioq_flush() to drain a bio queue with a specific error code. 2003-04-01 15:06:26 +00:00
tx Convert the tx(4) driver to use the busdma API. 2003-04-20 18:08:00 +00:00
txp - Don't call pci_enable_io() in drivers (unless needed for resume). 2003-04-16 03:16:57 +00:00
ubsec
usb Regen. 2003-04-21 17:36:03 +00:00
vinum Keep the proc locked while we set PS_INMEM so that either of the proc lock 2003-04-22 19:45:26 +00:00
vr Use newly minted device_is_attached rather than device_is_alive to see 2003-04-21 18:34:04 +00:00
vx - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
wds Don't include <sys/disklabel.h> 2003-04-16 20:57:35 +00:00
wi - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
wl Get wlread() closer to working. Use m->m_len as the initial value for 2003-04-17 17:51:24 +00:00
xe Make sure that pp_name is non-null before setting the device 2003-04-10 04:36:02 +00:00
zs