lkml.org 
[lkml]   [2001]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    SubjectRe: Oops while inserting sym53c8xx.o
    From

    This should fix it, Linux please apply.

    --- drivers/scsi/sym53c8xx.c.~1~ Mon Oct 8 21:04:56 2001
    +++ drivers/scsi/sym53c8xx.c Tue Oct 16 02:27:44 2001
    @@ -13168,14 +13168,14 @@
    ** in the size field. We use normal 32-bit PCI addresses for
    ** descriptors.
    */
    - if (chip->features & FE_DAC) {
    + if (chip && (chip->features & FE_DAC)) {
    if (pci_set_dma_mask(pdev, (u64) 0xffffffffff))
    chip->features &= ~FE_DAC_IN_USE;
    else
    chip->features |= FE_DAC_IN_USE;
    }

    - if (!(chip->features & FE_DAC_IN_USE)) {
    + if (chip && !(chip->features & FE_DAC_IN_USE)) {
    if (pci_set_dma_mask(pdev, (u64) 0xffffffff)) {
    printk(KERN_WARNING NAME53C8XX
    "32 BIT PCI BUS DMA ADDRESSING NOT SUPPORTED\n");
    -
    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 13:08    [W:0.024 / U:29.724 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site