freebsd-nq/sys/dev
Peter Wemm 7722df0394 This is a bandaid for a problem that is not entirely fixed yet.
The pccard_function_init() call creates a bunch of inactive resources
that are persistant and configured on demand.  When the child driver
"allocates" a resource it is connected up to one of these.  When the
child releases the resource, we should not delete our copy, just
deactivate it again.  Otherwise there is nothing to recreate it again
after several probe functions have run and done an alloc/release cycle.
INVARIANTS shows 0xdeadc0de without this.

More work is needed to do a sweep though the pccard_function_disable()
call to actually delete the resources for real.  Right now, we leak
memory on eject (at best), so Dont Do That(TM) yet.  This affects
16 bit pccards on a cardbus bridge only.  This will be fixed soon, but
for now it gets the cards working.

Reviewed by: imp
2001-01-07 21:32:05 +00:00
..
aac Major bugfix and minor update. This should resolve the current issues 2000-12-27 13:14:56 +00:00
acpica Change Embedded Controller lock to ACPI Global Lock.This is needed for 2001-01-02 05:22:35 +00:00
advansys Remove unneeded <stddef.h> #includes. 2000-10-29 16:57:42 +00:00
agp un-staticize M_AGP so that it can be used in agp*.c 2000-12-19 08:32:37 +00:00
aha Remove unnecessary includes found by phk's script a long time ago. 2000-12-13 06:25:22 +00:00
ahb Add the use of M_ZERO to some malloc calls. 2000-10-29 15:47:16 +00:00
aic Add module dependencies on CAM module. 2000-12-13 05:46:23 +00:00
aic7xxx aic7xxx.c: 2001-01-05 19:15:37 +00:00
amd Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
amr Probe generic i960 devices for the old AMI signature as well as the current 2000-12-22 22:23:56 +00:00
an Fixes to the Aironet driver to clear up some WEP issues. 2000-12-08 19:00:10 +00:00
ar Rewrite of netgraph to start getting ready for SMP. 2001-01-06 00:46:47 +00:00
asr Use M_ZERO. 2000-12-03 13:21:55 +00:00
ata Try better this time at a patch that properly backspeeds on the Acer chips. 2001-01-07 17:00:09 +00:00
atkbdc Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
awi Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
bktr Fix typo in comments 2000-10-31 14:30:29 +00:00
buslogic Classify all EISA cards with major firmware revions '2' as 742As. 2000-11-13 03:44:20 +00:00
cardbus This cannot possibly be right: 2001-01-07 20:52:42 +00:00
ccd Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
cs Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
cy Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
dc Use pci_get_powerstate()/pci_set_powerstate() which now exists in the 2000-12-18 21:53:05 +00:00
de Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
dec Add missing $FreeBSD$ 2000-05-01 19:54:26 +00:00
dgb Changed the copyright notice to BSD-style. The original GPL copyright 2001-01-05 02:12:02 +00:00
dpt Convert all users of fldoff() to offsetof(). fldoff() is bad 2000-10-27 11:45:49 +00:00
ed Minor newbus/style(9) cleanups. 2000-12-26 06:38:04 +00:00
eisa Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
en Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
ep Add the 3COM ID's that I could find in the pccarddevs file that seemed 2001-01-07 21:24:41 +00:00
ex Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
fb Add the VESA S3 linear framebuffer driver. It works on top of VESA by replacing 2001-01-05 16:53:10 +00:00
fdc Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
fe The fe driver does not support pnp devices. 2000-11-10 14:05:47 +00:00
fxp Add power state manipulation to the fxp driver. Some people have 2000-12-18 22:06:12 +00:00
hea Add back some now needed #include <sys/systm.h> 2000-12-07 22:19:06 +00:00
hfa Add back some now needed #include <sys/systm.h> 2000-12-07 22:19:06 +00:00
ic Add $FreeBSD$ 2000-05-01 20:32:07 +00:00
ichsmb Add missing #include. 2000-12-08 00:49:37 +00:00
ida Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
ie Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
iicbus Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
isp Fix problems with incomplete conversions from printf to isp_prt. 2000-12-31 20:50:56 +00:00
ispfw roll to 2.01.26 level 2000-12-28 23:23:28 +00:00
joy Add ADS7182 as a known Joystick. 2000-01-18 08:38:35 +00:00
kbd Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
lmc Rewrite of netgraph to start getting ready for SMP. 2001-01-06 00:46:47 +00:00
lnc The pci and isa drivers were meant to share the same devclass but 2000-12-29 11:59:41 +00:00
mc146818 Add missing $FreeBSD$ 2000-05-01 19:54:26 +00:00
mca Reduce code duplication by using the GET_RESOURCE_LIST bus method and related 2000-11-28 07:12:12 +00:00
mcd Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
md Either cvs(1) or I forgot this file in my last commit. 2001-01-02 09:42:47 +00:00
mii Grrrrr. That last commit was supposed to be to the head, not to -stable 2000-12-12 19:31:14 +00:00
mlx Avoid hardcoding the 'rid' and 'type' of the MEM/IOPORT resource. 2000-11-28 06:17:32 +00:00
mly Further use of M_ZERO. 2000-11-18 15:21:22 +00:00
mse Initiate deorbit burn sequence for <machine/mouse.h>. 2000-10-09 08:08:36 +00:00
musycc *Blush* Fix a dumb typo in previous commit. 2001-01-06 23:36:42 +00:00
ncv Change flags of ncv and nsp driver. Both were conflicted with the flags 2000-10-29 06:54:32 +00:00
nsp Remove conflicts between unsinged char *s and int s. 2001-01-02 10:41:50 +00:00
null Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
ofw OpenFirmware/PowerPC loader, part 2. 2000-11-10 06:39:58 +00:00
pccard This is a bandaid for a problem that is not entirely fixed yet. 2001-01-07 21:32:05 +00:00
pccbb o Now that I've had time to test the new interface, reintegrate it back in. 2001-01-07 16:31:09 +00:00
pcf Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
pci Remove vga_pci generic driver. 2001-01-05 16:40:30 +00:00
pcic o Now that I've had time to test the new interface, reintegrate it back in. 2001-01-07 16:31:09 +00:00
pdq Newbusify the PCI PDQ (fddi) attachment. This isn't as clean as 2001-01-02 09:30:48 +00:00
ppbus Cleanup and improve mode detection. Now, you should get what you actually 2001-01-02 21:29:06 +00:00
ppc Fix the PR. Getting a dma channel equal to 0 remains a problem though. 2000-12-19 21:28:17 +00:00
random Major speedup to /dev/random and the kernel thread that reseeds it. 2000-12-02 18:40:16 +00:00
ray o Now that I've had time to test the new interface, reintegrate it back in. 2001-01-07 16:31:09 +00:00
rc Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
rp Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
scd Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
sf Initialize/grab the mutex earlier in the attach phase, so that 2000-12-04 22:46:50 +00:00
si Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
sio Add OZO8008 - Zoom (33.6k Modem). 2000-12-26 06:52:57 +00:00
sk Initialize/grab the mutex earlier in the attach phase, so that 2000-12-04 22:46:50 +00:00
smbus Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
sn Add isa support: 2000-12-13 01:47:19 +00:00
snc Remove unused #includes. 2000-10-31 08:22:26 +00:00
snp Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
sound Call mixer_hwinit() when attaching. 2001-01-05 07:07:48 +00:00
speaker Staticize some malloc M_ instances. 2000-12-08 20:09:00 +00:00
sr Rewrite of netgraph to start getting ready for SMP. 2001-01-06 00:46:47 +00:00
stg Remove conflicts between unsinged char *s and int s. 2000-12-08 13:50:20 +00:00
streams Cleanup after repo copy of sys/svr4 to sys/compat/svr4. 2000-09-01 08:47:14 +00:00
sym Remove unneeded include of <pci.h> 2000-12-07 20:58:16 +00:00
syscons Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
tdfx Added some handling code to work with SLI configs, and removed some unused 2000-10-10 03:51:54 +00:00
ti Initialize/grab the mutex earlier in the attach phase, so that 2000-12-04 22:46:50 +00:00
twe - add support for crashdumps (courtesy of ps and Y!) 2000-12-03 02:11:35 +00:00
tx Convert more malloc+bzero to malloc+M_ZERO. 2000-12-08 21:51:06 +00:00
usb Rewrite of netgraph to start getting ready for SMP. 2001-01-06 00:46:47 +00:00
vinum Re-commit revision 1.32, which grog incorrectly backed out in revision 1.33. 2000-12-20 11:17:09 +00:00
vn Remove cdevsw when unloading the vn module. 2001-01-07 19:03:14 +00:00
vr Initialize/grab the mutex earlier in the attach phase, so that 2000-12-04 22:46:50 +00:00
vx When I converted this driver, I neglected to deal with packet alignment. 2000-12-07 23:30:51 +00:00
wds Weaken a bogus dependency on <sys/proc.h> in <sys/buf.h> by #ifdef'ing 2000-10-29 14:54:55 +00:00
wi Attempt to read and verify the card's status in wi_stop() before sending it 2000-12-18 23:49:56 +00:00
wl Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
xe Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00