svn commit: r185417 - projects/ath_hal

Sam Leffler sam at FreeBSD.org
Fri Nov 28 14:26:37 PST 2008


Author: sam
Date: Fri Nov 28 22:26:36 2008
New Revision: 185417
URL: http://svn.freebsd.org/changeset/base/185417

Log:
  use os shim for linker set walking

Modified:
  projects/ath_hal/ah.c

Modified: projects/ath_hal/ah.c
==============================================================================
--- projects/ath_hal/ah.c	Fri Nov 28 22:25:31 2008	(r185416)
+++ projects/ath_hal/ah.c	Fri Nov 28 22:26:36 2008	(r185417)
@@ -34,7 +34,7 @@ ath_hal_probe(uint16_t vendorid, uint16_
 {
 	struct ath_hal_chip **pchip;
 
-	SET_FOREACH(pchip, ah_chips) {
+	OS_SET_FOREACH(pchip, ah_chips) {
 		const char *name = (*pchip)->probe(vendorid, devid);
 		if (name != AH_NULL)
 			return name;
@@ -55,7 +55,7 @@ ath_hal_attach(uint16_t devid, HAL_SOFTC
 {
 	struct ath_hal_chip **pchip;
 
-	SET_FOREACH(pchip, ah_chips) {
+	OS_SET_FOREACH(pchip, ah_chips) {
 		struct ath_hal_chip *chip = *pchip;
 		struct ath_hal *ah;
 
@@ -90,7 +90,7 @@ ath_hal_rfprobe(struct ath_hal *ah, HAL_
 {
 	struct ath_hal_rf **prf;
 
-	SET_FOREACH(prf, ah_rfs) {
+	OS_SET_FOREACH(prf, ah_rfs) {
 		struct ath_hal_rf *rf = *prf;
 		if (rf->probe(ah))
 			return rf;


More information about the svn-src-projects mailing list