> atadisk.ko and atapicd.ko still do not depend on atapci.ko.  So if you
> don't ask to load atapci.ko in loader.conf you will get a panic
> because the kernel won't find the root fs.  I added MODULE_DEPEND() on
> atapci macro to ata-disk.c and this solved the problem.  Perhaps this
> is just a feature.

MODULE_DEPEND should only be there when when there's a link time
dependency between modles.  If you were to add the atapci.ko as a
depend, then you destroy the ability to boot on machines that don't
have a pci bus in the kernel....

Warner
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to