summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2006-05-25Move a int i; to top of function so that it compiles on non c99 compilers.Marco Peereboom
Pointed out by miod@ The enclosure id modifier didn't reflect reality so move it back to whatever the raid card uses.
2006-05-25formattingBrad Smith
2006-05-25formatting; ok bradJason Wright
2006-05-25automatic rate control (AMRR) + cosmetic and small fixesDamien Bergamini
2006-05-25And add time and percentage to builds and check consistencies.Marco Peereboom
2006-05-25also provide a seconds-of-progress counter; ok marcoTheo de Raadt
2006-05-25Add a few more volume status values, and a % completion as well, nowTheo de Raadt
that we have a controller which can give more information; ok marco
2006-05-25add LD progress strucutre.Marco Peereboom
Fix ld_details to now use the correct structure.
2006-05-25Add last bit of physcal disk stuff.Marco Peereboom
Remove bogus memset. Hotspares still don't work.
2006-05-25Add physical device and read config structures.Marco Peereboom
Add initial part of BIOCDISK
2006-05-23Replace lockmgr with rwlock; 'i think so' tedu@, ok sturm@Aleksander Piotrowski
2006-05-23- comment out minphys() wrapper which was intended for DMA code, since thereMiod Vallat
is no working DMA support at the moment. - do not define AIC_DEBUG if SMALL_KERNEL. Saves 4KB.
2006-05-23Do not define NCR53C9X_DEBUG if SMALL_KERNEL. Saves 7KB.Miod Vallat
2006-05-23In NCR53C9X_DEBUG code, compute debug values after the values they depend onMiod Vallat
have been computed.
2006-05-23regenBrad Smith
2006-05-23add Myrcicom Z8E.Brad Smith
2006-05-23commited with unused variableTheo de Raadt
2006-05-23Oops mfi in front of struct name, not mdi.Marco Peereboom
2006-05-23Remove some debug cruft.Marco Peereboom
2006-05-23Add first half of physical disk data for bio.Marco Peereboom
2006-05-23according to the Linux 8139cp driver the TTTech MC322 adapter usesBrad Smith
the 8139C+ chipset, so attach with re(4) instead of rl(4). ok dlg@
2006-05-22- fix and prettify SIOP_DEBUGMartin Reindl
- print device name on request sense failure ok krw@
2006-05-22Attach routines can fail before calling *hook_establish(), and theyKenneth R Westerback
often rely on the detach routine for cleanup. So be consistant and careful by checking for a NULL hook before calling *hook_disestablish in detach routines. ok mickey@ brad@ dlg@
2006-05-22Add support for raid 50 and 10 in bio.Marco Peereboom
2006-05-22Warn the user if the powerhook could not be established during attach. ForDavid Gwynne
extra correctness check that it is set before trying to disestablish it at detach. Whether you can detach a pci ohci controller is a separate issue. Inspired by krw@'s change in ohci.c 1.67 for PR #5128. ok krw@
2006-05-22Don't call powerhook_disestablish if there is no powerhook to disestablish.David Gwynne
This is possible if ohci_init fails in attach. Similar to krw@'s fix in ohci.c 1.67 for PR #5128. ok krw@
2006-05-22Expunge all #if defined(__NetBSD__) and #if defined(__FreeBSD__) crud.Kenneth R Westerback
Misused in many cases anyway. ok dlg@
2006-05-22Don't call shutdownhook_disestablish() unless there is a shutdownhookKenneth R Westerback
established. Should fix PR #5128. ok dlg@
2006-05-22In wdcprobe(), directly invoke wdc_do_reset() instead of using the resetMiod Vallat
reset function pointer, as this can cause a NULL pointer dereference on some systems.
2006-05-22Add mail box to mfi_mgmt to handle sub commands more gracefully.Marco Peereboom
Remove some debug crud that snuck in the TEST_UNIT_READY case. Finish other half of BIOCVOL primitive. Add several structures to fill out the BIOCVOL primitive.
2006-05-22Add first half of BIOCVOL primitive.Marco Peereboom
2006-05-21Do a giant flush of disk and raid-card memory when SYNCHONIZE_CACHE is called.Marco Peereboom
2006-05-21pretty up some debug statements.Marco Peereboom
2006-05-21Add bio alarm function.Marco Peereboom
Redo mfi_mgmt to deal with zero data commands.
2006-05-21Replace lockmgr with rwlock; help and ok marco@Aleksander Piotrowski
2006-05-21Add generic management function.Marco Peereboom
Redo ccb_state flags so that we can actually sleep on it. Redo mfi_get_info to use new mgmt function. Add rw_locks for mgmt interface. Make BIOCINQ dynamic.
2006-05-21move the allocation of ccb out of ami_attach into a function of its ownDavid Gwynne
(aptly called ami_alloc_ccbs). allocate the ccbs after the firmware has been queried, but still for the full number of AMI_MAXCMDS. ok krw@
2006-05-21move variable declarations at the start of a block in ami_attach to the topDavid Gwynne
of the function and unindent that block. ok krw@
2006-05-21during attach use a static, spartan ccb with ami_poll to query to firmareDavid Gwynne
for its params. this means we can ask it how many ccbs it can deal with before we allocate them. ok krw@
2006-05-21the maximum possible number of ccbs that a megaraid can use (126 of them)David Gwynne
is preallocated in the softc, even if the driver is only ever going to use one of them when running. this allocates them separately during attach as a first step toward having the driver only allocate as many ccbs as the firmware can support. ok krw@
2006-05-21Add alarm function opcodes.Marco Peereboom
2006-05-21Oops, helps to use the right structure field.Marco Peereboom
Use actual nr of physical disks present.
2006-05-21Add first BIOCINQ primitive.Marco Peereboom
2006-05-21remove a chunk of code that was ifdefed out due to compat issues withDavid Gwynne
older firmwares. it was stagnating and now completely broken. if we need it back then we can poke around in cvs for it.
2006-05-21The SCSI command on the passthrough bus is handed to the firmware via aDavid Gwynne
structure not included in the MegaRAID command, so it needs to be synced before we submit it. Previously this was done only when the SCSI command had an associated data buffer. The syncing of the passthrough command is now done unconditionally. ok krw@ marco@
2006-05-21recognise the perc4/dc firmwareDavid Gwynne
2006-05-20also attach to Broadcom BCM5706C and BCM5708C PHY.Brad Smith
2006-05-20more radiotap.Damien Bergamini
2006-05-20more rx radiotap statsDamien Bergamini
2006-05-20- fix monitor modeDamien Bergamini
- cosmetic in wpi_dma_contig_alloc()