commit | 2044470cccec1bfe6bb819027975df302ff43bf8 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Mon Mar 13 01:57:01 2006 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Sun Mar 12 12:49:45 2006 -0500 |
tree | 64254b2ca55f8727f08e46361532361027cf4faf | |
parent | 4b10e559277de490bf5c257a1e3264a2bf51404b [diff] |
[PATCH] libata: fix class handling in ata_bus_probe() ata_bus_probe() didn't set classes[] properly for port disabled case of ->phy_reset() compatibility path. This patch moves classes[] initialization and normalization out of ->probe_reset block such that it applies to both ->probe_reset and ->phy_reset paths. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>