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

From: Stefan Eßer <se_at_FreeBSD.org>
Date: Fri, 10 Sep 2004 20:11:44 +0200
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
_at__at_ -8502,6 +8502,7 _at__at_
 
 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
Received on Fri Sep 10 2004 - 16:11:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:11 UTC