cy82c693: fix PCI device selection
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 13 Oct 2011 00:28:54 +0000 (00:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Oct 2011 21:04:50 +0000 (17:04 -0400)
commit0ab3d8b3213c8bb55370b11fcc5321ee4f2c5e92
tree876459554ff66e9c1e30bb9f1ac34b1e32fc68d2
parentacc8dbe7f44f1bab6fcf21f2d5efb32ea92e19fd
cy82c693: fix PCI device selection

Wrong PCI device may be selected by cy82c693_set_pio_mode() if modular
IDE host drivers are used and there are additional IDE PCI devices
installed in the system.  Fix it.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/cy82c693.c