diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-02-16 20:40:24 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-02-16 20:40:24 -0500 |
commit | c1607e1af238b823a2158a18ff6c89144ce38c6c (patch) | |
tree | 75f51cbc38e306bbdb2f7eb4d1413991e4ee7948 | |
parent | 6679054895f9b1dc676d14637306b297451f1ac0 (diff) |
ide: remove write-only ide_hwif_t.no_dsc flag
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-rw-r--r-- | drivers/ide/ide-cd.c | 8 | ||||
-rw-r--r-- | drivers/ide/ide.c | 1 | ||||
-rw-r--r-- | drivers/ide/pci/aec62xx.c | 4 | ||||
-rw-r--r-- | drivers/ide/pci/hpt34x.c | 1 | ||||
-rw-r--r-- | include/linux/ide.h | 1 |
5 files changed, 1 insertions, 14 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c index a2bde80b5402..e6e350cdfbf9 100644 --- a/drivers/ide/ide-cd.c +++ b/drivers/ide/ide-cd.c | |||
@@ -3255,14 +3255,6 @@ int ide_cdrom_setup (ide_drive_t *drive) | |||
3255 | if (drive->autotune == IDE_TUNE_DEFAULT || | 3255 | if (drive->autotune == IDE_TUNE_DEFAULT || |
3256 | drive->autotune == IDE_TUNE_AUTO) | 3256 | drive->autotune == IDE_TUNE_AUTO) |
3257 | drive->dsc_overlap = (drive->next != drive); | 3257 | drive->dsc_overlap = (drive->next != drive); |
3258 | #if 0 | ||
3259 | drive->dsc_overlap = (HWIF(drive)->no_dsc) ? 0 : 1; | ||
3260 | if (HWIF(drive)->no_dsc) { | ||
3261 | printk(KERN_INFO "ide-cd: %s: disabling DSC overlap\n", | ||
3262 | drive->name); | ||
3263 | drive->dsc_overlap = 0; | ||
3264 | } | ||
3265 | #endif | ||
3266 | 3258 | ||
3267 | if (ide_cdrom_register(drive, nslots)) { | 3259 | if (ide_cdrom_register(drive, nslots)) { |
3268 | printk (KERN_ERR "%s: ide_cdrom_setup failed to register device with the cdrom driver.\n", drive->name); | 3260 | printk (KERN_ERR "%s: ide_cdrom_setup failed to register device with the cdrom driver.\n", drive->name); |
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index 65eb095469b5..15b13831ee14 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
@@ -552,7 +552,6 @@ static void ide_hwif_restore(ide_hwif_t *hwif, ide_hwif_t *tmp_hwif) | |||
552 | hwif->extra_ports = tmp_hwif->extra_ports; | 552 | hwif->extra_ports = tmp_hwif->extra_ports; |
553 | hwif->autodma = tmp_hwif->autodma; | 553 | hwif->autodma = tmp_hwif->autodma; |
554 | hwif->udma_four = tmp_hwif->udma_four; | 554 | hwif->udma_four = tmp_hwif->udma_four; |
555 | hwif->no_dsc = tmp_hwif->no_dsc; | ||
556 | 555 | ||
557 | hwif->hwif_data = tmp_hwif->hwif_data; | 556 | hwif->hwif_data = tmp_hwif->hwif_data; |
558 | } | 557 | } |
diff --git a/drivers/ide/pci/aec62xx.c b/drivers/ide/pci/aec62xx.c index d261bfbad222..cac12c38b940 100644 --- a/drivers/ide/pci/aec62xx.c +++ b/drivers/ide/pci/aec62xx.c | |||
@@ -286,10 +286,8 @@ static void __devinit init_hwif_aec62xx(ide_hwif_t *hwif) | |||
286 | hwif->tuneproc = &aec62xx_tune_drive; | 286 | hwif->tuneproc = &aec62xx_tune_drive; |
287 | hwif->speedproc = &aec62xx_tune_chipset; | 287 | hwif->speedproc = &aec62xx_tune_chipset; |
288 | 288 | ||
289 | if (hwif->pci_dev->device == PCI_DEVICE_ID_ARTOP_ATP850UF) { | 289 | if (hwif->pci_dev->device == PCI_DEVICE_ID_ARTOP_ATP850UF) |
290 | hwif->serialized = hwif->channel; | 290 | hwif->serialized = hwif->channel; |
291 | hwif->no_dsc = 1; | ||
292 | } | ||
293 | 291 | ||
294 | if (hwif->mate) | 292 | if (hwif->mate) |
295 | hwif->mate->serialized = hwif->serialized; | 293 | hwif->mate->serialized = hwif->serialized; |
diff --git a/drivers/ide/pci/hpt34x.c b/drivers/ide/pci/hpt34x.c index 6707f3944d44..0de3b61cabe3 100644 --- a/drivers/ide/pci/hpt34x.c +++ b/drivers/ide/pci/hpt34x.c | |||
@@ -194,7 +194,6 @@ static void __devinit init_hwif_hpt34x(ide_hwif_t *hwif) | |||
194 | 194 | ||
195 | hwif->tuneproc = &hpt34x_tune_drive; | 195 | hwif->tuneproc = &hpt34x_tune_drive; |
196 | hwif->speedproc = &hpt34x_tune_chipset; | 196 | hwif->speedproc = &hpt34x_tune_chipset; |
197 | hwif->no_dsc = 1; | ||
198 | hwif->drives[0].autotune = 1; | 197 | hwif->drives[0].autotune = 1; |
199 | hwif->drives[1].autotune = 1; | 198 | hwif->drives[1].autotune = 1; |
200 | 199 | ||
diff --git a/include/linux/ide.h b/include/linux/ide.h index 59bb58096942..606cef727c5a 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -803,7 +803,6 @@ typedef struct hwif_s { | |||
803 | unsigned udma_four : 1; /* 1=ATA-66 capable, 0=default */ | 803 | unsigned udma_four : 1; /* 1=ATA-66 capable, 0=default */ |
804 | unsigned no_lba48 : 1; /* 1 = cannot do LBA48 */ | 804 | unsigned no_lba48 : 1; /* 1 = cannot do LBA48 */ |
805 | unsigned no_lba48_dma : 1; /* 1 = cannot do LBA48 DMA */ | 805 | unsigned no_lba48_dma : 1; /* 1 = cannot do LBA48 DMA */ |
806 | unsigned no_dsc : 1; /* 0 default, 1 dsc_overlap disabled */ | ||
807 | unsigned auto_poll : 1; /* supports nop auto-poll */ | 806 | unsigned auto_poll : 1; /* supports nop auto-poll */ |
808 | unsigned sg_mapped : 1; /* sg_table and sg_nents are ready */ | 807 | unsigned sg_mapped : 1; /* sg_table and sg_nents are ready */ |
809 | unsigned no_io_32bit : 1; /* 1 = can not do 32-bit IO ops */ | 808 | unsigned no_io_32bit : 1; /* 1 = can not do 32-bit IO ops */ |