patch-2.3.13 linux/drivers/block/ide-tape.c

Next file: linux/drivers/block/ide.c
Previous file: linux/drivers/block/ide-probe.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.12/linux/drivers/block/ide-tape.c linux/drivers/block/ide-tape.c
@@ -3583,8 +3583,8 @@
 	/*
 	 *  These two ide-pci host adapters appear to need this disabled.
 	 */
-	if ((hwif->pci_dev->device == PCI_DEVICE_ID_ARTOP_ATP850UF) ||
-	    (hwif->pci_dev->device == PCI_DEVICE_ID_TTI_HPT343)) {
+	if ((HWIF(drive)->pci_dev->device == PCI_DEVICE_ID_ARTOP_ATP850UF) ||
+	    (HWIF(drive)->pci_dev->device == PCI_DEVICE_ID_TTI_HPT343)) {
 		drive->dsc_overlap = 0;
 	} else
 #endif  /* CONFIG_BLK_DEV_IDEPCI */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)