[3165] in linux-scsi channel archive
Re: two AHA adapters, init order?
daemon@ATHENA.MIT.EDU (Michel Eyckmans (MCE))
Sun Feb 1 07:43:47 1998
To: Jay Vassos-Libove <libove@felines.org>
cc: linux-scsi@vger.rutgers.edu
In-reply-to: Your message of "Sun, 01 Feb 1998 07:30:34 EST."
<Pine.LNX.3.96.980201072624.735A-100000@panther.felines.org>
Date: Sun, 01 Feb 1998 13:42:28 +0100
From: "Michel Eyckmans (MCE)" <mce@tornado.be>
> To Michel, and others, how do I tell the kernel that the 2842 card is
> scsi0 and that the 1540 card is scsi1?
I modified linux/drivers/scsi/hosts.c, changing the order of
some elements in the Scsi_Host_Template builtin_scsi_hosts[]
array. This works since the array is scanned in order while
the system is looking for hosts.
In my case, the Adaptec section of now reads:
#ifdef CONFIG_SCSI_AIC7XXX /* MCE: moved in front of CONFIG_SCSI_AHA152X */
AIC7XXX,
#endif
#ifdef CONFIG_SCSI_AHA152X
AHA152X,
#endif
#ifdef CONFIG_SCSI_AHA1542
AHA1542,
#endif
#ifdef CONFIG_SCSI_AHA1740
AHA1740,
#endif
Hope this helps,
MCE
--
========================================================================
M. Eyckmans (MCE) Code of the Geeks v3.1 mce@tornado.be
GCS d+ s+:- a32 C+++$ UHLUASO+++$ P+ L+++ E--- W++ N+++ !o K w--- !O M--
V-- PS+ PE+ Y+ PGP- t--- !5 !X R- tv- b+ DI++ D-- G++ e+++ h+(*) !r y?
========================================================================