freebsd-skq/sys/dev
imp 222e32bc49 Implement indirection in the pccard probe/attach. This should make it
possible to have different probe/attach semantics between the two
systems and yet still use the same driver for both.

Compatibility methods for OLDCARD drivers.  We use these routines to make
it possible to call the OLDCARD driver's probe routine in the context that
it expects.  For OLDCARD these are implemented as pass throughs to the
device_{probe,attach} routines.  For NEWCARD they are implemented such
such that probe becomes strictly a matching routine and attach does both
the old probe and old attach.

compat devices should use the following:

	/* Device interface */
	DEVMETHOD(device_probe),	pccard_compat_probe),
	DEVMETHOD(device_attach),	pccard_compat_attach),
	/* Card interface */
	DEVMETHOD(card_compat_match,	foo_match),	/* newly written */
	DEVMETHOD(card_compat_probe,	foo_probe),	/* old probe */
	DEVMETHOD(card_compat_attach,	foo_attach),	/* old attach */

This will allow a single driver binary image to be used for both
OLDCARD and NEWCARD.

Drivers wishing to not retain OLDCARD compatibility needn't do this.

ep driver minorly updated.

sn driver updated more than minorly.  Add module dependencies to allow
module to load.  Also change name to if_sn.  Add some debugging code.
attempt to fix the cannot allocate memory problem I'd been seeing.
Minor formatting nits.
2000-09-19 04:39:20 +00:00
..
aac Include <sys/proc.h> so that we can dereference something in the proc 2000-09-19 00:35:03 +00:00
acpi Add acpi_send_pm_event() to inform all devices that the system is 2000-09-14 23:29:37 +00:00
advansys Fix typo (accessable --> accessible). 2000-06-14 17:53:40 +00:00
agp Add support for Intel's i810 chipset with integrated graphics. An 2000-07-12 10:13:07 +00:00
aha Fix typo (accessable --> accessible). 2000-06-14 17:53:40 +00:00
ahb Fix typo (accessable --> accessible). 2000-06-14 17:53:40 +00:00
aic Terminate aic_ids[] 2000-06-19 22:16:14 +00:00
aic7xxx Today is just not my day. Really get the right file. 2000-09-16 21:55:31 +00:00
amd Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
amr Whoops. The AMR_QUARTZ_GOFASTER option is meant to disable, not enable 2000-09-11 23:19:13 +00:00
an MF4: fix style(9) whitespace breakage. 2000-08-08 23:53:11 +00:00
ar Mass update of isa drivers using compatability shims to use 2000-05-28 13:40:48 +00:00
asr Move the 'asr' driver to cdev major 154, since 97 is already taken. 2000-09-01 21:14:17 +00:00
ata Only read to the end of the select track. 2000-09-18 12:13:32 +00:00
atkbdc * Completely rewrite the alpha busspace to hide the implementation from 2000-08-28 21:48:13 +00:00
awi Bite the bullet and provde memcmp() and memset(), this will be cheaper 2000-09-02 13:34:52 +00:00
bktr Make MOD_UNLOAD return EBUSY to prevent it being unloaded automatically when we 2000-09-11 12:23:50 +00:00
buslogic Fix typo (accessable --> accessible). 2000-06-14 17:53:40 +00:00
cardbus
ccd Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
cs Make all Ethernet drivers attach using ether_ifattach() and detach using 2000-07-13 22:54:34 +00:00
cy Make LINT link. 2000-09-16 19:04:24 +00:00
dc Special-case the LED twiddling code so that it doesn't do anything 2000-09-07 18:51:04 +00:00
de Make all Ethernet drivers attach using ether_ifattach() and detach using 2000-07-13 22:54:34 +00:00
dec
dgb Mass update of isa drivers using compatability shims to use 2000-05-28 13:40:48 +00:00
dpt Allow the DPT pci attachment to share IRQ's 2000-08-26 22:19:53 +00:00
ed Move the detection of Linksys PCMCIA cards from attach to probe. 2000-09-12 11:03:12 +00:00
eisa Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
en Replace the mbuf external reference counting code with something 2000-08-19 08:32:59 +00:00
ep Implement indirection in the pccard probe/attach. This should make it 2000-09-19 04:39:20 +00:00
ex Make all Ethernet drivers attach using ether_ifattach() and detach using 2000-07-13 22:54:34 +00:00
fb * Completely rewrite the alpha busspace to hide the implementation from 2000-08-28 21:48:13 +00:00
fdc Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
fe Use driver_intr_t instead of the now defunct inthand2_t. 2000-09-15 19:09:15 +00:00
fxp Removed NetBSD support, which bit-rotted long ago. 2000-09-18 21:12:19 +00:00
hea
hfa
ic
ida The DEC version of the Smart controller has its configuration information 2000-07-27 22:24:44 +00:00
ie Make all Ethernet drivers attach using ether_ifattach() and detach using 2000-07-13 22:54:34 +00:00
iicbus Allow these drivers to be detached. 2000-06-16 07:20:29 +00:00
isp Per msmith's request, don't attach to Qlogic 12160 id'd cards that have 2000-09-07 20:27:40 +00:00
ispfw Roll back target mode f/w to 7.55- 7.65 hangs when presented with a 2000-07-17 00:34:52 +00:00
joy
kbd Add the ability to define a "shutdown" and "shutdown and poweroff" key 2000-09-11 20:37:42 +00:00
lmc
lnc Make all Ethernet drivers attach using ether_ifattach() and detach using 2000-07-13 22:54:34 +00:00
mc146818
mca
mcd Mass update of isa drivers using compatability shims to use 2000-05-28 13:40:48 +00:00
md Avoid the modules madness I inadvertently introduced by making the 2000-09-02 19:17:34 +00:00
mii Added Altima Communications OUI and their AC101 10/100 2000-06-21 19:26:01 +00:00
mlx Add support for 2.x/3.x firmware adapters which are too old to have a 2000-08-04 06:52:00 +00:00
mly This is the initial import of a new driver for the current family of 2000-08-23 03:22:41 +00:00
mse
musycc Many and sundry changes. Still alpha quality. 2000-08-29 12:32:01 +00:00
null Small style change; make function names less likely to clash with 2000-07-09 12:29:24 +00:00
nulldev Small style change; make function names less likely to clash with 2000-07-09 12:29:24 +00:00
pccard Implement indirection in the pccard probe/attach. This should make it 2000-09-19 04:39:20 +00:00
pcf
pci Add PCIM_CMD_MWRICEN, the bit in the command register in PCI space 2000-09-16 20:06:13 +00:00
pcic Add comment about why the deletion of children is necessary in detach. 2000-08-30 06:56:03 +00:00
pdq Uh, ya, sure this almost compiled for __bsdi__. NOT! 2000-05-21 05:33:40 +00:00
ppbus Remove an unused variable warning. 2000-07-18 20:16:36 +00:00
ppc Add support for the PC87303 chipset (found on Miata alphas) and add 2000-07-20 09:28:07 +00:00
random Include <sys/proc.h> to silence suser() compiler warning. 2000-09-18 20:42:04 +00:00
randomdev Include <sys/proc.h> to silence suser() compiler warning. 2000-09-18 20:42:04 +00:00
ray Add attribute memory setup warnings 2000-07-11 21:31:59 +00:00
rc Mass update of isa drivers using compatability shims to use 2000-05-28 13:40:48 +00:00
rp Fix a bug upon initialization. (_INDX_ADDR -> _INDX_DATA) 2000-08-21 13:18:56 +00:00
scd Mass update of isa drivers using compatability shims to use 2000-05-28 13:40:48 +00:00
sf Close PR# 19904: remember to call sf_setmulti() when initializing the 2000-07-14 19:11:02 +00:00
si
sio - Remove the inthand2_t type and use the equivalent driver_intr_t type from 2000-09-13 18:33:25 +00:00
sk Replace the mbuf external reference counting code with something 2000-08-19 08:32:59 +00:00
smbus
sn Implement indirection in the pccard probe/attach. This should make it 2000-09-19 04:39:20 +00:00
snp
sound Since the unit number of a midi/sequencer device is expressed in 4 2000-09-18 10:17:38 +00:00
speaker Add PnP probe methods to some common AT hardware drivers. In each case, 2000-06-23 07:44:33 +00:00
sr Mass update of isa drivers using compatability shims to use 2000-05-28 13:40:48 +00:00
streams Cleanup after repo copy of sys/svr4 to sys/compat/svr4. 2000-09-01 08:47:14 +00:00
sym PR: kern/20895 2000-09-03 12:36:21 +00:00
syscons Add the ability to define a "shutdown" and "shutdown and poweroff" key 2000-09-11 20:37:42 +00:00
tdfx Removed detection for Voodoo Banshee and Voodoo3 cards. I forsee certain 2000-08-28 04:28:53 +00:00
ti * Completely rewrite the alpha busspace to hide the implementation from 2000-08-28 21:48:13 +00:00
twe Remove some confusing verbosity - we have no idea what RAID level the 2000-07-20 02:31:56 +00:00
tx Make all Ethernet drivers attach using ether_ifattach() and detach using 2000-07-13 22:54:34 +00:00
usb Add support for D-Link DSB-650 USB ethernet adapter. 2000-09-06 19:35:01 +00:00
vinum open_drive: 2000-08-16 04:31:37 +00:00
vn Add snapshots to the fast filesystem. Most of the changes support 2000-07-11 22:07:57 +00:00
vr Make all Ethernet drivers attach using ether_ifattach() and detach using 2000-07-13 22:54:34 +00:00
vx Make all Ethernet drivers attach using ether_ifattach() and detach using 2000-07-13 22:54:34 +00:00
wi Close PR #20963. Do not pass encryption keys back to the caller via 2000-09-07 17:05:12 +00:00
wl Make all Ethernet drivers attach using ether_ifattach() and detach using 2000-07-13 22:54:34 +00:00
xe Make all Ethernet drivers attach using ether_ifattach() and detach using 2000-07-13 22:54:34 +00:00