Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 2009 16:38:42 +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: r192146 - head/sys/dev/bwi
Message-ID:  <200905151638.n4FGcgwT028650@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri May 15 16:38:42 2009
New Revision: 192146
URL: http://svn.freebsd.org/changeset/base/192146

Log:
  Cleanup module declarations:
  	Use "bwi" consistently
  	No need to have separate cardbus attachment
  	No need to declare a module version

Modified:
  head/sys/dev/bwi/if_bwi_pci.c

Modified: head/sys/dev/bwi/if_bwi_pci.c
==============================================================================
--- head/sys/dev/bwi/if_bwi_pci.c	Fri May 15 16:03:11 2009	(r192145)
+++ head/sys/dev/bwi/if_bwi_pci.c	Fri May 15 16:38:42 2009	(r192146)
@@ -245,9 +245,7 @@ static driver_t bwi_driver = {
 	sizeof (struct bwi_pci_softc)
 };
 static	devclass_t bwi_devclass;
-DRIVER_MODULE(if_bwi, pci, bwi_driver, bwi_devclass, 0, 0);
-DRIVER_MODULE(bwi, cardbus, bwi_driver, bwi_devclass, 0, 0);
-MODULE_VERSION(if_bwi, 1);
-MODULE_DEPEND(if_bwi, wlan, 1, 1, 1);		/* 802.11 media layer */
-MODULE_DEPEND(if_bwi, firmware, 1, 1, 1);	/* firmware support */
-MODULE_DEPEND(if_bwi, wlan_amrr, 1, 1, 1);
+DRIVER_MODULE(bwi, pci, bwi_driver, bwi_devclass, 0, 0);
+MODULE_DEPEND(bwi, wlan, 1, 1, 1);		/* 802.11 media layer */
+MODULE_DEPEND(bwi, firmware, 1, 1, 1);		/* firmware support */
+MODULE_DEPEND(bwi, wlan_amrr, 1, 1, 1);



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