From: Jeff Garzik Date: Thu, 28 Sep 2006 07:40:11 +0000 (-0400) Subject: [libata] minor PCI IDE probe fixes and cleanups X-Git-Tag: v2.6.19-rc1~39^2~8 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c791c30670ea61f19eec390124128bf278e854fe;p=pandora-kernel.git [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 --- Reading git-diff-tree failed