svn commit: r236655 - in stable/9/sys/dev: hptiop hptmv isp

Eitan Adler eadler at FreeBSD.org
Wed Jun 6 04:38:26 UTC 2012


Author: eadler
Date: Wed Jun  6 04:38:25 2012
New Revision: 236655
URL: http://svn.freebsd.org/changeset/base/236655

Log:
  MFC r236379:
  	   Adding missing dependancies for loading hptiop(4), hptmv(4) and isp(4) as modules.
  
  PR:		kern/166239
  Approved by:	cperciva (implicit)

Modified:
  stable/9/sys/dev/hptiop/hptiop.c
  stable/9/sys/dev/hptmv/entry.c
  stable/9/sys/dev/isp/isp_pci.c
  stable/9/sys/dev/isp/isp_sbus.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/hptiop/hptiop.c
==============================================================================
--- stable/9/sys/dev/hptiop/hptiop.c	Wed Jun  6 04:26:27 2012	(r236654)
+++ stable/9/sys/dev/hptiop/hptiop.c	Wed Jun  6 04:38:25 2012	(r236655)
@@ -1268,6 +1268,7 @@ static driver_t hptiop_pci_driver = {
 };
 
 DRIVER_MODULE(hptiop, pci, hptiop_pci_driver, hptiop_devclass, 0, 0);
+MODULE_DEPEND(hptiop, cam, 1, 1, 1);
 
 static int hptiop_probe(device_t dev)
 {

Modified: stable/9/sys/dev/hptmv/entry.c
==============================================================================
--- stable/9/sys/dev/hptmv/entry.c	Wed Jun  6 04:26:27 2012	(r236654)
+++ stable/9/sys/dev/hptmv/entry.c	Wed Jun  6 04:38:25 2012	(r236655)
@@ -108,6 +108,7 @@ static devclass_t	hpt_devclass;
 
 #define __DRIVER_MODULE(p1, p2, p3, p4, p5, p6) DRIVER_MODULE(p1, p2, p3, p4, p5, p6)
 __DRIVER_MODULE(PROC_DIR_NAME, pci, hpt_pci_driver, hpt_devclass, 0, 0);
+MODULE_DEPEND(PROC_DIR_NAME, cam, 1, 1, 1);
 
 #define ccb_ccb_ptr spriv_ptr0
 #define ccb_adapter ccb_h.spriv_ptr1

Modified: stable/9/sys/dev/isp/isp_pci.c
==============================================================================
--- stable/9/sys/dev/isp/isp_pci.c	Wed Jun  6 04:26:27 2012	(r236654)
+++ stable/9/sys/dev/isp/isp_pci.c	Wed Jun  6 04:38:25 2012	(r236655)
@@ -372,6 +372,8 @@ static driver_t isp_pci_driver = {
 };
 static devclass_t isp_devclass;
 DRIVER_MODULE(isp, pci, isp_pci_driver, isp_devclass, 0, 0);
+MODULE_DEPEND(isp, cam, 1, 1, 1);
+MODULE_DEPEND(isp, firmware, 1, 1, 1);
 
 static int
 isp_pci_probe(device_t dev)

Modified: stable/9/sys/dev/isp/isp_sbus.c
==============================================================================
--- stable/9/sys/dev/isp/isp_sbus.c	Wed Jun  6 04:26:27 2012	(r236654)
+++ stable/9/sys/dev/isp/isp_sbus.c	Wed Jun  6 04:38:25 2012	(r236655)
@@ -106,6 +106,8 @@ static driver_t isp_sbus_driver = {
 };
 static devclass_t isp_devclass;
 DRIVER_MODULE(isp, sbus, isp_sbus_driver, isp_devclass, 0, 0);
+MODULE_DEPEND(isp, cam, 1, 1, 1);
+MODULE_DEPEND(isp, firmware, 1, 1, 1);
 
 static int
 isp_sbus_probe(device_t dev)


More information about the svn-src-stable-9 mailing list