[279] in linux-scsi channel archive
Re: T130B
daemon@ATHENA.MIT.EDU (Hans Lermen)
Wed Jun 21 20:22:29 1995
Date: Thu, 22 Jun 1995 01:42:24 +0200
From: Hans Lermen <lermen@elserv.ffm.fgan.de>
Reply-To: Hans Lermen <lermen@elserv.ffm.fgan.de>
To: John Gotts <jgotts@engin.umich.edu>
Cc: Jay Jacobs <jay@cftnet.com>, linux-scsi@vger.rutgers.edu
In-Reply-To: <Pine.3.89.9506211724.B3201-0100000@elserv.ffm.fgan.de>
Hi
> >Has anybody has success with the T130B adapters? I have been using 1.2.X and
> >now I am using 1.2.10 with no luck. This is what I get:
>
> >scsi : 0 hosts.
> >scsi : detected total.
>
> >With LILO options:
> > append = "ncr53480=0x358,255"
> > append = "ncr5380=0x358,255"
> > append = "ncr53c400=0x350,255"
>
> >I checked the SCSI-HOWTO and it doesn't seem to be clear on what I need to
> >add into LILO's append field.
> >Any help would be great!!
>
> >Jay
>
> Are you sure about the second append option? That exact line worked for my
> friend's Trantor T130B and his Plextor 6 Plex and NEC 3x SCSI-II drives. Did
> you remeber to re-run lilo after you added the line?
>
May I perhaps add some silly remarks:
Only ncr5380= (second line above) will be recognized by Linux-1.2.10.
All other ncr53...= won't reach the driver because init/main.c
doesn't expect such a commandline string.
I did post this quite a long time ago, but (at least untill 1.3.3) the
patch is not part of any kernel (except of mine and the kernels of
those who verified that I'm right).
Below ( 3rd posting, ...and last one ) the patch for init/main.c:
(relative to 1.2.5, but should fit well into 1.2.10)
Hans
<lermen@elserv.ffm.fgan.de>
----------------------------- snip -----------------------------------
diff -u linux-1.2.5/init/main.c linux/init/main.c
--- linux-1.2.5/init/main.c Sat Apr 22 14:37:29 1995
+++ linux/init/main.c Sat Apr 22 14:37:00 1995
@@ -62,6 +62,16 @@
extern void t128_setup(char *str, int *ints);
extern void pas16_setup(char *str, int *ints);
extern void generic_NCR5380_setup(char *str, int *intr);
+#ifdef CONFIG_SCSI_NCR53C7xx
+extern void ncr53c700_setup(char *str, int *intr);
+extern void ncr53c70066_setup(char *str, int *intr);
+extern void ncr53c710_setup(char *str, int *intr);
+extern void ncr53c720_setup(char *str, int *intr);
+extern void ncr53c810_setup(char *str, int *intr);
+extern void ncr53c815_setup(char *str, int *intr);
+extern void ncr53c820_setup(char *str, int *intr);
+extern void ncr53c825_setup(char *str, int *intr);
+#endif
extern void aha152x_setup(char *str, int *ints);
extern void aha1542_setup(char *str, int *ints);
extern void aha274x_setup(char *str, int *ints);
@@ -170,6 +180,16 @@
#ifdef CONFIG_SCSI_GENERIC_NCR5380
{ "ncr5380=", generic_NCR5380_setup },
#endif
+#ifdef CONFIG_SCSI_NCR53C7xx
+ { "ncr53c700=", ncr53c700_setup },
+ { "ncr53c700-66=", ncr53c70066_setup },
+ { "ncr53c710=", ncr53c710_setup },
+ { "ncr53c720=", ncr53c720_setup },
+ { "ncr53c810=", ncr53c810_setup },
+ { "ncr53c815=", ncr53c815_setup },
+ { "ncr53c820=", ncr53c820_setup },
+ { "ncr53c825=", ncr53c825_setup },
+#endif
#ifdef CONFIG_SCSI_AHA152X
{ "aha152x=", aha152x_setup},
#endif
--------------------------- snip --------------------------------