]> git.karo-electronics.de Git - linux-beck.git/commit
[PATCH] libata: implement per-dev xfermask
authorTejun Heo <htejun@gmail.com>
Thu, 10 Aug 2006 07:59:07 +0000 (16:59 +0900)
committerTejun Heo <htejun@gmail.com>
Thu, 10 Aug 2006 07:59:07 +0000 (16:59 +0900)
commit37deecb5139ee431233781a9a093d9fcaab54c5b
treeddc3d31e2517619437dfefd311a6d978ba246ae9
parent6d0500df5b37c94b779ac2c3f522ff917e039f99
[PATCH] libata: implement per-dev xfermask

Implement per-dev xfermask.  libata used to determine xfermask
per-port - the fastest mode of the slowest device on the port.  This
patch enables per-dev xfermask.

Original patch is from Alan Cox <alan@redhat.com>.  The following
changes are made by me.

* simplex warning message is added
* remove disabled device handling code which is never invoked
  (originally for choosing port-wide lowest PIO mode)

Cc: Alan Cox <alan@redhat.com>
Signed-off-by: Tejun Heo <htejun@gmail.com>
drivers/scsi/libata-core.c