linux/Documentation/DocBook
Sergei Shtylyov 41dec29bcb libata: introduce sff_set_devctl() method
The set of libata's taskfile access methods is clearly incomplete as
it lacks a method to write to the device control register -- which
forces drivers like 'pata_bf54x' and 'pata_scc' to implement more
"high level" (and more weighty) methods like freeze() and postreset().

So, introduce the optional sff_set_devctl() method which the drivers
only have to implement if the standard iowrite8() can't be used (just
like the existing sff_check_altstatus() method) and make use of it
in the freeze() and postreset() method implementations (I could also
have used it in softreset() method but it also reads other taskfile
registers without using tf_read() making that quite pointless);
this makes freeze() method implementations in the 'pata_bf54x' and
'pata_scc' methods virtually identical to ata_sff_freeze(), so we
can get rid of them completely.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2010-05-14 17:35:52 -04:00
..
dvb
v4l Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01:00
.gitignore
alsa-driver-api.tmpl
debugobjects.tmpl
device-drivers.tmpl docbook: fix errors from x86 headers merger 2010-03-03 07:32:39 -08:00
deviceiobook.tmpl docbook: fix errors from x86 headers merger 2010-03-03 07:32:39 -08:00
filesystems.tmpl
gadget.tmpl
genericirq.tmpl
kernel-api.tmpl
kernel-hacking.tmpl
kernel-locking.tmpl
kgdb.tmpl
libata.tmpl libata: introduce sff_set_devctl() method 2010-05-14 17:35:52 -04:00
librs.tmpl
lsm.tmpl
mac80211.tmpl
Makefile
mcabook.tmpl
media-entities.tmpl
media-indices.tmpl
media.tmpl
mtdnand.tmpl tree-wide: Assorted spelling fixes 2010-02-09 11:13:56 +01:00
networking.tmpl
rapidio.tmpl
regulator.tmpl
s390-drivers.tmpl
scsi.tmpl
sh.tmpl
stylesheet.xsl
tracepoint.tmpl Add DocBook documentation for the block tracepoints. 2010-03-09 09:26:04 +01:00
uio-howto.tmpl
usb.tmpl
writing_usb_driver.tmpl
writing-an-alsa-driver.tmpl
z8530book.tmpl