summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ahci.c
AgeCommit message (Expand)Author
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
2007-03-20Catch failed commands and copy the error taskfile back to the ata_cmd,Christopher Pascoe
2007-03-20Add timeout handling for ATA commands.Christopher Pascoe
2007-03-20Spec says we can't write anything other than the global host control registerChristopher Pascoe
2007-03-20Minor style fixup.Christopher Pascoe
2007-03-20Request "descriptor processed" interrupts only for PIO requests (inquiry,Christopher Pascoe
2007-03-20Calculate the residual and copy it back to the scsi_xfer, so that RW actuallyChristopher Pascoe
2007-03-20Split PRDT unload out into its own function, for symmetry.Christopher Pascoe
2007-03-20Instead of having a copy of every register that we will issue in the ata_cmd,Christopher Pascoe