summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
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
2006-05-18And we have lift off! Was able to create a filesystem and write to theMarco Peereboom
filesystem. Collapse both completion routines into one. Fixup scsi error reporting in the completion routine.
2006-05-17Add completion routines.Marco Peereboom
Fix some bugs inside the interrupt handler.
2006-05-17Add mfi_get_info to obtain all kinds of fun information from the fw.Marco Peereboom
Print out whole info structure when debug is enabled. Add a nice print with useful info during attach.
2006-05-17Refactor scsi path so that we can have a single sgl function for io and non-ioMarco Peereboom
traffic. Redo parameters on functions that were passing too many parameters around.
2006-05-16Nuke some { }Marco Peereboom
2006-05-16Move !xs->data case into mfi_start_xs.Marco Peereboom
Return proper sense data when a polling command fails.
2006-05-16Fix some more htole32 screw-ups.Marco Peereboom
Colapse all little SCSI functions into a single generic one. Fix a bug in the SGE calculation. This brings the driver up to post: mfi0 at pci12 dev 14 function 0 "Dell PERC SAS" rev 0x00: Dell PERC 5/e irq 5 scsibus3 at mfi0: 2 targets sd1 at scsibus3 targ 0 lun 0: <DELL, PERC 5/E Adapter, 1.00> SCSI5 0/direct fixed sd1: 237824MB, 237824 cyl, 64 head, 32 sec, 512 bytes/sec, 487063552 sec total sd2 at scsibus3 targ 1 lun 0: <DELL, PERC 5/E Adapter, 1.00> SCSI5 0/direct fixed sd2: 34176MB, 34176 cyl, 64 head, 32 sec, 512 bytes/sec, 69992448 sec total
2006-05-16Fix some htole32 I missed.Marco Peereboom
Sprinkle more debug.
2006-05-16only allow setting Jumbo MTU frame sizes with the 8169 chipset.Brad Smith
2006-05-16Add READ CAPACITY.Marco Peereboom
2006-05-16Oops PREREAD not PREWRITE.Marco Peereboom