[PATCH] pata_ali: small fixes
authorAlan <alan@lxorguk.ukuu.org.uk>
Mon, 4 Dec 2006 16:36:05 +0000 (16:36 +0000)
committerJeff Garzik <jeff@garzik.org>
Mon, 4 Dec 2006 20:45:51 +0000 (15:45 -0500)
commit8e42a5a220a3369c70d88474e887a6de6a4ae209
tree9d33e2b0a0d52163c3621a4caef5c9d57d6c086a
parent75f609d2a923b8f1db870e0c63ff41c84c145589
[PATCH] pata_ali: small fixes

Switch to pci_get_bus_and_slot because some x86 systems seem to be
handing us a device with dev->bus = NULL. Also don't apply the isa fixup
to revision C6 and later of the chip.

Really we need to work out wtf is handing us pdev->bus = NULL, but firstly
and more importantly we need the drivers working.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_ali.c