summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ahci.c
AgeCommit message (Expand)Author
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
2006-12-12start implementing the bits that allocate the per port structures and theirDavid Gwynne
2006-12-12remember our dma tag. be able to do dma is like, really cool. man.David Gwynne
2006-12-12add functions to get and put ccbs out of each ports command free list.David Gwynne
2006-12-12add wrappers for reading and writing a ports registers called ahci_pread,David Gwynne
2006-12-12introduce the command control blocks, and the concept that they are managedDavid Gwynne
2006-12-12stash the number of commands each port can do in the softcDavid Gwynne
2006-12-11use oct bits consistently in the format string for %b. pointed out byDavid Gwynne
2006-12-11oops, we want to return when everything goes well in ahci_attach, ratherDavid Gwynne
2006-12-11remove the argument to all the port registers that say which port you wantDavid Gwynne
2006-12-11dont stash the implemented ports map, im going to use a differentDavid Gwynne
2006-12-11define the command structs used by the ports.David Gwynne