summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2006-05-29remove some if 0 codeDavid Gwynne
2006-05-29bump mpi up to using 64bit for all dvaDavid Gwynne
2006-05-29Only claim an interrupt if a real interrupt event occured, prevents falseDale Rahn
counts on shared interrupts. Flush the tx data buffer before handing the buffer over to the hardware, fixes tx on arm. ok pval@ looked at by jsg@
2006-05-28junk to read and write configuration pages.David Gwynne
2006-05-28Remove dead code; free commit on behalf of dlg@Uwe Stuehler
2006-05-28pass the reply from the hardware via the ccb rather than on the stack toDavid Gwynne
the function handling the completion. this means that the completion function can do nothing with the reply, instead leaving it up to the requester to deal with.
2006-05-28rename mpi_complete to mpi_poll and make it call mpi_start itself.David Gwynne
2006-05-27add the messages for config page requests and replies.David Gwynne
2006-05-27make debug output during attach quiet unless you want it by raisingDavid Gwynne
mpidebug
2006-05-27garbage collect vlan.hBrad Smith
2006-05-27remove dead codeDavid Gwynne
2006-05-27add mpi(4), an alternative (replacement) driver for lsi logic fusion mptDavid Gwynne
controllers currently supported by mpt(4). ok marco@
2006-05-27remove IFCAP_JUMBO_MTU interface capabilities flag and set if_hardmtu in a fewBrad Smith
more drivers. ok reyk@
2006-05-26rename jumbo mtu to if_hardmtu; ok brad reykTheo de Raadt
2006-05-26Add dlg to copyright.Marco Peereboom
2006-05-26Add blinking for disks.Marco Peereboom
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-25And add time and percentage to builds and check consistencies.Marco Peereboom
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-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-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-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-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-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-20set if_jumbo_mtu and the IFCAP_JUMBO_MTU capabilities flag whereBrad Smith
appropriate. ok reyk@
2006-05-18Remove some debug cruft and pretty up some debug messages.Marco Peereboom
2006-05-18Kill splbio/splx in the interrupt handler.Marco Peereboom