freebsd-dev/sys
Warner Losh e09f49b6fa Fix the hang on card eject problem and maybe the hang on suspend
problem.

o Create new timeout routine so we don't detach the card inside a ISR
  but instead drop back to spl0 via a timeout of 0.
o Actually delete the child of the pccard device rather than just faking
  it badly.
o Fix sio, ed and ep to have pccard detach routines that are int rather
  than void.
o Fix ep and ed pccard detach routines to use if_detach rather than just
  if_down.  if_detach destroys the device, while if_down just marks it
  down.  In this incarnation of the pccard things, we map the disable
  the slot action to detach the driver, which removes the driver from the
  device tree.  When that is done, a panic would soon follow as the
  ifconfig tried to down the device.

Didn't fix:
o Should cache the pccard dev child's pointer in struct slot
o remove now unused parts of struct slot
o Any driver using softc after detach has been called.  sio's softc used
  to be statically allocated, so you could check sc->gone, but that is
  now gone.
o Didn't remove gone from softc of drivers that use the old pccard method.

Didn't test:
o ed driver changes
o sio driver changes on pccards
o suspend (no laptop or apm support on my desktop)
1999-12-01 07:38:54 +00:00
..
alpha dummy version of read_random() until the real random driver is ported. 1999-11-30 23:49:54 +00:00
amd64 Make BOOTP work again. 1999-11-29 18:51:04 +00:00
boot Make the prompt look like on OpenBoot. 1999-11-27 21:44:47 +00:00
cam Don't clear the SA_FLAG_TAPE_LOCKED prior to calling 1999-11-21 20:23:58 +00:00
coda s/p_cred->pc_ucred/p_ucred/g 1999-11-21 12:38:21 +00:00
compat Implement linux_sigaltstack. 1999-11-30 15:02:28 +00:00
compile
conf Add arc4random.c. 1999-11-30 20:18:20 +00:00
contrib Fix a stray (ifdef'ed) reference to a non-existing file. 1999-11-29 13:31:02 +00:00
ddb Remove unused macro definition. 1999-11-02 22:40:15 +00:00
dev Fix the hang on card eject problem and maybe the hang on suspend 1999-12-01 07:38:54 +00:00
fs Collect read and write counts for filesystems. This new code 1999-12-01 02:09:30 +00:00
geom Convert various pieces of code to use vn_isdisk() rather than checking 1999-11-22 10:33:55 +00:00
gnu struct mountlist and struct mount.mnt_list have no business being 1999-11-20 10:00:46 +00:00
i4b Call i4b_l4_drvrdisc, not i4b_l4_disconnect_ind to bring the link 1999-11-28 16:17:01 +00:00
i386 Implement linux_sigaltstack. 1999-11-30 15:02:28 +00:00
isa Fix the hang on card eject problem and maybe the hang on suspend 1999-12-01 07:38:54 +00:00
isofs/cd9660 Next step in the device cleanup process. 1999-11-09 14:15:33 +00:00
kern Separate some common sysctl code into sysctl_find_oid() and calling 1999-12-01 02:25:19 +00:00
libkern In the extremely miniscule chance that read_random returns <= 0, don't try 1999-11-29 19:23:35 +00:00
miscfs Collect read and write counts for filesystems. This new code 1999-12-01 02:09:30 +00:00
modules Update documentation to reflect new functionality. 1999-11-30 07:24:05 +00:00
msdosfs struct mountlist and struct mount.mnt_list have no business being 1999-11-20 10:00:46 +00:00
net Add two new generic control messages, NGM_ASCII2BINARY and 1999-11-30 02:45:32 +00:00
netatalk Change suser_xxx() to suser() where it applies. 1999-04-27 12:21:16 +00:00
netatm Fix a warning (unused variable RCSid) 1999-11-18 08:18:13 +00:00
netgraph Add two new generic control messages, NGM_ASCII2BINARY and 1999-11-30 02:45:32 +00:00
netinet RTFREE the correct route entry in dummynet_io(). The previous 1999-11-26 13:37:09 +00:00
netinet6 Just to avoid warning message about trigraph. 1999-11-30 16:24:36 +00:00
netipx Get rid of the old XNS checksum code and implement it the IPX way. 1999-08-28 18:21:55 +00:00
netkey KAME netinet6 basic part(no IPsec,no V6 Multicast Forwarding, no UDP/TCP 1999-11-22 02:45:11 +00:00
netnatm Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
netncp Change structure field named 'toupper' to 'to_upper' to avoid conflict 1999-11-02 22:46:42 +00:00
netns $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nfs The symlink implementation could improperly return a NULL vp along with 1999-11-30 06:56:15 +00:00
nfsclient The symlink implementation could improperly return a NULL vp along with 1999-11-30 06:56:15 +00:00
nfsserver nm_srtt and nm_sdrtt are arrays[4]. Remove explicit initialization 1999-11-22 04:50:09 +00:00
ntfs Next step in the device cleanup process. 1999-11-09 14:15:33 +00:00
nwfs Remove abuse of struct nameidata. 1999-11-27 17:46:04 +00:00
pc98 - Fixed to support RSB-384/2000/3000. 1999-11-29 13:20:47 +00:00
pccard Fix the hang on card eject problem and maybe the hang on suspend 1999-12-01 07:38:54 +00:00
pci Make the pci driver compat shim return a preference for probe 1999-11-30 01:34:46 +00:00
posix4 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
powerpc Use %ll instead of %q as gcc moans bitterly about it. 1999-11-22 15:23:58 +00:00
rpc $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
svr4 General clean-up of socket.h and associated sources to synchronise up 1999-11-24 20:49:04 +00:00
sys Separate some common sysctl code into sysctl_find_oid() and calling 1999-12-01 02:25:19 +00:00
tools Add usbdevs and friends. 1999-11-18 18:02:44 +00:00
ufs Retire MFS_ROOT and MFS_ROOT_SIZE options from the MFS implementation. 1999-11-26 20:08:44 +00:00
vm Report swapdevices as cdevs rather than bdevs. 1999-11-29 21:37:18 +00:00
Makefile ${MACHINE} -> ${MACHINE_ARCH} 1999-11-14 13:54:44 +00:00