Hi.

There is no maintainer listed for NCR5380 in 2.3.22/MAINTAINERS, so I'm
sending this to this list.

I just got an ancient 5380-based card(*) to work with Linux 2.0.38 on my
old 386.  While testing the card, I found a minor bug in the g_NCR5380
driver.  This exists in similar form in alle Release2-Kernels (I checked
2.0.38, 2.2.12 and 2.3.22).  As it affects only 5380-based cards while
using an "ncr5380=base,irq,dma" bootprompt argument, I can see why it
never got noticed :-) Here is a patch for 2.3.22:

----- cut here -----
--- g_NCR5380.c.orig    Sun Oct 17 00:49:08 1999
+++ g_NCR5380.c Sun Oct 17 00:49:59 1999
@@ -164,25 +164,29 @@
     case BOARD_NCR5380:
        if (ints[0] != 2 && ints[0] != 3) {
            printk("generic_NCR5380_setup : usage ncr5380=" STRVAL(NCR5380_map_name) 
",irq,dma\n");
            return;
        }
+       break;
     case BOARD_NCR53C400:
        if (ints[0] != 2) {
            printk("generic_NCR53C400_setup : usage ncr53c400=" 
STRVAL(NCR5380_map_name) ",irq\n");
            return;
        }
+       break;
     case BOARD_NCR53C400A:
        if (ints[0] != 2) {
            printk("generic_NCR53C400A_setup : usage ncr53c400a=" 
STRVAL(NCR5380_map_name) ",irq\n");
            return;
        }
+       break;
     case BOARD_DTC3181E:
        if (ints[0] != 2) {
            printk("generic_DTC3181E_setup : usage dtc3181e=" STRVAL(NCR5380_map_name) 
",irq\n");
            return;
        }
+       break;
     }
 
     if (commandline_current < NO_OVERRIDES) {
        overrides[commandline_current].NCR5380_map_name = (NCR5380_map_type)ints[1];
        overrides[commandline_current].irq = ints[2];
----- cut here -----



(*) for the records: This is an NCR ADP-31S, 8bit ISA, built in 1986 :-)
It is portmapped, uses port 0x330 (fixed) and IRQ 2/9 (also fixed).
If anybody has some more information on the board, especially if there
is an entry point to some kind of setup program in the ROM (it as an 8KB
EPROM at DA00), or how to make it boot from SCSI, I'd be grateful.

I'm not subscribed to this list, so please Cc: all replies to me.

Regards,
Ingo

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to