[3875] in linux-scsi channel archive
Re: changing host ID of ncr53c810?
daemon@ATHENA.MIT.EDU (Richard Waltham)
Fri May 8 16:03:10 1998
From: Richard Waltham <dormouse@farsrobt.demon.co.uk>
To: goemon@sasami.anime.net (Dan Hollis)
Date: Fri, 8 May 1998 20:47:32 +0100 (BST)
Cc: linux-scsi@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.96.980507175432.5521B-100000@sasami.anime.net> from "Dan Hollis" at May 7, 98 05:54:44 pm
Dan Hollis wrote:
>
> Is it possible to change the hostID of a 53c810 to something other than 7?
> The cards dont have nvram.
>
Yes. You need to patch the SCSI driver on one of the systems to change the
default ID. For the ncr53c8xx (ncrBsd2Linux) driver the following should
patch most versions without problems.
-----------8<-----------------------
--- linux-2.0.34/drivers/scsi/ncr53c8xx.c~ Fri May 8 20:25:34 1998
+++ linux/drivers/scsi/ncr53c8xx.c Fri May 8 20:25:34 1998
@@ -323,7 +323,7 @@
*/
#ifndef SCSI_NCR_MYADDR
-#define SCSI_NCR_MYADDR (7)
+#define SCSI_NCR_MYADDR (6)
#endif
/*
-----------8<-----------------------
> Trying to run shared scsi bus between 2 computers, to share a tape drive
> and cdrom. The two hostadaptors are going to need to use different host
> IDs.
>
> -Dan
>
Apart from the host ID there are other problems that could occur but thats
another story. But you should be ok if you only access the drives from one
system at a time.
Bye for now
Richard
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.rutgers.edu
>
--
Richard Waltham | Work: richard@digtalinterface.demon.co.uk
At home in | Home: dormouse@farsrobt.demon.co.uk
Southampton UK | 100421.1276@compuserve.com
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu