only one ath_rate* kld?

From: John Hay <jhay_at_icomtek.csir.co.za>
Date: Wed, 27 Jul 2005 07:43:38 +0200
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_at_meraka.csir.co.za / jhay_at_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
_at__at_ -38,7 +38,7 _at__at_
 
 .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
_at__at_ -38,7 +38,7 _at__at_
 
 .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
_at__at_ -38,7 +38,7 _at__at_
 
 .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
 
Received on Wed Jul 27 2005 - 03:43:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:39 UTC