summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ahci.c
AgeCommit message (Expand)Author
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
2006-12-11pull the wrapper for allocations of dma mem with a single segment in fromDavid Gwynne
2006-12-11oops, too far for the match/attach funcsDavid Gwynne
2006-12-11give the function prototypes a bit more room for the return type.David Gwynne
2006-12-11per port register definitionsDavid Gwynne
2006-12-11fix %b format string now that deraadt fixed printfDavid Gwynne
2006-12-11stash the field showing which ports are hooked up, and dump it if verboseDavid Gwynne
2006-12-11if ahci debug and verbose output is enabled, then dump the cap register.David Gwynne
2006-12-09sigh, split the bus space mapping and interrupt hookup apart so i canDavid Gwynne
2006-12-09reset the hba and set the enable bit.David Gwynne
2006-12-09figure out which revision of ahci we're trying to use and print it out.David Gwynne
2006-12-09split the mapping of the pci resources out of the main attach funcDavid Gwynne
2006-12-09add wrappers for safe access to the register space. stolen from arc (whichDavid Gwynne
2006-12-09add macros for debug shizzDavid Gwynne
2006-12-09bit definitions for the cap and ghc registersDavid Gwynne
2006-12-09registers for hba controlDavid Gwynne
2006-12-09the start of a driver for ahci controllers. this does nothing but map theDavid Gwynne