Does this fix it.
--- drivers/block/ide-tape.c~ Thu Sep 2 16:51:26 1999
+++ drivers/block/ide-tape.c Mon Sep 20 00:14:38 1999
@@ -3583,8 +3583,9 @@
/*
* These two ide-pci host adapters appear to need this disabled.
*/
- if ((HWIF(drive)->pci_dev->device == PCI_DEVICE_ID_ARTOP_ATP850UF) ||
- (HWIF(drive)->pci_dev->device == PCI_DEVICE_ID_TTI_HPT343)) {
+ if (HWIF(driver)->pci_dev != NULL && (
+ (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 */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/