Date: Wed, 27 Jul 2005 07:43:38 +0200 From: John Hay <jhay@icomtek.csir.co.za> To: current@freebsd.org Subject: only one ath_rate* kld? Message-ID: <20050727054338.GA65081@zibbi.meraka.csir.co.za>
next in thread | raw e-mail | index | archive | help
Hi,
I noticed that all the modules/ath_rate* Makefiles use one name for
the kld, which means only the last one will exist in your kernel
directory. I wanted to experiment with the different rate klds to
see what works best in our environment. At the end I use this patch
and then just load the one I want to use in loader.conf.
John
--
John Hay -- John.Hay@meraka.csir.co.za / jhay@FreeBSD.org
Index: ath_rate_amrr/Makefile
===================================================================
RCS file: /home/ncvs/src/sys/modules/ath_rate_amrr/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- ath_rate_amrr/Makefile 8 Dec 2004 17:38:37 -0000 1.1
+++ ath_rate_amrr/Makefile 12 Jun 2005 09:55:29 -0000
@@ -38,7 +38,7 @@
.PATH: ${.CURDIR}/../../dev/ath/ath_rate/amrr
-KMOD= ath_rate
+KMOD= ath_rate_amrr
SRCS= amrr.c
SRCS+= opt_bdg.h device_if.h bus_if.h pci_if.h opt_inet.h
Index: ath_rate_onoe/Makefile
===================================================================
RCS file: /home/ncvs/src/sys/modules/ath_rate_onoe/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- ath_rate_onoe/Makefile 8 Dec 2004 17:38:37 -0000 1.1
+++ ath_rate_onoe/Makefile 12 Jun 2005 09:55:48 -0000
@@ -38,7 +38,7 @@
.PATH: ${.CURDIR}/../../dev/ath/ath_rate/onoe
-KMOD= ath_rate
+KMOD= ath_rate_onoe
SRCS= onoe.c
SRCS+= opt_bdg.h device_if.h bus_if.h pci_if.h opt_inet.h
Index: ath_rate_sample/Makefile
===================================================================
RCS file: /home/ncvs/src/sys/modules/ath_rate_sample/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- ath_rate_sample/Makefile 11 Mar 2005 01:39:57 -0000 1.1
+++ ath_rate_sample/Makefile 12 Jun 2005 09:55:58 -0000
@@ -38,7 +38,7 @@
.PATH: ${.CURDIR}/../../dev/ath/ath_rate/sample
-KMOD= ath_rate
+KMOD= ath_rate_sample
SRCS= sample.c
SRCS+= opt_bdg.h device_if.h bus_if.h pci_if.h opt_inet.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050727054338.GA65081>
