PANIC: sym(4) didn't MODULE_DEPEND cam(4).

StefanEßer se at FreeBSD.org
Fri Sep 10 11:11:50 PDT 2004


On 2004-09-10 10:57 -0700, Matthew Jacob <mjacob44 at yahoo.com> wrote:
> 
> Committed- thanks!

How about adding a MODULE_DEPEND on PCI as well, as is common
practice in other PCI device drivers ?

Index: sym_hipd.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/sym/sym_hipd.c,v
retrieving revision 1.49
diff -u -r1.49 sym_hipd.c
--- sym_hipd.c  10 Sep 2004 17:57:33 -0000      1.49
+++ sym_hipd.c  10 Sep 2004 18:08:57 -0000
@@ -8502,6 +8502,7 @@
 
 DRIVER_MODULE(sym, pci, sym_pci_driver, sym_devclass, 0, 0);
 MODULE_DEPEND(sym, cam, 1, 1, 1);
+MODULE_DEPEND(sym, pci, 1, 1, 1);
 
 
 static struct sym_pci_chip sym_pci_dev_table[] = {


Regards, STefan


More information about the freebsd-current mailing list