Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 2009 17:02:11 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192147 - in head/sys/dev: ath ixgb lmc malo
Message-ID:  <200905151702.n4FH2BX3029193@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri May 15 17:02:11 2009
New Revision: 192147
URL: http://svn.freebsd.org/changeset/base/192147

Log:
  The module name convention is foo, not if_foo.

Modified:
  head/sys/dev/ath/if_ath_pci.c
  head/sys/dev/ixgb/if_ixgb.c
  head/sys/dev/lmc/if_lmc.c
  head/sys/dev/malo/if_malo_pci.c

Modified: head/sys/dev/ath/if_ath_pci.c
==============================================================================
--- head/sys/dev/ath/if_ath_pci.c	Fri May 15 16:38:42 2009	(r192146)
+++ head/sys/dev/ath/if_ath_pci.c	Fri May 15 17:02:11 2009	(r192147)
@@ -250,6 +250,6 @@ static driver_t ath_pci_driver = {
 	sizeof (struct ath_pci_softc)
 };
 static	devclass_t ath_devclass;
-DRIVER_MODULE(if_ath, pci, ath_pci_driver, ath_devclass, 0, 0);
-MODULE_VERSION(if_ath, 1);
-MODULE_DEPEND(if_ath, wlan, 1, 1, 1);		/* 802.11 media layer */
+DRIVER_MODULE(ath, pci, ath_pci_driver, ath_devclass, 0, 0);
+MODULE_VERSION(ath, 1);
+MODULE_DEPEND(ath, wlan, 1, 1, 1);		/* 802.11 media layer */

Modified: head/sys/dev/ixgb/if_ixgb.c
==============================================================================
--- head/sys/dev/ixgb/if_ixgb.c	Fri May 15 16:38:42 2009	(r192146)
+++ head/sys/dev/ixgb/if_ixgb.c	Fri May 15 17:02:11 2009	(r192147)
@@ -167,10 +167,10 @@ static driver_t ixgb_driver = {
 };
 
 static devclass_t ixgb_devclass;
-DRIVER_MODULE(if_ixgb, pci, ixgb_driver, ixgb_devclass, 0, 0);
+DRIVER_MODULE(ixgb, pci, ixgb_driver, ixgb_devclass, 0, 0);
 
-MODULE_DEPEND(if_ixgb, pci, 1, 1, 1);
-MODULE_DEPEND(if_ixgb, ether, 1, 1, 1);
+MODULE_DEPEND(ixgb, pci, 1, 1, 1);
+MODULE_DEPEND(ixgb, ether, 1, 1, 1);
 
 /* some defines for controlling descriptor fetches in h/w */
 #define RXDCTL_PTHRESH_DEFAULT 128	/* chip considers prefech below this */

Modified: head/sys/dev/lmc/if_lmc.c
==============================================================================
--- head/sys/dev/lmc/if_lmc.c	Fri May 15 16:38:42 2009	(r192146)
+++ head/sys/dev/lmc/if_lmc.c	Fri May 15 17:02:11 2009	(r192147)
@@ -5751,14 +5751,14 @@ static driver_t driver =
 
 static devclass_t devclass;
 
-DRIVER_MODULE(if_lmc, pci, driver, devclass, 0, 0);
-MODULE_VERSION(if_lmc, 2);
-MODULE_DEPEND(if_lmc, pci, 1, 1, 1);
+DRIVER_MODULE(lmc, pci, driver, devclass, 0, 0);
+MODULE_VERSION(lmc, 2);
+MODULE_DEPEND(lmc, pci, 1, 1, 1);
 # if NETGRAPH
-MODULE_DEPEND(if_lmc, netgraph, NG_ABI_VERSION, NG_ABI_VERSION, NG_ABI_VERSION);
+MODULE_DEPEND(lmc, netgraph, NG_ABI_VERSION, NG_ABI_VERSION, NG_ABI_VERSION);
 # endif
 # if NSPPP
-MODULE_DEPEND(if_lmc, sppp, 1, 1, 1);
+MODULE_DEPEND(lmc, sppp, 1, 1, 1);
 # endif
 
 #endif  /* __FreeBSD__ */

Modified: head/sys/dev/malo/if_malo_pci.c
==============================================================================
--- head/sys/dev/malo/if_malo_pci.c	Fri May 15 16:38:42 2009	(r192146)
+++ head/sys/dev/malo/if_malo_pci.c	Fri May 15 17:02:11 2009	(r192147)
@@ -368,7 +368,7 @@ static driver_t malo_pci_driver = {
 };
 
 static	devclass_t malo_devclass;
-DRIVER_MODULE(if_malo, pci, malo_pci_driver, malo_devclass, 0, 0);
-MODULE_VERSION(if_malo, 1);
-MODULE_DEPEND(if_malo, wlan, 1, 1, 1);		/* 802.11 media layer */
-MODULE_DEPEND(if_malo, malofw_fw, 1, 1, 1);
+DRIVER_MODULE(malo, pci, malo_pci_driver, malo_devclass, 0, 0);
+MODULE_VERSION(malo, 1);
+MODULE_DEPEND(malo, wlan, 1, 1, 1);		/* 802.11 media layer */
+MODULE_DEPEND(malo, malofw_fw, 1, 1, 1);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905151702.n4FH2BX3029193>