summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/sili_pci.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a DVACT_WAKEUP op to the *_activate() API. This is called after thederaadt2013-12-061-10/+4
| | | | | | | | kernel resumes normal (non-cold, able to run processes, etc) operation. Previously we were relying on specific DVACT_RESUME op's in drivers creating callback/threads themselves, but that has become too common, indicating the need for a built-in mechanism. ok dlg kettenis, tested by a sufficient amount of people
* Revamp the sequences for suspend/hibernate -> resume so that the codederaadt2012-10-081-1/+4
| | | | | | | | | | paths are reflexive. It is now possible to fail part-way through a suspend sequence, and recover along the resume code path. Split DVACT_SUSPEND by adding a new DVACT_POWERDOWN method is used after hibernate (and suspend too) to finish the job. Some drivers must be converted at the same time to use this instead of shutdown hooks (the others will follow at a later time) ok kettenis mlarkin
* Add DVACT_QUIECE support. This is called before splhigh() and beforederaadt2010-08-311-2/+4
| | | | | | | | DVACT_SUSPEND, therefore DVACT_QUIECE can do standard sleeping operations to get ready. Discussed quite a while back with kettenis and jakemsr, oga suddenly needed it as well and wrote half of it, so it was time to finish it. proofread by miod.
* Suspend/resume support for sili(4). Not perfect yet, but prevents us fromkettenis2010-08-051-2/+23
| | | | getting stuck. Based on an initial diff from deraadt@.
* Match on Adaptec AAR-1225SA, which should work accordingjsg2009-05-131-1/+2
| | | | | | to FreeBSD/Linux drivers. ok dlg@
* sizeofa -> nitemsdlg2008-11-231-2/+2
|
* feng shuidlg2007-11-231-2/+4
|
* sizeofa will give us the number of elements in an array. use it whendlg2007-04-071-2/+2
| | | | iterating over the pci device ids.
* Match even more ids: 3131/3531 and some rebadged Intel/Adaptecjsg2007-04-061-2/+6
| | | | | parts that show up in Linux driver. ok dlg@
* start defining the scatter/gather bits and the port request blocks (PRBs).dlg2007-04-051-1/+4
|
* Match on the 3132 as well.jsg2007-03-311-2/+3
| | | | ok dlg@
* the attach glue now specifies how many ports the chip has.dlg2007-03-311-5/+32
|
* map the global and port register spaces.dlg2007-03-221-26/+36
|
* import sili(4) so it can be worked on in the tree. this will support thedlg2007-03-221-0/+150
silicon image 3124/3132/3531 sata chipsets eventually. so far this is the autoconf glue, an actual match routine for the 3124, and interrupt establishment code. it is split up between pci and ic cos there are cardbus variants of these controllers that we can support in the future. thanks to jolan@ for the name, it was better liked than my initial suggestion of siisl(4).