|
@@ -452,7 +452,7 @@ static int via_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
|
|
/* Early VIA without UDMA support */
|
|
/* Early VIA without UDMA support */
|
|
static const struct ata_port_info via_mwdma_info = {
|
|
static const struct ata_port_info via_mwdma_info = {
|
|
.sht = &via_sht,
|
|
.sht = &via_sht,
|
|
- .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SETXFER_POLLING,
|
|
|
|
|
|
+ .flags = ATA_FLAG_SLAVE_POSS,
|
|
.pio_mask = 0x1f,
|
|
.pio_mask = 0x1f,
|
|
.mwdma_mask = 0x07,
|
|
.mwdma_mask = 0x07,
|
|
.port_ops = &via_port_ops
|
|
.port_ops = &via_port_ops
|
|
@@ -460,7 +460,7 @@ static int via_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
|
|
/* Ditto with IRQ masking required */
|
|
/* Ditto with IRQ masking required */
|
|
static const struct ata_port_info via_mwdma_info_borked = {
|
|
static const struct ata_port_info via_mwdma_info_borked = {
|
|
.sht = &via_sht,
|
|
.sht = &via_sht,
|
|
- .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SETXFER_POLLING,
|
|
|
|
|
|
+ .flags = ATA_FLAG_SLAVE_POSS,
|
|
.pio_mask = 0x1f,
|
|
.pio_mask = 0x1f,
|
|
.mwdma_mask = 0x07,
|
|
.mwdma_mask = 0x07,
|
|
.port_ops = &via_port_ops_noirq,
|
|
.port_ops = &via_port_ops_noirq,
|
|
@@ -468,7 +468,7 @@ static int via_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
|
|
/* VIA UDMA 33 devices (and borked 66) */
|
|
/* VIA UDMA 33 devices (and borked 66) */
|
|
static const struct ata_port_info via_udma33_info = {
|
|
static const struct ata_port_info via_udma33_info = {
|
|
.sht = &via_sht,
|
|
.sht = &via_sht,
|
|
- .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SETXFER_POLLING,
|
|
|
|
|
|
+ .flags = ATA_FLAG_SLAVE_POSS,
|
|
.pio_mask = 0x1f,
|
|
.pio_mask = 0x1f,
|
|
.mwdma_mask = 0x07,
|
|
.mwdma_mask = 0x07,
|
|
.udma_mask = 0x7,
|
|
.udma_mask = 0x7,
|
|
@@ -477,7 +477,7 @@ static int via_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
|
|
/* VIA UDMA 66 devices */
|
|
/* VIA UDMA 66 devices */
|
|
static const struct ata_port_info via_udma66_info = {
|
|
static const struct ata_port_info via_udma66_info = {
|
|
.sht = &via_sht,
|
|
.sht = &via_sht,
|
|
- .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SETXFER_POLLING,
|
|
|
|
|
|
+ .flags = ATA_FLAG_SLAVE_POSS,
|
|
.pio_mask = 0x1f,
|
|
.pio_mask = 0x1f,
|
|
.mwdma_mask = 0x07,
|
|
.mwdma_mask = 0x07,
|
|
.udma_mask = 0x1f,
|
|
.udma_mask = 0x1f,
|
|
@@ -486,7 +486,7 @@ static int via_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
|
|
/* VIA UDMA 100 devices */
|
|
/* VIA UDMA 100 devices */
|
|
static const struct ata_port_info via_udma100_info = {
|
|
static const struct ata_port_info via_udma100_info = {
|
|
.sht = &via_sht,
|
|
.sht = &via_sht,
|
|
- .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SETXFER_POLLING,
|
|
|
|
|
|
+ .flags = ATA_FLAG_SLAVE_POSS,
|
|
.pio_mask = 0x1f,
|
|
.pio_mask = 0x1f,
|
|
.mwdma_mask = 0x07,
|
|
.mwdma_mask = 0x07,
|
|
.udma_mask = 0x3f,
|
|
.udma_mask = 0x3f,
|
|
@@ -495,7 +495,7 @@ static int via_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
|
|
/* UDMA133 with bad AST (All current 133) */
|
|
/* UDMA133 with bad AST (All current 133) */
|
|
static const struct ata_port_info via_udma133_info = {
|
|
static const struct ata_port_info via_udma133_info = {
|
|
.sht = &via_sht,
|
|
.sht = &via_sht,
|
|
- .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SETXFER_POLLING,
|
|
|
|
|
|
+ .flags = ATA_FLAG_SLAVE_POSS,
|
|
.pio_mask = 0x1f,
|
|
.pio_mask = 0x1f,
|
|
.mwdma_mask = 0x07,
|
|
.mwdma_mask = 0x07,
|
|
.udma_mask = 0x7f, /* FIXME: should check north bridge */
|
|
.udma_mask = 0x7f, /* FIXME: should check north bridge */
|