lkml.org 
[lkml]   [2000]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: SCSI Makefile cleanup
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.041 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site