summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ahci.c
AgeCommit message (Expand)Author
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
2007-03-05add space for a match and attach routine to the device list, so particularDavid Gwynne
2007-03-05Recognise ATAPI device signatures.Christopher Pascoe
2007-03-04Fix non AHCI_DEBUG build.Christopher Pascoe
2007-03-04Replace empty ahci_ata_{probe,cmd} stubs with ones that do something.Christopher Pascoe
2007-03-04Include port number in debug messages, where appropriate.Christopher Pascoe
2007-03-04Now actually activate ports and try to detect devices.Christopher Pascoe
2007-03-04Save BIOS configured parameters over reset. Always enable staggered spin-up.Christopher Pascoe
2007-03-04Add support for enabling/disabling port activity, and soft/port resets.Christopher Pascoe
2007-03-04Add support for issuing a (polled) command.Christopher Pascoe
2007-03-04Add function to set up Physical Region Descriptor Tables, mostly from dlg@Christopher Pascoe
2007-03-04Oops, remove duplicate prototypes that I mismerged.Christopher Pascoe
2007-03-04Third argument to pci_mapreg_map is the "map type", not "memory type".Christopher Pascoe
2007-03-04Perform separate memory allocations for the RFIS, command list and commandChristopher Pascoe
2007-03-04When freeing port memory, use actual pointer to port rather than random memory.Christopher Pascoe
2007-03-04Add functions to wait for bit changes in port registers.Christopher Pascoe
2007-03-04HBAs by JMICRON have an additional "Controller Control Register" thatChristopher Pascoe
2007-03-04comment members of ahci_cmd_tableDavid Gwynne
2007-03-04pull the prdt into the ahci_cmd_table struct, which gets rid of ahci_cmd.David Gwynne
2007-03-04rename struct ahci_cmd_list to ahci_cmd_hdr to better match the spec andDavid Gwynne
2007-03-04reverse the order of the fields in the %b fmt strings so that they readDavid Gwynne
2007-02-20rename ccb_id to ccb_slot so its more clear what its used for. stash aDavid Gwynne
2007-02-20oops, missed one in the cmd list entryDavid Gwynne
2007-02-20fill some macros for ahci structures. fix a spello while there.David Gwynne
2007-02-19stick atascsi onto ahci, which in turn attaches a scsibus. while thisDavid Gwynne
2007-02-18reorder allocation of the ports resources so register manipulation can beDavid Gwynne
2007-02-17only reset the controller if it is already enabled.David Gwynne