]> git.baikalelectronics.ru Git - kernel.git/commit
(2.6.20) pata_mpiix: probing cleanup (resend)
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Mon, 5 Feb 2007 18:08:55 +0000 (21:08 +0300)
committerJeff Garzik <jeff@garzik.org>
Fri, 9 Feb 2007 22:39:39 +0000 (17:39 -0500)
commitcc9e0c065b217c405a0a58909a363c983c1a79b1
tree5ea90b3aa3a40997aaccd868609db7fe5f83fafc
parent64f09c236baf63acd5a2a6790aa7aa5d2f2b56bd
(2.6.20) pata_mpiix: probing cleanup (resend)

MPIIX has only single channel IDE which can be configured for either primary or
secondary legacy I/O ports and IRQ.  So, get rid of the unneeded second probe
entry in mpiix_init_one() and of the invalid (but unused anyway) enable bits in
mpiix_pre_reset().

Warning: this cleanup has only been compile-tested...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_mpiix.c