pata_atiixp: update port enabledness test handling
authorTejun Heo <tj@kernel.org>
Fri, 16 Jan 2009 06:27:27 +0000 (15:27 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 16 Jan 2009 15:20:27 +0000 (10:20 -0500)
commit16028232bf6dc5ed7e4bd341ef335f386229ad0b
tree44795da29621afb0012dc77c09f316b4e5a80cc4
parent94be9a58d7e683ac3c1df1858a17f09ebade8da0
pata_atiixp: update port enabledness test handling

Port enabledness test fits much better into init_one() instead of
pre_reset().  The reason why these tests are in pre_reset() is purely
historical at this point.  Move it to init_one().  This will help
further changes.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_atiixp.c