commit | c791c30670ea61f19eec390124128bf278e854fe | [log] [tgz] |
---|---|---|
author | Jeff Garzik <jeff@garzik.org> | Thu Sep 28 03:40:11 2006 -0400 |
committer | Jeff Garzik <jeff@garzik.org> | Thu Sep 28 03:40:11 2006 -0400 |
tree | 5e75cc3f222a3425a2116be8e1691baa9534cdbe | |
parent | 54bb3a94b192be09feb85993b664ff118d6433d0 [diff] |
[libata] minor PCI IDE probe fixes and cleanups * Replace needless 'n_ports > 2' check with a simple BUG_ON(). No existing driver ever wants more than 2 ports. * Delete ATA_FLAG_NO_LEGACY check. No current driver uses ata_pci_init_one(), that sets this flag. * Move PCI_CLASS_PROG register read below pci_enable_device() * Handle ata_device_add() failure Signed-off-by: Jeff Garzik <jeff@garzik.org>