X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fscsi%2Fata_piix.c;h=3363c718bf89d9fd6f166641b8e22bb47abd9aeb;hb=4e4f43fe003969bdaa246374b90e16708a22ef79;hp=d26ee0322f6baf3647cb3de0a611f7b9d905a476;hpb=86090fcac5e27b630656fe3d963a6b80e26dac44;p=linux-2.6.git diff --git a/drivers/scsi/ata_piix.c b/drivers/scsi/ata_piix.c index d26ee0322..3363c718b 100644 --- a/drivers/scsi/ata_piix.c +++ b/drivers/scsi/ata_piix.c @@ -2,6 +2,10 @@ ata_piix.c - Intel PATA/SATA controllers + Maintained by: Jeff Garzik + Please ALWAYS copy linux-ide@vger.kernel.org + on emails. + Copyright 2003-2004 Red Hat Inc Copyright 2003-2004 Jeff Garzik @@ -24,7 +28,7 @@ #include #include #include "scsi.h" -#include "hosts.h" +#include #include #define DRV_NAME "ata_piix" @@ -132,6 +136,7 @@ static struct ata_port_operations piix_pata_ops = { .phy_reset = piix_pata_phy_reset, + .bmdma_setup = ata_bmdma_setup_pio, .bmdma_start = ata_bmdma_start_pio, .fill_sg = ata_fill_sg, .eng_timeout = ata_eng_timeout, @@ -154,6 +159,7 @@ static struct ata_port_operations piix_sata_ops = { .phy_reset = piix_sata_phy_reset, + .bmdma_setup = ata_bmdma_setup_pio, .bmdma_start = ata_bmdma_start_pio, .fill_sg = ata_fill_sg, .eng_timeout = ata_eng_timeout, @@ -266,7 +272,7 @@ static void piix_pata_phy_reset(struct ata_port *ap) /** * piix_sata_probe - Probe PCI device for present SATA devices - * @pdev: PCI device to probe + * @ap: Port associated with the PCI device we wish to probe * * Reads SATA PCI device's PCI config register Port Configuration * and Status (PCS) to determine port and device availability.