freebsd-nq/sys
Warner Losh 2276cee521 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
..
alpha Remove a few leftover CLBYTES related bits. 2000-09-16 18:28:24 +00:00
amd64 Make LINT compile. 2000-09-16 18:55:05 +00:00
boot Check for the correct minimum version required by the current code. 2000-09-18 22:42:54 +00:00
cam With the help of 'Eric Christeson <echriste@ssesco.com>', determined 2000-09-14 21:38:44 +00:00
coda
compat Fix cut'n'paste bogon. 2000-09-18 17:46:01 +00:00
compile
conf I have no idea how a '#' became a '*'... 2000-09-16 20:45:11 +00:00
contrib/dev Remove SMP hack. 2000-09-16 18:57:18 +00:00
crypto
ddb
dev Implement indirection in the pccard probe/attach. This should make it 2000-09-19 04:39:20 +00:00
fs Ignore attempts to set flags to zero. This quenches a syslog warning 2000-09-18 09:40:01 +00:00
geom
gnu Fixed some serious bugs in ext2_readdir(): 2000-09-12 17:10:39 +00:00
i4b - Remove the inthand2_t type and use the equivalent driver_intr_t type from 2000-09-13 18:33:25 +00:00
i386 Allow the user to make direct BIOS intcalls (via vm86 system) if they 2000-09-19 03:27:31 +00:00
isa - Remove the inthand2_t type and use the equivalent driver_intr_t type from 2000-09-13 18:33:25 +00:00
isofs/cd9660
kern Add new line character to debugging printf's. 2000-09-18 17:03:03 +00:00
libkern Back out previous revision now that sys/random.h is properly fixed. 2000-09-11 19:34:04 +00:00
miscfs Fix a 64-bitism, use size_t instead of u_int for 4th arg to copyinstr. 2000-09-11 05:45:06 +00:00
modules A new driver for PCI:SCSI RAID controllers based on the Adaptec FSA 2000-09-13 03:20:35 +00:00
msdosfs
net Call bpfattach() correctly from if_ppp.c 2000-09-16 14:17:15 +00:00
netatalk
netatm
netgraph Rename "struct session" to "struct sess_con" to avoid conflict with 2000-09-19 03:22:06 +00:00
netinet change the evaluation order of the rsvp socket in rsvp_input() 2000-09-17 13:50:12 +00:00
netinet6 examined the gateway (from the routing table) only when the address 2000-09-15 17:21:35 +00:00
netipx
netkey
netnatm
netncp
netns
nfs
nfsclient
nfsserver
ntfs
nwfs
pc98 Merged from sys/isa/fd.c revision 1.187. 2000-09-15 05:47:56 +00:00
pccard Implement indirection in the pccard probe/attach. This should make it 2000-09-19 04:39:20 +00:00
pci Removed NetBSD support, which bit-rotted long ago. 2000-09-18 21:12:19 +00:00
posix4
powerpc Remove the mtx_t, witness_t, and witness_blessed_t types. Instead, just 2000-09-14 20:15:16 +00:00
rpc
sys Update the prototype for "r_brk" to correspond with the change in 2000-09-18 20:40:32 +00:00
tools
ufs o Disallow privileged processes in jail() from directly accessing 2000-09-18 18:10:13 +00:00
vm - Add a new process flag P_NOLOAD that marks a process that should be 2000-09-15 22:00:23 +00:00
Makefile