[lkml]   [2004]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[5/12] Ignore errors from tw_setfeature in 3w-xxxx.c
 * Ignore errors from tw_setfeature in drivers/scsi/3w-xxxx.c
This fixes Debian BTS #181581.

From: Blars Blarson <>
Subject: kernel-source-2.4.20: 3w-xxxx driver won't configure older 3ware card
Message-ID: <>

The 3w-xxxx driver has changed so it will no longer configure older
3ware raid cards. The attached patch allows it to work with my 3ware
card. (The source is the same in 2.4.20-5.) (Note: this is an ide
controler pretending it's scsi.)

Index: linux-2.5/drivers/scsi/3w-xxxx.c
--- linux-2.5.orig/drivers/scsi/3w-xxxx.c 2004-06-13 11:57:23.000000000 -0700
+++ linux-2.5/drivers/scsi/3w-xxxx.c 2004-06-13 12:08:55.000000000 -0700
@@ -1220,13 +1220,6 @@
error = tw_setup_irq(tw_dev2);
if (error) {
printk(KERN_WARNING "3w-xxxx: tw_findcards(): Error requesting irq 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;

/* Re-enable interrupts on the card */
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2005-03-22 14:03    [W:0.077 / U:6.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site