lkml.org 
[lkml]   [2002]   [Sep]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From Andries.Brouwer@cwi ...
DateSat, 21 Sep 2002 14:11:38 +0200 (MEST)
Subject2.5.37 oopses at boot in ide_toggle_bounce
2.5.37 oopses at boot in ide_toggle_bounce().
With

--- linux-2.5.37/linux/drivers/ide/ide-lib.c    Sat Sep 21 11:39:48 2002
+++ linux-2.5.37a/linux/drivers/ide/ide-lib.c   Sat Sep 21 14:06:45 2002
@@ -394,7 +394,7 @@
        if (on && drive->media == ide_disk) {
                if (!PCI_DMA_BUS_IS_PHYS)
                        addr = BLK_BOUNCE_ANY;
-               else
+               else if (HWIF(drive)->pci_dev)
                        addr = HWIF(drive)->pci_dev->dma_mask;
        }

it boots for me. I have not investigated a proper fix.
Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:29    [W:0.219 / U:0.200 seconds]
©2003-2008 Jasper Spaans