Jeff Garzik c791c30670 [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>
2006-09-28 03:40:11 -04:00
..
2006-08-24 03:19:22 -04:00
2006-08-24 03:19:22 -04:00
2006-09-20 17:48:53 -04:00
2006-08-10 07:31:37 -04:00
2006-08-24 03:19:22 -04:00
2006-09-24 01:52:47 -04:00
2006-08-24 03:19:22 -04:00