Re: SCSI Makefile cleanup

From: david parsons (orc@pell.portland.or.us)
Date: Sun Feb 06 2000 - 15:45:32 EST


In article <linux.kernel.E12HWcc-0000aB-00@the-village.bc.nu>,
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
>> 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

    It might be worthwhile to add a requirements function call to the
    kernel, so you can have drivers explicitly load what they depend
    on before they start loading. Something like:

        need("aha1542");

    in the buslogic driver?

                  ____
    david parsons \bi/ works for me, but I do it in userland.
                   \/

-
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