freebsd-dev/sys/dev
Nate Lawson 693f4477b1 Revise attach/detach resource cleanup
- Unconditionally call *_stop() if device is in the tree. This is to
  prevent callouts from happening after the device is gone. Checks for
  bus_child_present() should be added in the future to keep from touching
  potentially non-existent hardware in *_detach().  Found by iedowse@.
- Always check for and free miibus children, even if the device is not in
  the tree since some failure cases could have gotten here.
- Call ether_ifdetach() in the irq setup failure case
- ti(4), xl(4): move ifmedia_init() calls to the beginning of attach so
  that ifmedia_removeall() can be unconditionally called on detach. There
  is no way to detect whether ifmedia has been initialized without using
  a separate variable (as tl(4) does).
- Add comments to indicate assumptions of code path
2003-04-17 20:32:06 +00:00
..
aac Use bioq_flush() to drain a bio queue with a specific error code. 2003-04-01 15:06:26 +00:00
acpica Add new sysctl MIB (hw.acpi.supported_sleep_state) to indicate 2003-04-11 16:53:56 +00:00
adlink Almost the finished article. 2003-04-08 19:12:48 +00:00
advansys I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
agp - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
aha I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
ahb I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
aic Make sure that pp_name is non-null before setting the device 2003-04-10 04:36:02 +00:00
aic7xxx I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
amd I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
amr Use bioq_flush() to drain a bio queue with a specific error code. 2003-04-01 15:06:26 +00:00
an - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
ar - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
asr Include <sys/ioccom.h> instead of <sys/disklabel.h> 2003-04-16 20:46:30 +00:00
ata Cosmetics. 2003-04-16 08:30:40 +00:00
atkbdc Gigacommit to improve device-driver source compatibility between 2003-03-03 12:15:54 +00:00
awi Make sure that pp_name is non-null before setting the device 2003-04-10 04:36:02 +00:00
bge - Don't call pci_enable_io() in drivers (unless needed for resume). 2003-04-16 03:16:57 +00:00
bktr - Add vm_paddr_t, a physical address type. This is required for systems 2003-03-25 00:07:06 +00:00
buslogic I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
cardbus MFp4: when you can't allocate a resource, print a message, don't panic. 2003-04-08 07:05:16 +00:00
ccd More correct patch: Only call biofinish if we have not already sent 2003-04-14 08:49:54 +00:00
ciss Add support for the HP Smart Array 6400 EM 2003-04-03 20:09:27 +00:00
cm - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
cnw - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
cs - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
ct This file does not <sys/disklabel.h> 2002-09-20 18:15:40 +00:00
cy - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
dc Revise attach/detach resource cleanup 2003-04-17 20:32:06 +00:00
de - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
dec Introduce a boot environment variable (clock_compat_osf1) which can 2001-11-03 17:22:50 +00:00
dgb Make TTYHOG tunable. 2003-03-05 08:16:29 +00:00
digi Make nokqfilter() return the correct return value. 2003-03-03 16:24:47 +00:00
dpt I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
drm - Add vm_paddr_t, a physical address type. This is required for systems 2003-03-25 00:07:06 +00:00
ed - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
eisa Add tunable "hw.eisa_slots" to allow overriding the default number 2002-10-31 00:45:49 +00:00
em - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
en - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
ep Make sure that pp_name is non-null before setting the device 2003-04-10 04:36:02 +00:00
ex - Declare ex_devclass in if_ex.c 2003-03-29 15:38:53 +00:00
exca Massive overhaul of exca to help with the isa efforts: 2003-02-14 06:21:18 +00:00
fb - Add vm_paddr_t, a physical address type. This is required for systems 2003-03-25 00:07:06 +00:00
fdc Use bioq_flush() to drain a bio queue with a specific error code. 2003-04-01 15:06:26 +00:00
fe Make sure that pp_name is non-null before setting the device 2003-04-10 04:36:02 +00:00
firewire MFp4(simokawa_firewire): 2003-04-17 03:38:03 +00:00
fxp Update comment to match reality. 2003-04-16 09:16:55 +00:00
gem - Don't call pci_enable_io() in drivers (unless needed for resume). 2003-04-16 03:16:57 +00:00
gfb - Add vm_paddr_t, a physical address type. This is required for systems 2003-03-25 00:07:06 +00:00
gx - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
hea - Don't call pci_enable_io() in drivers (unless needed for resume). 2003-04-16 03:16:57 +00:00
hfa - Don't call pci_enable_io() in drivers (unless needed for resume). 2003-04-16 03:16:57 +00:00
hifn o add crypto driver glue for using the new rndtest driver/module; this is 2003-03-11 22:47:06 +00:00
hme - Don't call pci_enable_io() in drivers (unless needed for resume). 2003-04-16 03:16:57 +00:00
ic - Clean up function calling conventions. 2003-03-28 06:27:08 +00:00
ichsmb typo. 2002-10-18 12:06:01 +00:00
ida I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
idt - Deal with netisr changes. 2003-03-29 15:55:04 +00:00
ie - Move driver to newbus. 2003-03-29 13:36:41 +00:00
iicbus Update netisr handling; Each SWI now registers its queue, and all queue 2003-03-04 23:19:55 +00:00
iir I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
isp Add an explanatory comment about what operational modes in xfwopt are. 2003-03-25 07:02:45 +00:00
ispfw Roll to latest level. 2003-02-16 01:30:31 +00:00
joy Gigacommit to improve device-driver source compatibility between 2003-03-03 12:15:54 +00:00
kbd Add a a sysctl, hw.kbd.keymap_restrict_change, which acts a bit 2003-03-09 22:49:48 +00:00
lge - Don't call pci_enable_io() in drivers (unless needed for resume). 2003-04-16 03:16:57 +00:00
lmc Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
lnc - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
mc146818
mca Argh, isa(4), eisa(4) and mca(4) now attach to legacy(4) instead of 2002-09-26 18:40:06 +00:00
mcd Don't include <sys/disklabel.h> 2003-04-16 20:57:35 +00:00
md Add a couple of undocumented test options to MD(4) to aid in regression 2003-04-09 11:59:29 +00:00
mii Use __FBSDID rather than rcsid[]. 2003-04-03 21:36:33 +00:00
mk48txx Add a driver back end for the Mostek MK48T02, MK48T08 and MK48T59 2002-04-04 23:44:42 +00:00
mlx Use bioq_flush() to drain a bio queue with a specific error code. 2003-04-01 15:06:26 +00:00
mly Centralize the devstat handling for all GEOM disk device drivers 2003-03-08 08:01:31 +00:00
mpt I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
mse Gigacommit to improve device-driver source compatibility between 2003-03-03 12:15:54 +00:00
musycc Including <sys/stdint.h> is (almost?) universally only to be able to use 2003-03-18 08:45:25 +00:00
my - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
ncv Make sure that pp_name is non-null before setting the device 2003-04-10 04:36:02 +00:00
nge - Don't call pci_enable_io() in drivers (unless needed for resume). 2003-04-16 03:16:57 +00:00
nmdm Make TTYHOG tunable. 2003-03-05 08:16:29 +00:00
nsp o Changes to support NEWCARD. 2002-11-28 01:09:29 +00:00
null Gigacommit to improve device-driver source compatibility between 2003-03-03 12:15:54 +00:00
ofw Use __FBSDID rather than rcsid[]. 2003-04-03 21:36:33 +00:00
pccard Remove bogus line and entry, restore cnet ne2000 add smc 8041 2003-04-10 07:21:11 +00:00
pccbb Don't need to read this config register if we're just going to 2003-04-08 06:54:10 +00:00
pcf Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
pci Return status for PCI methods '{enable,disable}_{io,busmaster}'. 2003-04-16 03:15:08 +00:00
pcic More low-hanging fruit: kill caddr_t in calls to wakeup(9) / [mt]sleep(9). 2003-03-02 16:54:40 +00:00
pdq - Don't call pci_enable_io() in drivers (unless needed for resume). 2003-04-16 03:16:57 +00:00
ppbus Centralize the devstat handling for all GEOM disk device drivers 2003-03-08 08:01:31 +00:00
ppc More low-hanging fruit: kill caddr_t in calls to wakeup(9) / [mt]sleep(9). 2003-03-02 16:54:40 +00:00
pst Instead of not grapping a request binfinish(ENOMEM) it if malloc fails. 2003-04-02 11:36:43 +00:00
puc Correct typos. 2003-04-07 09:42:45 +00:00
raidframe Use bioq_flush() to drain a bio queue with a specific error code. 2003-04-01 15:06:26 +00:00
random Gigacommit to improve device-driver source compatibility between 2003-03-03 12:15:54 +00:00
ray Retire some misleading comments and explain why we need to keep a copy 2003-03-05 18:13:19 +00:00
rc Make TTYHOG tunable. 2003-03-05 08:16:29 +00:00
rndtest FIPS 140-2 rng data tester for h/w crypto devices. This driver periodically 2003-03-11 22:54:44 +00:00
rp Gigacommit to improve device-driver source compatibility between 2003-03-03 12:15:54 +00:00
sab Match "serial" as well as "se". 2003-03-31 18:21:52 +00:00
sbni - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
sbsh cosmetic style fixes 2003-04-15 17:26:28 +00:00
scd Don't include <sys/disklabel.h> 2003-04-16 20:57:35 +00:00
sf Revise attach/detach resource cleanup 2003-04-17 20:32:06 +00:00
si Make TTYHOG tunable. 2003-03-05 08:16:29 +00:00
sio Brucify. 2003-03-18 21:26:28 +00:00
sk Revise attach/detach resource cleanup 2003-04-17 20:32:06 +00:00
smbus Gigacommit to improve device-driver source compatibility between 2003-03-03 12:15:54 +00:00
sn - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
snc - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
snp Gigacommit to improve device-driver source compatibility between 2003-03-03 12:15:54 +00:00
sound Perform warm or cold reset AC97 per the spec depending on state of the 2003-04-17 15:04:11 +00:00
speaker Retire sys/pc98/pc98/spkr.c 2003-03-24 21:01:54 +00:00
sr - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
stg Make sure that pp_name is non-null before setting the device 2003-04-10 04:36:02 +00:00
streams Gigacommit to improve device-driver source compatibility between 2003-03-03 12:15:54 +00:00
sym I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
syscons Catch up with recent events. 2003-03-27 07:37:02 +00:00
tdfx - Add vm_paddr_t, a physical address type. This is required for systems 2003-03-25 00:07:06 +00:00
tga Gigacommit to improve device-driver source compatibility between 2003-03-03 12:15:54 +00:00
ti Revise attach/detach resource cleanup 2003-04-17 20:32:06 +00:00
trm I deserve a big pointy hat for having missed all those references 2003-04-10 23:50:06 +00:00
twe Use bioq_flush() to drain a bio queue with a specific error code. 2003-04-01 15:06:26 +00:00
tx - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
txp - Don't call pci_enable_io() in drivers (unless needed for resume). 2003-04-16 03:16:57 +00:00
ubsec Including <sys/stdint.h> is (almost?) universally only to be able to use 2003-03-18 08:45:25 +00:00
usb - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
vinum Centralize the devstat handling for all GEOM disk device drivers 2003-03-08 08:01:31 +00:00
vr Revise attach/detach resource cleanup 2003-04-17 20:32:06 +00:00
vx - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
wds Don't include <sys/disklabel.h> 2003-04-16 20:57:35 +00:00
wi - Express hard dependencies on bus (pci, isa, pccard) and 2003-04-15 06:37:30 +00:00
wl Get wlread() closer to working. Use m->m_len as the initial value for 2003-04-17 17:51:24 +00:00
xe Make sure that pp_name is non-null before setting the device 2003-04-10 04:36:02 +00:00
zs Note that MAJOR_AUTO is now the default if d_maj is not initialized. This 2003-03-09 11:03:45 +00:00