From b8f5836a3c1b98b09ea5a101147530d3855cb602 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 15 May 2009 17:02:11 +0000 Subject: [PATCH] The module name convention is foo, not if_foo. --- sys/dev/ath/if_ath_pci.c | 6 +++--- sys/dev/ixgb/if_ixgb.c | 6 +++--- sys/dev/lmc/if_lmc.c | 10 +++++----- sys/dev/malo/if_malo_pci.c | 8 ++++---- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/sys/dev/ath/if_ath_pci.c b/sys/dev/ath/if_ath_pci.c index 8b3e52e2d169..44d398db1b79 100644 --- a/sys/dev/ath/if_ath_pci.c +++ b/sys/dev/ath/if_ath_pci.c @@ -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 */ diff --git a/sys/dev/ixgb/if_ixgb.c b/sys/dev/ixgb/if_ixgb.c index c1d68582479a..1fb35445552a 100644 --- a/sys/dev/ixgb/if_ixgb.c +++ b/sys/dev/ixgb/if_ixgb.c @@ -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 */ diff --git a/sys/dev/lmc/if_lmc.c b/sys/dev/lmc/if_lmc.c index 3d1c9d5af616..c97bdfa6c99c 100644 --- a/sys/dev/lmc/if_lmc.c +++ b/sys/dev/lmc/if_lmc.c @@ -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__ */ diff --git a/sys/dev/malo/if_malo_pci.c b/sys/dev/malo/if_malo_pci.c index 2df6dd19f325..fbad5ab4c172 100644 --- a/sys/dev/malo/if_malo_pci.c +++ b/sys/dev/malo/if_malo_pci.c @@ -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);