summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ahci.c
AgeCommit message (Expand)Author
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
2007-03-20Change API for struct ata_xfer allocation to move it into the device thatChristopher Pascoe
2007-03-07Implement hardware interrupt handler. For now, detect command completionChristopher Pascoe
2007-03-06Add missing splx in poll path.Christopher Pascoe
2007-03-06Update CCS macro to return the current command slot rather than just beingChristopher Pascoe
2007-03-06big changes to the completion path in ahci.cDavid Gwynne
2007-03-06since we dont overwrite the dva of the cmd_table in the cmd_hdr now, weDavid Gwynne
2007-03-06dont do pointer maths with void *David Gwynne
2007-03-06Apply a SG segment size limit and remove the length check.Christopher Pascoe
2007-03-06No need to continually assign the control table addresses, provided we don'tChristopher Pascoe
2007-03-06dlg@ advises that the bus_space operations will endian convert the DMA baseChristopher Pascoe
2007-03-06Make the 1:1 mapping of command slot to command header/table entriesChristopher Pascoe
2007-03-05add a reminder about the extra attach functionDavid Gwynne