opnsense-src/sys/dev
Søren Schmidt 6ddce9039b Major update of the ATA RAID code, part 1:
Overhaul of the attach/detach code and structures, there were some nasty
bugs in the old implementation. This made it possible to collapse the
ATA/ATAPI device control structures into one generic structure.

A note here, the kernel is NOT ready for detach of active devices,
it fails all over in random places, but for inactive devices it works.
However for ATA RAID this works, since the RAID abstration layer
insulates the buggy^H^H^H^H^H^Hfragile device subsystem from the
physical disks.

Proberly detect the RAID's from the BIOS, and mark critical RAID1
arrays as such, but continue if there is enough of the mirror left
to do so.

Properly fail arrays on a live system. For RAID0 that means return EIO,
and for RAID1 it means continue on the still working part of the mirror
if possible, else return EIO.
If the state changes, log this to the console.

Allow for Promise & Highpoint controllers/arrays to coexist on the
same machine. It is not possible to distribute arrays over different
makes of controllers though.

If Promise SuperSwap enclosures are used, signal disk state on the
status LED on the front.

Misc fixes that I had lying around for various minor bugs.

Sponsored by: Advanis Inc.
2002-02-04 19:23:40 +00:00
..
aac Replace ffind_* with fget calls. 2002-01-14 00:13:45 +00:00
acpica Fix irq/drq handling. IRQ and DRQ resource information can be get 2002-01-31 09:18:27 +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 Allow retrieval of the virtual address of the AGP aperture 2001-12-19 08:54:29 +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 Back out the hack from rev 1.13 that was done to initiate a bus rescan 2002-01-17 20:34:58 +00:00
aic7xxx Remove reliance on i++ in multiple arguments to a function. C does not 2001-12-16 17:38:30 +00:00
amd Move unused functions into #if 0 ... #endif. 2001-05-06 08:07:10 +00:00
amr Staticise the amr devclass. 2002-01-08 06:47:02 +00:00
an Staticise the flash buffer, since it isn't needed anywhere else. 2002-01-08 10:25:12 +00:00
ar Move the isa parts to a separate file. 2001-04-16 13:20:39 +00:00
asr Convert C++ style comments to proper C ones. 2001-12-13 23:48:34 +00:00
ata Major update of the ATA RAID code, part 1: 2002-02-04 19:23:40 +00:00
atkbdc Add another PS2 PNP id. 2001-12-19 13:32:21 +00:00
awi Add NEWCARD support to awi. 2001-11-19 06:42:11 +00:00
bge Add support for the Netgear GA302T 10/100/1000 adapter. Given that 2002-01-27 01:00:16 +00:00
bktr Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
buslogic Use ANSI C string contatenation instead of a multi-line string literal. 2001-12-13 11:14:28 +00:00
cardbus Add support for suspending/resuming CardBus bridges. 2001-12-15 05:58:28 +00:00
ccd Reduce kernel stack usage of ccdinit() by MAXPATHLEN by using MALLOC(9). 2001-12-30 17:34:19 +00:00
ciss Fix warning; line 1640: ciss_abort_request defined but not used. 2001-12-18 08:01:48 +00:00
cm - generic Arcnet framework 2002-01-08 20:03:13 +00:00
cnw Use enumeration types for CARD_SET_RES_FLAGS. 2001-05-08 23:57:32 +00:00
cs Migrate to PCMCIA_CARD() macros 2001-11-15 07:52:49 +00:00
ct Added Logitec LHA-301 pnp id. 2001-10-09 15:30:19 +00:00
cy Merged cy_pcireg.h into the one file that uses it (cy_pci.c). 2002-02-02 02:22:51 +00:00
dc Forgot one part of the VLAN support for the dc(4) driver. 2002-01-16 21:34:11 +00:00
de No FreeBSD/vax here either. 2001-11-03 08:32:28 +00:00
dec Introduce a boot environment variable (clock_compat_osf1) which can 2001-11-03 17:22:50 +00:00
dgb Don't call cdevsw_add(). 2001-11-04 09:09:41 +00:00
digi Staticise the con_bios and digi_devclass variables, since they aren't needed 2002-01-08 10:24:34 +00:00
dpt Fix a couple of bogus enums. 2002-01-08 06:47:55 +00:00
ed Add EDIMAX ethernet card for NEWCARD from NetBSD 2002-01-29 07:08:56 +00:00
eisa Unbreak EISA. The PCI-EISA bridge bus is named eisab', not isab'. 2001-02-09 16:33:53 +00:00
em -Remove unneeded include stddef.h 2001-12-20 17:55:49 +00:00
en Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
ep More devices. Obtained from NetBSD. 2001-11-15 07:57:38 +00:00
ex Mechanical change to use <sys/queue.h> macro API instead of 2001-02-04 13:13:25 +00:00
exca Default debugging to OFF now. 2002-02-04 15:55:21 +00:00
fb Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
fdc Change the test for _MACHINE_ARCH == i386 into #ifdef __i386__ since it 2001-12-18 22:16:33 +00:00
fe Supported C-NET(98)P2 PnP mode. 2002-02-04 14:01:27 +00:00
fxp Remove mbuf exhaustion warning messages; these are handled by the 2002-02-04 03:15:27 +00:00
gfb We need to operate on struct thread now, not struct proc. 2001-11-08 01:49:06 +00:00
gx Don't pass an interface pointer to VLAN_INPUT{,_TAG}. Get it from the 2001-12-03 17:28:27 +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 Oops, forgot to commit one file in the fd driver mega update. Here it 2001-12-16 07:52:13 +00:00
ichsmb Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ida Fix a signed bug in the crashdump code for systems with > 2GB of ram. 2001-11-13 01:08:54 +00:00
ie Repo copy i82586.h to dev/ic/i82586.h. 2001-07-02 05:29:58 +00:00
iicbus Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
iir Add the 'iir' driver, for the Intel Integrated RAID controllers and 2002-01-20 08:51:08 +00:00
isp Add missing move of relative offset for CTIO2 updates. 2002-01-11 23:48:25 +00:00
ispfw Roll to latest production level firmware. 2002-01-23 06:42:54 +00:00
joy Revert change that breaks the joy module. joydevclass must not be static. 2002-01-08 18:27:49 +00:00
kbd Refine ACPI/PnP BIOS probe/attach routines a bit. 2001-09-15 04:38:20 +00:00
lge Do not call mii_polltick() immediately after mii_tick(). 2001-09-29 19:31:29 +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
mca - Remove an unused write_ivars function that didn't do anything anyway. 2001-01-19 09:29:34 +00:00
mcd Don't call cdevsw_add(). 2001-11-04 08:58:22 +00:00
md Gah! last commit botched indentation, fix indentation and some other 2002-01-21 20:57:03 +00:00
mii Fix reversed definitions for the bits that select half vs. full duplex. 2002-01-10 18:06:41 +00:00
mlx Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
mly Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
mse KSE Milestone 2 2001-09-12 08:38:13 +00:00
musycc Fix warnings: 2001-06-15 00:19:43 +00:00
ncv Staticise a couple of debugging variables. 2002-01-08 19:37:12 +00:00
nge Don't pass an interface pointer to VLAN_INPUT{,_TAG}. Get it from the 2001-12-03 17:28:27 +00:00
nmdm Don't call cdevsw_add(). 2001-11-04 15:55:17 +00:00
nsp o Add KLD support for scsi_low. 2001-12-15 12:32:23 +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 Move the make_dev call from the cn_probe to a sysinit that runs at 2002-01-09 04:03:55 +00:00
pccard Default debugging to OFF now. 2002-02-04 15:55:21 +00:00
pccbb Default debugging to OFF now. 2002-02-04 15:55:21 +00:00
pcf Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
pci Make PCI_ALLOW_UNSUPPORTED_IO_RANGE an option until the ISA address 2002-01-15 06:46:59 +00:00
pcic Fix missing comma in previous commit. 2001-12-28 23:51:48 +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 Make this driver a better citizen by moving dev creation and 2001-12-19 19:37:31 +00:00
ppc Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
random Staticise the random_state array. 2002-01-10 00:09:21 +00:00
ray Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
rc Change the preemption code for software interrupt thread schedules and 2002-01-05 08:47:13 +00:00
rp Force the RxBuf and TxBuf arrays to be aligned on 16-bit boundaries to 2001-11-05 12:57:46 +00:00
sbni Rename a variable that might accidentally be duplicated elsewhere. 2002-01-08 19:36:54 +00:00
scd Don't call cdevsw_add() 2001-11-04 08:54:15 +00:00
sf Remove printf's on mbuf/cluster allocation failures. There are now 2001-12-14 05:56:35 +00:00
si KSE Milestone 2 2001-09-12 08:38:13 +00:00
sio Add pc98 support. 2002-01-31 08:24:36 +00:00
sk Remove printf's on mbuf/cluster allocation failures. There are now 2001-12-14 05:56:35 +00:00
smbus SMBus support for the AMD 756 power management unit. See smbus(4), 2001-09-16 22:35:07 +00:00
sn Migrate to PCMCIA_CARD() macros 2001-11-15 07:52:49 +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 Check the return value of tsleep() in snpread(). This may be 2001-11-24 15:59:46 +00:00
sound Recent changes to newpcm require that the CHANNEL_SETFORMAT op return 0 2002-01-27 23:09:41 +00:00
speaker Add missing destroy_dev(). 2002-01-23 01:11:52 +00:00
sr Fix clock selection for X.21 interfaces. 2001-02-26 16:30:02 +00:00
stg Staticise a couple of debugging variables. 2002-01-08 19:37:12 +00:00
streams SMP Lock struct file, filedesc and the global file list. 2002-01-13 11:58:06 +00:00
sym Comment tokens after #undef <macroname> and #endif. 2001-12-13 11:12:30 +00:00
syscons In the word selection mode don't append newline if the word ends at the 2002-01-05 16:52:44 +00:00
tdfx Replace ffind_* with fget calls. 2002-01-14 00:13:45 +00:00
tga Add the TGA video driver. This is a great accomplishtment and will help 2001-11-01 08:26:30 +00:00
ti Remove printf's on mbuf/cluster allocation failures. There are now 2001-12-14 05:56:35 +00:00
twe Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
tx Update tx(4) to always enable vlan(4) support. 2001-09-05 23:04:53 +00:00
txp Don't pass an interface pointer to VLAN_INPUT{,_TAG}. Get it from the 2001-12-03 17:28:27 +00:00
usb Follow NetBSD and ANSIfy the function definitions. 2002-02-03 17:03:34 +00:00
vinum Grr. The last commit contained update conflicts. It just goes to 2002-01-29 02:49:15 +00:00
vr Remove printf's on mbuf/cluster allocation failures. There are now 2001-12-14 05:56:35 +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 identify GLPRISM2 PCI WaveLAN/IEEE 802.11 2002-01-31 16:55:13 +00:00
wl KSE Milestone 2 2001-09-12 08:38:13 +00:00
xe Add some seat belts. If we set the error rc, then return it and don't 2001-08-29 05:11:44 +00:00