Re: Oops with ide-tape?!?!

Bruce Tenison (btenison@dibbs.net)
Sun, 19 Sep 1999 19:39:59 -0500 (CDT)


Works great! Thanks! Only one minor typo correction. In the first added
line in the diff HWIF(driver) should be HWIF(drive)

Once I made that correction, it compiled-in and loaded up, initialized and
found my tape drive just fine.

Thanks!
Bruce

> > this. Decided to catch up with the 2.3 stuff (have been at 2.2.13pre) and
> > compiled 2.3.18ac5 with ide-tape built-in (non modular) and blam. Oops.
> .......
> > I've included a ksymoops output below. Hope this is helpful. I've
> > recompiled ide-tape modular, and it loads find, although I haven't had the
> > chance to use it yet. Been trying to get the ALI15X3 stuff running...
>
> 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/
>

-
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/