Platform layer callback for device removalĥ. Initialize a host struct for sas (ipr, libsas) Write SCR register of the specified port and flushĪllocate and init basic ATA host resources Wait for link to become ready after resetĪssociate command with scatter-gather table. Program timings and issue SET FEATURES - XFER
Unpack xfer_mask into pio, mwdma and udma masksįind matching XFER_* for the given xfer_maskĭetermine device type based on ATA-spec signatureĬonvert IDENTIFY DEVICE page into C stringĬompute xfermask from the given IDENTIFY dataįind xfer mode for the specified cycle duration Pack pio, mwdma and udma masks into xfer_mask libata Library ata_link_next -ĭetermine ATAPI command type from SCSI opcodeĬonvert ATA taskfile to SATA FIS structure
Error handling Origins of commands How commands are issued How commands are processed How commands are completed ata_scsi_error() Problems with the current EH 4. libata Driver API struct ata_port_operations Disable ATA port Post-IDENTIFY device configuration Set PIO/DMA mode Taskfile read/write PIO data read/write ATA command execute Per-cmd ATAPI DMA capabilities filter Read specific ATA shadow registers Write specific ATA shadow register Select ATA device on bus Private tuning method Control PCI IDE BMDMA engine High-level taskfile hooks Exception and probe handling (EH) Hardware interrupt handling SATA phy read/write Init and shutdown 3.