freebsd-skq/sys/pccard
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
..
cardinfo.h add PIOCSRESOURCE(IOC_GET_RESOURCE_RANGE) 2000-09-17 15:37:53 +00:00
cis.h MFPAO3. Improvement of of pccard cis tuple parsing capability. 2000-04-26 15:36:43 +00:00
driver.h Make pccardc beep actually work. The kernel was doing the wrong thing 1999-12-02 19:46:41 +00:00
i82365.h Add support for PnP ISA cards, and some laptop PnP support: 2000-03-10 05:43:29 +00:00
pccard_beep.c Make pccardc beep actually work. The kernel was doing the wrong thing 1999-12-02 19:46:41 +00:00
pccard_nbk.c Implement indirection in the pccard probe/attach. This should make it 2000-09-19 04:39:20 +00:00
pccard_nbk.h Massive rewrite of pccard to convert it to newbus. 1999-10-25 02:41:58 +00:00
pccard.c add PIOCSRESOURCE(IOC_GET_RESOURCE_RANGE) 2000-09-17 15:37:53 +00:00
pcic98reg.h Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
pcic_pci.c Add a detach method to allow this device to be unloaded. 2000-08-30 06:57:38 +00:00
pcic_pci.h Add TI-1031 id. It doesn't work yet, but it is nice to have it. 2000-08-29 04:40:17 +00:00
pcic.c - Remove the inthand2_t type and use the equivalent driver_intr_t type from 2000-09-13 18:33:25 +00:00
pcic.h add PIOCSRESOURCE(IOC_GET_RESOURCE_RANGE) 2000-09-17 15:37:53 +00:00
slot.h Add support for PnP ISA cards, and some laptop PnP support: 2000-03-10 05:43:29 +00:00