sata_via: kill SATA_PATA_SHARING register handling
authorTejun Heo <htejun@gmail.com>
Fri, 21 Sep 2007 08:55:44 +0000 (17:55 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:42 +0000 (14:55 -0400)
commitb6d6c74628767e1bd33c735b3b2ee7b132b4198e
treeba96a354766e1b16690bd567fb1b569e61610000
parent1e582ba4ef6264dd8cb73250ebff767d0624d684
sata_via: kill SATA_PATA_SHARING register handling

The SATA_PATA_SHARING register doesn't have anything to do with the
SATA part of the controller.  It indicates whether an extern SATA PHY
is attached to the PATA part of the controller and if so how it is
wired.  As the PATA part is driven by pata_via, sata_via has no reason
to care about that.  Also, pata_via should work fine under all
configurations.

This patch removes unnecessary attach failures.  It seems recent via
chipsets are defaulting to different values or are actually connected
to SATA PHY triggering this more often.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_via.c