[8012] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: SCSI Makefile cleanup

daemon@ATHENA.MIT.EDU (Eric Youngdale)
Sun Feb 6 14:44:10 2000

Message-ID: <002d01bf70d9$f26e1ce0$0f17a8c0@eric.home>
From: "Eric Youngdale" <eric@andante.org>
To: <willy@thepuffingroup.com>, "Alan Cox" <alan@lxorguk.ukuu.org.uk>
Cc: <linux-kbuild@torque.net>, <linux-kernel@vger.rutgers.edu>,
	<linux-scsi@vger.rutgers.edu>
Date:   Sun, 6 Feb 2000 14:39:55 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

    The init order is currently controlled by the order that they appear in
hosts.c, and not by the link order.

    I was kind of thinking that a better way of doing this is to use a
special ELF section that contains the initializer.  Then hosts.c would just
walk the list until it got to whatever was the end - in this case, the link
order would become quite critical.

-Eric

----- Original Message -----
From: "Alan Cox" <alan@lxorguk.ukuu.org.uk>
To: <willy@thepuffingroup.com>
Cc: <linux-kbuild@torque.net>; <linux-kernel@vger.rutgers.edu>;
<linux-scsi@vger.rutgers.edu>
Sent: Sunday, February 06, 2000 1:41 PM
Subject: Re: SCSI Makefile cleanup


> > This patch reworks drivers/scsi/Makefile to use lists instead of
> > conditionals.  I believe this idea is originally due to Michael
Chastain.
>
> Be very careful not to change the link order. You'll notice 2.3.x sound
> recently changed a little explicitly because of this. if you re-order
> the object files (eg sorting them) then you change the init order, and you
> end up initialising boards in the wrong order, causing AHA1542 to grab
> buslogic cards etc
>
> Alan
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.rutgers.edu
>


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post