summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ami.c
AgeCommit message (Expand)Author
2007-04-26Improve debug statements. No binary change without AMI_DEBUG.Alexander Bluhm
2007-03-22split userland & kernel struct sensor/sensordev so that the additionTheo de Raadt
2007-01-27convert to our locks to rwlocks.David Gwynne
2006-12-23adapt to new two-level sensor api; Constantine A. MureninTheo de Raadt
2006-11-28give scsi controllers a real attach args to fill in when attaching scsibus.David Gwynne
2006-08-28bzero() the sensor memory after allocating it.Kenneth R Westerback
2006-08-03always call scsi_done at splbio. issue found by pedro@David Gwynne
2006-06-28rewrite how the sensors are created. previously they would wait for io toDavid Gwynne
2006-06-28put proto where it is because dlg says he is a dodoTheo de Raadt
2006-06-27unbreak builds without BIO by moving the sensor setup back under its ifdef.David Gwynne
2006-06-27we can do the sensors without BIODavid Gwynne
2006-06-27we cant do bioctl or sensors on broken controllers since they dont have theDavid Gwynne
2006-06-09Simplify ami_disk by chaging some ifs around.Marco Peereboom
2006-06-09Add percentages for BGI and Rebuild. Example:Marco Peereboom
2006-05-28Remove dead code; free commit on behalf of dlg@Uwe Stuehler
2006-05-26Add dlg to copyright.Marco Peereboom
2006-05-21move the allocation of ccb out of ami_attach into a function of its ownDavid Gwynne
2006-05-21move variable declarations at the start of a block in ami_attach to the topDavid Gwynne
2006-05-21during attach use a static, spartan ccb with ami_poll to query to firmareDavid Gwynne
2006-05-21the maximum possible number of ccbs that a megaraid can use (126 of them)David Gwynne
2006-05-21remove a chunk of code that was ifdefed out due to compat issues withDavid Gwynne
2006-05-21The SCSI command on the passthrough bus is handed to the firmware via aDavid Gwynne
2006-05-12Fix a misreporting bug after bioctl -H is used to create a hotspare. This wasMarco Peereboom
2006-04-26it turns out that a drivers interrupt handler is called at the spl it wasDavid Gwynne
2006-04-25the error path for teh sync cache command should return, not try to blunderDavid Gwynne
2006-04-23Fix an embarrassing pasto that triggered a panic. Reported by henning.Marco Peereboom
2006-04-22Henning reported a crash I can't explain while using the new sensor code.Marco Peereboom
2006-04-21remove the ami_inquire prototype. the function doesnt exist and its notDavid Gwynne
2006-04-20return after goto wont be reached, so remove it. found by lint.David Gwynne
2006-04-20get rid of the ccb list typedef. while here switch to TAILQ_HEAD insteadDavid Gwynne
2006-04-20remove some useless code found by lint.David Gwynne
2006-04-20this is the proper fix for krws bug. i feel kinda bad taking the commitDavid Gwynne
2006-04-19Make sure sc_first_poll is initialized to 0 so sensor_task_threadKenneth R Westerback
2006-04-18Make output in sysctl pretier.Marco Peereboom
2006-04-18Display logical disk status in sysctl. Now one can use sensorsd toMarco Peereboom
2006-04-06the synchronise cache path is unique in ami in that it uses two megaraidDavid Gwynne
2006-04-06kudos to djm for finding an embarrassing bug. using the same variableDavid Gwynne
2006-04-05reintroduce ami_complete, a replacement for ami_poll that is built on topDavid Gwynne
2006-04-03Move scsi_done back under splbio.Marco Peereboom
2006-04-03Since we have a run-queue now lets check it in the isr and get io ontoMarco Peereboom
2006-04-03Silly dlg hz/500 isnt a whole lot. Also removed busy-wait inMarco Peereboom
2006-03-29we never use what the ccb completion functions return, so make them allDavid Gwynne
2006-03-29fix the sync_cache scsi command up so it can run asynchronously using theDavid Gwynne
2006-03-20remove kernel printfs that say "unable to allocate memory" just beforeDavid Gwynne
2006-03-20finer grained use of splbio in the ioctl paths. only use it when dealingDavid Gwynne
2006-03-20shrink the ccb even more. instead of having a "wakeup" member to say whenDavid Gwynne
2006-03-20remove the bits in the ccb for generalised handling of dmaable memory.David Gwynne
2006-03-20switch the mgmt ioctl path to use the ioctl completion function.David Gwynne
2006-03-20move the drv_inq ioctl path to its own completion routine. all the cleanupDavid Gwynne
2006-03-20get rid of the CCB_READY check in ami_start, it is subtly broken and slowsDavid Gwynne