summaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_promise.h
diff options
context:
space:
mode:
authorJeff Garzik2006-09-28 09:40:11 +0200
committerJeff Garzik2006-09-28 09:40:11 +0200
commitc791c30670ea61f19eec390124128bf278e854fe (patch)
tree5e75cc3f222a3425a2116be8e1691baa9534cdbe /drivers/ata/sata_promise.h
parent[libata] Use new PCI_VDEVICE() macro to dramatically shorten ID lists (diff)
downloadkernel-qcow2-linux-c791c30670ea61f19eec390124128bf278e854fe.tar.gz
kernel-qcow2-linux-c791c30670ea61f19eec390124128bf278e854fe.tar.xz
kernel-qcow2-linux-c791c30670ea61f19eec390124128bf278e854fe.zip
[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>
Diffstat (limited to 'drivers/ata/sata_promise.h')
0 files changed, 0 insertions, 0 deletions