summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ahci.c
AgeCommit message (Expand)Author
2007-11-28the ccb lists protect themselves, so we dont have to check if we're atDavid Gwynne
2007-11-28make ata controllers protect their own command lists so atascsi doesnt haveDavid Gwynne
2007-11-26drive port probes from the scsi midlayer now that it will ask the adapterDavid Gwynne
2007-11-19When ignoring whether FR turns on or not, we should still set FRE,Christopher Pascoe
2007-11-05recognise (and use) ahci 1.2 controllers.David Gwynne
2007-11-04when the ati ahci stuff is in the ide compat mode, it can sometimes causeDavid Gwynne
2007-10-27work around a chip bug on the ati ixp600 ahci controller. diff mostly fromDavid Gwynne
2007-10-01More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...' whereKenneth R Westerback
2007-07-03join ahci attach code back together into one function.David Gwynne
2007-07-03jmb pretends to be pci now, so i dont need to let it see ahci_softc so itDavid Gwynne
2007-07-02kettenis suggested that i can use pci_intr_map twice on the same deviceDavid Gwynne
2007-07-02dont attach on jmicron parts now that jmb(4) does that for us.David Gwynne
2007-07-02move ahci_softc and the prototype for ahci_attach into a header so otherDavid Gwynne
2007-07-02pull ahci_attach apart slightly to accommodate attaching ahci(4) to thingsDavid Gwynne
2007-06-29when we attach to the jmicron controllers, whack their configuration aroundDavid Gwynne
2007-06-29demystify a little more of the jmicron pci control registersDavid Gwynne
2007-06-29define away some of the magic on jmicron controllersDavid Gwynne
2007-06-12Use SATA_SIGNATURE_ATAPI constant instead of a magic number.Alexander Yurchenko
2007-05-30my (dlg says crappy) laptop requires some more delays in port_reset orTed Unangst
2007-05-10remove and hide code that isn't used.David Gwynne
2007-04-22mark the ccb used for error handling as complete when it completes. thisDavid Gwynne
2007-04-22unload the dmamap of the ccb used in ncq error handling once we've finishedDavid Gwynne
2007-04-22prettier debug, if it is ever re-enabled, ok dlgTheo de Raadt
2007-04-21disable ahci debug output. ahci is working on the majority of chipsets,David Gwynne
2007-04-08Whitespace/long line fixups. No code change.Christopher Pascoe
2007-04-08Add compile-time support for coalescing command interrupts to reduce theChristopher Pascoe
2007-04-06Wait until we have idled the port before obtaining the error CCB, so asChristopher Pascoe
2007-04-02Read log page 10h to determine the NCQ error, instead of aborting allChristopher Pascoe
2007-03-31re-blacklist the via vt8251, there's still something fishy..Jasper Lievisse Adriaanse
2007-03-31reenable the via 8251 sata chipset. jasper proved it can work if we dontDavid Gwynne
2007-03-30the VT8251 SATA says it is ahci, but we aren't ready for it. we need toDavid Gwynne
2007-03-29Avoid leaking a ccb in error paths.Christopher Pascoe
2007-03-29Correct some minor whitespace issues.Christopher Pascoe
2007-03-28While we are determining which NCQ command failed, we will need to ensureChristopher Pascoe
2007-03-28Due to a logic inversion, we would error out any commands that had completedChristopher Pascoe
2007-03-28Improve output of some debugging messages.Christopher Pascoe
2007-03-28Some more safety checks on ccb state.Christopher Pascoe
2007-03-27attach ahci based on the pci class and interface fields, not just on aDavid Gwynne
2007-03-23Turn AHCI_DEBUG back on for now, so we can see if any commands are timingChristopher Pascoe
2007-03-23Track the ATA xfer's state more closely - may help us identify why someChristopher Pascoe
2007-03-22Let atascsi issue NCQ commands if the controller supports it.Christopher Pascoe
2007-03-21NCQ commands generate a "Set Device Bits" FIS upon completion. Enable theChristopher Pascoe
2007-03-21Add support for issuing NCQ commands via AHCI.Christopher Pascoe
2007-03-21dont print if there is a device found or not, you can figure that out byDavid Gwynne
2007-03-21replace the array of u_int8_ts for the fis/registers with a struct to makeDavid Gwynne
2007-03-21For now, reserve one opening so we always have a CCB free to issue a softChristopher Pascoe
2007-03-20Use ALLOCNOW flag when creating PRDT dmamap, otherwise it could fail duringChristopher Pascoe
2007-03-20Our timeout and error handlers complete the commands for us, so we shouldChristopher Pascoe
2007-03-20commit the rest of the jmicron ids. jsg has been trying to get me to addDavid Gwynne
2007-03-20Add support for ATA PACKET commands. This should make ATAPI cdrom drives,Christopher Pascoe