* [PATCH] sym53c500_cs driver update
@ 2004-10-29 2:33 Bob Tracy
0 siblings, 0 replies; 3+ messages in thread
From: Bob Tracy @ 2004-10-29 2:33 UTC (permalink / raw)
To: James.Bottomley; +Cc: linux-scsi
[-- Attachment #1: Type: text/plain, Size: 762 bytes --]
(Previously posted to linux-kernel with copy to Christoph).
The attached minor patch to linux/drivers/scsi/pcmcia/sym53c500_cs.c
allows interrupt sharing, which is evidently a "must have" feature for
at least G4 PowerBooks (ppc architecture). The other user of the New
Media Bus Toaster reports that his powerbook consistently assigns the
yenta CardBus controller IRQ to whatever card he inserts.
Applies to version 0.9b of the sym53c500_cs driver, as included with
the 2.6.9 kernel.
Signed-off-by: Bob Tracy <rct@frus.com>
--
-----------------------------------------------------------------------
Bob Tracy WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------
[-- Attachment #2: patch09_sym53c500 --]
[-- Type: text/plain, Size: 1072 bytes --]
--- linux/drivers/scsi/pcmcia/sym53c500_cs.c.orig Wed Jul 7 07:24:21 2004
+++ linux/drivers/scsi/pcmcia/sym53c500_cs.c Wed Oct 27 22:21:20 2004
@@ -85,7 +85,7 @@
module_param(pc_debug, int, 0);
#define DEBUG(n, args...) if (pc_debug>(n)) printk(KERN_DEBUG args)
static char *version =
-"sym53c500_cs.c 0.9b 2004/05/10 (Bob Tracy)";
+"sym53c500_cs.c 0.9c 2004/10/27 (Bob Tracy)";
#else
#define DEBUG(n, args...)
#endif
@@ -95,7 +95,7 @@
/* Parameters that can be set with 'insmod' */
/* Bit map of interrupts to choose from */
-static unsigned int irq_mask = 0xdeb8; /* 3, 6, 7, 9-12, 14, 15 */
+static unsigned int irq_mask = 0xdeb8; /* 3-5, 7, 9-12, 14, 15 */
static int irq_list[4] = { -1 };
static int num_irqs = 1;
@@ -830,7 +830,7 @@
data = (struct sym53c500_data *)host->hostdata;
if (irq_level > 0) {
- if (request_irq(irq_level, SYM53C500_intr, 0, "SYM53C500", host)) {
+ if (request_irq(irq_level, SYM53C500_intr, SA_SHIRQ, "SYM53C500", host)) {
printk("SYM53C500: unable to allocate IRQ %d\n", irq_level);
goto err_free_scsi;
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] sym53c500_cs driver update
@ 2004-11-27 4:50 Bob Tracy
2004-11-27 12:35 ` Christoph Hellwig
0 siblings, 1 reply; 3+ messages in thread
From: Bob Tracy @ 2004-11-27 4:50 UTC (permalink / raw)
To: linux-kernel, linux-scsi; +Cc: torvalds, hch, James.Bottomley
[-- Attachment #1: Type: text/plain, Size: 894 bytes --]
(Previously posted a month ago to linux-kernel and linux-scsi with
copies to James Bottomley and Christoph Hellwig. No feedback received.
Would like to see this included in 2.6.10. Thanks!)
The attached minor patch to linux/drivers/scsi/pcmcia/sym53c500_cs.c
allows interrupt sharing, which is evidently a "must have" feature for
at least G4 PowerBooks (ppc architecture). The other user of the New
Media Bus Toaster reports that his powerbook consistently assigns the
yenta CardBus controller IRQ to whatever card he inserts.
Applies to version 0.9b of the sym53c500_cs driver, as included with
the 2.6.9 kernel.
Signed-off-by: Bob Tracy <rct@frus.com>
--
-----------------------------------------------------------------------
Bob Tracy WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------
[-- Attachment #2: patch09_sym53c500 --]
[-- Type: text/plain, Size: 1072 bytes --]
--- linux/drivers/scsi/pcmcia/sym53c500_cs.c.orig Wed Jul 7 07:24:21 2004
+++ linux/drivers/scsi/pcmcia/sym53c500_cs.c Wed Oct 27 22:21:20 2004
@@ -85,7 +85,7 @@
module_param(pc_debug, int, 0);
#define DEBUG(n, args...) if (pc_debug>(n)) printk(KERN_DEBUG args)
static char *version =
-"sym53c500_cs.c 0.9b 2004/05/10 (Bob Tracy)";
+"sym53c500_cs.c 0.9c 2004/10/27 (Bob Tracy)";
#else
#define DEBUG(n, args...)
#endif
@@ -95,7 +95,7 @@
/* Parameters that can be set with 'insmod' */
/* Bit map of interrupts to choose from */
-static unsigned int irq_mask = 0xdeb8; /* 3, 6, 7, 9-12, 14, 15 */
+static unsigned int irq_mask = 0xdeb8; /* 3-5, 7, 9-12, 14, 15 */
static int irq_list[4] = { -1 };
static int num_irqs = 1;
@@ -830,7 +830,7 @@
data = (struct sym53c500_data *)host->hostdata;
if (irq_level > 0) {
- if (request_irq(irq_level, SYM53C500_intr, 0, "SYM53C500", host)) {
+ if (request_irq(irq_level, SYM53C500_intr, SA_SHIRQ, "SYM53C500", host)) {
printk("SYM53C500: unable to allocate IRQ %d\n", irq_level);
goto err_free_scsi;
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] sym53c500_cs driver update
2004-11-27 4:50 [PATCH] sym53c500_cs driver update Bob Tracy
@ 2004-11-27 12:35 ` Christoph Hellwig
0 siblings, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2004-11-27 12:35 UTC (permalink / raw)
To: Bob Tracy; +Cc: linux-kernel, linux-scsi, torvalds, hch, James.Bottomley
On Fri, Nov 26, 2004 at 10:50:11PM -0600, Bob Tracy wrote:
> (Previously posted a month ago to linux-kernel and linux-scsi with
> copies to James Bottomley and Christoph Hellwig. No feedback received.
> Would like to see this included in 2.6.10. Thanks!)
>
> The attached minor patch to linux/drivers/scsi/pcmcia/sym53c500_cs.c
> allows interrupt sharing, which is evidently a "must have" feature for
> at least G4 PowerBooks (ppc architecture). The other user of the New
> Media Bus Toaster reports that his powerbook consistently assigns the
> yenta CardBus controller IRQ to whatever card he inserts.
>
> Applies to version 0.9b of the sym53c500_cs driver, as included with
> the 2.6.9 kernel.
The change is in Linus' tree already.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-11-27 12:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-27 4:50 [PATCH] sym53c500_cs driver update Bob Tracy
2004-11-27 12:35 ` Christoph Hellwig
-- strict thread matches above, loose matches on Subject: below --
2004-10-29 2:33 Bob Tracy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox