diff options
Diffstat (limited to 'drivers/ide/pci/slc90e66.c')
-rw-r--r-- | drivers/ide/pci/slc90e66.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/ide/pci/slc90e66.c b/drivers/ide/pci/slc90e66.c index 4f213e4c0c42..416fbab2ed36 100644 --- a/drivers/ide/pci/slc90e66.c +++ b/drivers/ide/pci/slc90e66.c | |||
@@ -147,10 +147,6 @@ static void __devinit init_hwif_slc90e66 (ide_hwif_t *hwif) | |||
147 | if (hwif->dma_base == 0) | 147 | if (hwif->dma_base == 0) |
148 | return; | 148 | return; |
149 | 149 | ||
150 | hwif->ultra_mask = 0x1f; | ||
151 | hwif->mwdma_mask = 0x06; | ||
152 | hwif->swdma_mask = 0x04; | ||
153 | |||
154 | if (hwif->cbl != ATA_CBL_PATA40_SHORT) | 150 | if (hwif->cbl != ATA_CBL_PATA40_SHORT) |
155 | /* bit[0(1)]: 0:80, 1:40 */ | 151 | /* bit[0(1)]: 0:80, 1:40 */ |
156 | hwif->cbl = (reg47 & mask) ? ATA_CBL_PATA40 : ATA_CBL_PATA80; | 152 | hwif->cbl = (reg47 & mask) ? ATA_CBL_PATA40 : ATA_CBL_PATA80; |
@@ -162,6 +158,9 @@ static ide_pci_device_t slc90e66_chipset __devinitdata = { | |||
162 | .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}}, | 158 | .enablebits = {{0x41,0x80,0x80}, {0x43,0x80,0x80}}, |
163 | .host_flags = IDE_HFLAG_BOOTABLE, | 159 | .host_flags = IDE_HFLAG_BOOTABLE, |
164 | .pio_mask = ATA_PIO4, | 160 | .pio_mask = ATA_PIO4, |
161 | .swdma_mask = ATA_SWDMA2_ONLY, | ||
162 | .mwdma_mask = ATA_MWDMA12_ONLY, | ||
163 | .udma_mask = ATA_UDMA4, | ||
165 | }; | 164 | }; |
166 | 165 | ||
167 | static int __devinit slc90e66_init_one(struct pci_dev *dev, const struct pci_device_id *id) | 166 | static int __devinit slc90e66_init_one(struct pci_dev *dev, const struct pci_device_id *id) |