Re: SCSI Makefile cleanup

From: Eric Youngdale (eric@andante.org)
Date: Sun Feb 06 2000 - 14:39:55 EST


    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-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:13 EST