freebsd-nq/sys/dev
Dima Dorfman 26a0ee75c6 Introduce a force option, MD_FORCE, that instructs the driver to
bypass some extra anti-foot-shooting measures.  Currently, its only
effect is to allow detaching a device while it's still open (e.g.,
mounted).  This is useful for testing how the system reacts to a disk
suddenly going away, which can happen with some removeable media.

At this point, the force option is only checked on detach, so it
would've been possible to allow the option to be passed with the
MDIOCDETACH operation.  This was not done to allow the possibility of
having the force flag influence other tests in the future, which may
not necessarily deal with detaching the device.

Reviewed by:	sobomax
Approved by:	phk
2001-08-07 19:23:16 +00:00
..
aac Adding missing () in a KASSERT format string. 2001-08-07 16:48:28 +00:00
acpica The Intel 440MX ACPI timer seems to work properly, so add it to the list 2001-08-05 23:20:32 +00:00
advansys Restore I/O port resources to the condition before adv_isa_probe() is 2001-05-06 09:28:18 +00:00
agp Make these compile again by adding proc.h include for GIANT_REQUIRED 2001-07-05 21:28:47 +00:00
aha Turn on interrupt-entropy harvesting for all/any mass storage devices 2001-03-01 17:09:09 +00:00
ahb Turn on interrupt-entropy harvesting for all/any mass storage devices 2001-03-01 17:09:09 +00:00
aic Merged from sys/dev/aic/aic_isa.c revision 1.8. 2001-06-26 11:35:46 +00:00
aic7xxx aic7xxx.c: 2001-08-05 22:20:12 +00:00
amd Move unused functions into #if 0 ... #endif. 2001-05-06 08:07:10 +00:00
amr Fix warning: 179: warning: label `done' defined but not used 2001-06-15 00:09:28 +00:00
an Add PCI ID for Cisco Aironet 350 Series cards. The patch differs 2001-08-06 23:14:16 +00:00
ar Move the isa parts to a separate file. 2001-04-16 13:20:39 +00:00
asr Fix probing on the alpha. It still causes the alpha to panic during 2001-04-03 00:26:34 +00:00
ata Disallow ATAPI CD transfers that are not a multiple of the device block 2001-07-29 21:01:13 +00:00
atkbdc Return consistent key action codes at key press and release 2001-07-20 13:05:57 +00:00
awi The information about how to integrate this driver into BSDs is obsoleted, 2001-06-26 13:15:14 +00:00
bktr Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
buslogic Add code, imperfect though it may be, for CAM_NEW_TRAN_CODE compilation. 2001-07-04 05:01:21 +00:00
cardbus Use bus_space when reading CIS. This allows us to access it in 8 bit 2001-06-05 23:42:51 +00:00
ccd Polish error handling with biofinish(). 2001-05-08 09:10:27 +00:00
cnw Use enumeration types for CARD_SET_RES_FLAGS. 2001-05-08 23:57:32 +00:00
cs Additional enhancments to allow IBM Etherjet cards to be probed, 2001-02-23 08:08:21 +00:00
ct Catch up with NetBSD/pc98. 2001-07-14 00:38:51 +00:00
cy Remove unneeded includes of sys/ipl.h and machine/ipl.h. 2001-05-15 23:22:29 +00:00
dc Deal with the condition where we lose link in the middle of transmitting 2001-07-12 22:51:59 +00:00
de Remove some unused stuff 2001-03-25 07:21:04 +00:00
dec Fix a botch where we wrote the year register with > 2 digits (and 2001-03-09 20:39:02 +00:00
dgb Fairwell dgm 2001-06-27 21:40:28 +00:00
digi Allow individual ports to use alternate pin settings (swap dsr & cd) 2001-06-20 14:52:08 +00:00
dpt Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
ed Add a few missing spl calls in preparation for an MFC of the miibus 2001-07-22 21:39:54 +00:00
eisa Unbreak EISA. The PCI-EISA bridge bus is named eisab', not isab'. 2001-02-09 16:33:53 +00:00
en Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
ep Commit part of the patch that I have for card eject problems with the 2001-06-05 22:29:16 +00:00
ex Mechanical change to use <sys/queue.h> macro API instead of 2001-02-04 13:13:25 +00:00
fb Include opt_splash.h. 2001-08-02 13:23:17 +00:00
fdc Hrmpf. nyan's rev 1.25 commit to fdc.h crossed with my removal of it. 2001-07-14 20:28:02 +00:00
fe Fixed to support C-NET(9N)E. 2001-07-02 10:14:57 +00:00
fxp Reset the device's powerstate to d0 when resuming from a suspend 2001-07-25 18:00:17 +00:00
hea Fix typo: seperate -> separate. 2001-02-06 11:21:58 +00:00
hfa Applied the patch to fix HARP ATM that was broken when KAME IPv6 came 2001-06-20 17:09:14 +00:00
ic Moved the wd33c93 specific file to sys/dev/ic. 2001-06-14 11:05:48 +00:00
ichsmb Catch up to header include changes: 2001-03-28 09:17:56 +00:00
ida Fix warning: 186: warning: label `done' defined but not used 2001-06-15 07:26:39 +00:00
ie Repo copy i82586.h to dev/ic/i82586.h. 2001-07-02 05:29:58 +00:00
iicbus Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
isp Oops- don't set 'goal' twice when you mean to set 'nvrm' as well. 2001-08-02 00:34:56 +00:00
ispfw update to latest and greatest f/w 2001-02-11 03:35:45 +00:00
joy Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
kbd Fix typo; the meaning of the 3rd parameter to genkbd_keyaction() is 2001-07-20 14:49:54 +00:00
lge Apply patch supplied by Jonathan Chen: use the correct arguments to 2001-07-09 17:58:42 +00:00
lmc Fix typo: seperate -> separate. 2001-02-06 11:21:58 +00:00
lnc - Don't overwrite inb, inw and outw. 2001-07-04 13:00:21 +00:00
mc146818 Add missing $FreeBSD$ 2000-05-01 19:54:26 +00:00
mca - Remove an unused write_ivars function that didn't do anything anyway. 2001-01-19 09:29:34 +00:00
mcd Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
md Introduce a force option, MD_FORCE, that instructs the driver to 2001-08-07 19:23:16 +00:00
mii Quiet a variable format-string warning. 2001-07-19 02:16:24 +00:00
mlx Driver modifications consistent with my other drivers to facilitate 2001-06-25 04:32:31 +00:00
mly Fix typo (* -> &) 2001-07-26 02:20:47 +00:00
mse Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
musycc Fix warnings: 2001-06-15 00:19:43 +00:00
ncv Catch up with NetBSD/pc98. 2001-07-14 00:38:51 +00:00
nge IFT_8021_VLAN -> IFT_L2VLAN per if_vlan_var.h rev 1.9. With this change 2001-07-25 00:19:59 +00:00
nmdm Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
nsp Catch up with NetBSD/pc98. 2001-07-14 00:38:51 +00:00
null Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
ofw Make the openfirmware functions work on 64 bit architectures by using 2001-07-31 03:36:26 +00:00
pccard null_do_probe: mark as unused 2001-07-21 17:10:30 +00:00
pccbb Fix warning message. 2001-06-30 03:57:20 +00:00
pcf Remove unneeded #include <machine/clock.h> 2000-10-15 14:19:01 +00:00
pci Fix reversed arguments to pci_write_config() 2001-06-03 09:45:40 +00:00
pcic Add PC-9821RA-E01. This appears that PC-9821 Ra20 has this either 2001-06-16 06:10:53 +00:00
pdq Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
ppbus Translate various ppbus sequences into microsequences to limit 2001-06-23 06:51:52 +00:00
ppc Convert inb/outb to bus_space. 2001-06-23 06:52:54 +00:00
random Fix type warnings. 2001-07-20 08:58:04 +00:00
ray Primary purpose of this commit is to enable support for the Aviator 2001-05-17 22:23:49 +00:00
rc Remove unneeded includes of sys/ipl.h and machine/ipl.h. 2001-05-15 23:22:29 +00:00
rp Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
scd Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
sf Apply patch supplied by Jonathan Chen: use the correct arguments to 2001-07-09 17:58:42 +00:00
si Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
sio The serial console break-to-debugger support only functioned while 2001-06-20 16:47:23 +00:00
sk Apply patch supplied by Jonathan Chen: use the correct arguments to 2001-07-09 17:58:42 +00:00
smbus Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
sn Kill debug output for sn device. It is confusing the natives 2001-08-04 05:27:52 +00:00
snc Convert if_multiaddrs from LIST to TAILQ so that it can be traversed 2001-02-06 10:12:15 +00:00
snp Move the kernel stuff out of snoop.h. It was only there because some 2001-07-25 14:47:56 +00:00
sound Set up the via_chinfo structures properly so we write to the correct 2001-08-02 22:13:10 +00:00
speaker Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
sr Fix clock selection for X.21 interfaces. 2001-02-26 16:30:02 +00:00
stg Catch up with NetBSD/pc98. 2001-07-14 00:38:51 +00:00
streams Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
sym s/adress/address/ 2001-07-23 12:05:27 +00:00
syscons Don't call wakeup() while we are in DDB. The patch was 2001-08-07 11:51:26 +00:00
tdfx Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
ti IFT_8021_VLAN -> IFT_L2VLAN per if_vlan_var.h rev 1.9. With this change 2001-07-25 00:19:59 +00:00
twe Typo fix: fasion -> fashion 2001-07-23 11:03:48 +00:00
tx Add initializetion of NVCTL register with EEPROM stored value. 2001-06-23 19:30:26 +00:00
txp Re-order things slightly in the RX handler for VLAN support: we need 2001-07-31 16:38:58 +00:00
usb Return consistent key action codes at key press and release 2001-07-20 13:05:57 +00:00
vinum open_device: Recognize ar device. 2001-08-01 04:35:28 +00:00
vr Apply patch supplied by Jonathan Chen: use the correct arguments to 2001-07-09 17:58:42 +00:00
vx Quiet a variable format-string warning. 2001-07-19 02:16:24 +00:00
wds Turn on interrupt-entropy harvesting for all/any mass storage devices 2001-03-01 17:09:09 +00:00
wi Currently, each wireless networking driver has it's own control program 2001-05-26 09:27:08 +00:00
wl Minor style(9) changes before I get going. 2001-07-02 06:12:59 +00:00
xe Convert if_multiaddrs from LIST to TAILQ so that it can be traversed 2001-02-06 10:12:15 +00:00