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/DVB (13164): DocBook/dvb: Starts documenting DVBS2API ioctls 2009-12-05 18:40:40 -02:00
v4l Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01:00
.gitignore documentation: ignore byproducts from latex 2009-04-02 19:04:53 -07:00
alsa-driver-api.tmpl ALSA: Move ALSA docbooks to be with the rest of the kernel docbooks 2009-03-09 15:22:59 +01:00
debugobjects.tmpl debugfs: Fix terminology inconsistency of dir name to mount debugfs filesystem. 2009-06-15 21:30:28 -07:00
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 docbook: move pipe and splice to filesystems docbook 2008-02-13 16:21:19 -08:00
gadget.tmpl usb gadget: cdc obex glue 2008-10-17 14:40:53 -07:00
genericirq.tmpl doc: Fix IRQ chip docs 2009-12-04 15:39:57 +01:00
kernel-api.tmpl docbooks: add/fix PCI kernel-doc 2009-04-22 14:49:33 -07:00
kernel-hacking.tmpl docbook: fix signal_pending() argument 2009-12-09 18:59:52 -08:00
kernel-locking.tmpl Remove mention of semaphores from kernel-locking 2008-07-24 08:29:40 -04:00
kgdb.tmpl kgdb: gdb documentation fix 2009-05-15 07:56:25 -05:00
libata.tmpl libata: introduce sff_set_devctl() method 2010-05-14 17:35:52 -04:00
librs.tmpl docbook: librs typo fixes 2007-05-08 11:15:15 -07:00
lsm.tmpl Add missing section ID to lsm.tmpl 2008-02-07 08:42:16 -08:00
mac80211.tmpl mac80211: remove get_tx_stats() driver op 2010-02-08 16:51:01 -05:00
Makefile Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2009-12-16 10:09:16 -08:00
mcabook.tmpl Rationalise Randy's address a bit 2008-10-30 11:38:47 -07:00
media-entities.tmpl V4L/DVB (13572): v4l2-spec: Digital Video Timings API documentation 2009-12-16 00:18:04 -02:00
media-indices.tmpl V4L/DVB (13572): v4l2-spec: Digital Video Timings API documentation 2009-12-16 00:18:04 -02:00
media.tmpl DocBook/media: renamed xml documents to tmpl 2009-09-19 00:14:14 -03:00
mtdnand.tmpl tree-wide: Assorted spelling fixes 2010-02-09 11:13:56 +01:00
networking.tmpl wimax: Makefile, Kconfig and docbook linkage for the stack 2009-01-07 10:00:17 -08:00
rapidio.tmpl docbook: fix fatal rapidio yet again (and more to come) 2008-04-29 20:40:00 -07:00
regulator.tmpl regulator: Add basic DocBook manual 2009-01-08 20:10:34 +00:00
s390-drivers.tmpl docbook: fix s390 fatal error after header files moved 2008-08-05 16:56:29 -07:00
scsi.tmpl trivial: fix typos "man[ae]g?ment" -> "management" 2009-09-21 15:14:56 +02:00
sh.tmpl sh: Add documentation and integrate into docbook build. 2008-08-04 12:53:55 +09:00
stylesheet.xsl DocBook: Don't use graphics callouts 2009-09-19 00:14:17 -03:00
tracepoint.tmpl Add DocBook documentation for the block tracepoints. 2010-03-09 09:26:04 +01:00
uio-howto.tmpl uio: add generic driver for PCI 2.3 devices 2009-09-15 09:50:48 -07:00
usb.tmpl USB: remove usb DocBook warnings 2007-05-22 23:45:48 -07:00
writing_usb_driver.tmpl DOC: A couple corrections and clarifications in USB doc. 2008-04-21 22:57:50 +00:00
writing-an-alsa-driver.tmpl tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
z8530book.tmpl Rationalise Randy's address a bit 2008-10-30 11:38:47 -07:00