summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ahci.c
AgeCommit message (Expand)Author
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
2007-02-14%b format string for the GHC register. less whitespace while hereDavid Gwynne
2007-02-06add macros describing the ports interrupt status, interrupt enable, taskDavid Gwynne
2007-01-31macros describing a ports sata status registerDavid Gwynne
2007-01-05macros for the bits in the ports CMD register. free %b fmt string for itDavid Gwynne
2007-01-04use the right variable when finding a ports register window, not one thatDavid Gwynne
2007-01-04stash the dva for each command in the ccb, and program the hardware withDavid Gwynne
2007-01-04fix up some port regs so their names are more in line with what is in theDavid Gwynne
2007-01-04allocate the dmamem that each port will need, and hopefully point ourDavid Gwynne
2007-01-04use ISSET instead of &, cos it looks cleanerDavid Gwynne
2006-12-12small cleanup after feng shuiDavid Gwynne
2006-12-12after allocating the ahci_port bits, stash it in the softc rather thanDavid Gwynne
2006-12-12feng shuiDavid Gwynne
2006-12-12for each port the controller says is hooked up, go and allocate ourDavid Gwynne