X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Documentation%2FDocBook%2Flibata.tmpl;h=8c5411cfeaf0055b3415542646cdc9b662b28e3f;hb=c8940eca75e6d1ea57f6c491a30bd1023c64c9ad;hp=ff3e5bec1c24509d76f1e1bc8e8d5379c4a54a60;hpb=64a4222f7e087b5030eff0f6e47285696089d983;p=pandora-kernel.git
diff --git a/Documentation/DocBook/libata.tmpl b/Documentation/DocBook/libata.tmpl
index ff3e5bec1c24..8c5411cfeaf0 100644
--- a/Documentation/DocBook/libata.tmpl
+++ b/Documentation/DocBook/libata.tmpl
@@ -81,16 +81,14 @@ void (*port_disable) (struct ata_port *);
- Called from ata_bus_probe() and ata_bus_reset() error paths,
- as well as when unregistering from the SCSI module (rmmod, hot
- unplug).
+ Called from ata_bus_probe() error path, as well as when
+ unregistering from the SCSI module (rmmod, hot unplug).
This function should do whatever needs to be done to take the
port out of use. In most cases, ata_port_disable() can be used
as this hook.
Called from ata_bus_probe() on a failed probe.
- Called from ata_bus_reset() on a failed bus reset.
Called from ata_scsi_release().
@@ -227,6 +225,18 @@ u8 (*sff_check_altstatus)(struct ata_port *ap);
+ Write specific ATA shadow register
+
+void (*sff_set_devctl)(struct ata_port *ap, u8 ctl);
+
+
+
+ Write the device control ATA shadow register to the hardware.
+ Most drivers don't need to define this.
+
+
+
+
Select ATA device on bus
void (*sff_dev_select)(struct ata_port *ap, unsigned int device);
@@ -477,7 +487,7 @@ void (*host_stop) (struct ata_host_set *host_set);
allocates space for a legacy IDE PRD table and returns.
- ->port_stop() is called after ->host_stop(). It's sole function
+ ->port_stop() is called after ->host_stop(). Its sole function
is to release DMA/memory resources, now that they are no longer
actively being used. Many drivers also free driver-private
data from port at this time.