(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)
commit92ae78493f5f3de323652f3ea0ec8b7b2839c3d2
tree5ea90b3aa3a40997aaccd868609db7fe5f83fafc
parent7b4f1a13f708a7b061185d86aae201f3195db47a
(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