[lkml]   [2002]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: 3ware driver in 2.4.x and 2.5.x not compatible with 6x00 series cards
    On Wed, 2002-12-18 at 12:08, Alan Cox wrote:

    > Please give the name of your 3ware contact so someone competent in 3ware
    > so they can be 're-educated'
    > I use the new driver with an old card, it works.

    I've talked with some clue-enabled people at 3ware about this. The
    newest driver is indeed broken on cards with very old firmware, and the
    next revision of the driver will fix that problem.

    There's a trivial fix for 2.4.20: just get rid of the error case around
    line 1016 of 3w-xxxx.c. This is basically the fix 3ware is planning to
    include in the next driver release.

    Patch attached.

    diff -u /home/bos/3w-xxxx.c.~1~ /home/bos/3w-xxxx.c
    --- /home/bos/3w-xxxx.c.~1~ 2002-12-18 17:09:20.000000000 -0800
    +++ /home/bos/3w-xxxx.c 2002-12-18 17:09:20.000000000 -0800
    @@ -1014,12 +1014,6 @@
    error = tw_setfeature(tw_dev2, 2, 1, &c);
    if (error) {
    printk(KERN_WARNING "3w-xxxx: tw_setfeature(): Error setting features for card %d.\n", j);
    - scsi_unregister(host);
    - release_region((tw_dev->tw_pci_dev->resource[0].start), TW_IO_ADDRESS_RANGE);
    - tw_free_device_extension(tw_dev);
    - kfree(tw_dev);
    - numcards--;
    - continue;

    /* Now setup the interrupt handler */
     \ /
      Last update: 2005-03-22 13:31    [W:0.020 / U:45.304 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site