From owner-freebsd-current@FreeBSD.ORG Wed Jul 27 05:43:45 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1654516A41F for ; Wed, 27 Jul 2005 05:43:45 +0000 (GMT) (envelope-from jhay@meraka.csir.co.za) Received: from zibbi.meraka.csir.co.za (zibbi.meraka.csir.co.za [146.64.24.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id C254D43D48 for ; Wed, 27 Jul 2005 05:43:42 +0000 (GMT) (envelope-from jhay@meraka.csir.co.za) Received: by zibbi.meraka.csir.co.za (Postfix, from userid 3973) id 04A4222; Wed, 27 Jul 2005 07:43:38 +0200 (SAST) Date: Wed, 27 Jul 2005 07:43:38 +0200 From: John Hay To: current@freebsd.org Message-ID: <20050727054338.GA65081@zibbi.meraka.csir.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Cc: Subject: only one ath_rate* kld? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2005 05:43:45 -0000 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