Date: Wed, 14 Jan 2009 20:03:51 +0000 (UTC) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r187235 - user/sam/wifi/sys/dev/ath/ath_hal Message-ID: <200901142003.n0EK3pY3052491@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sam Date: Wed Jan 14 20:03:50 2009 New Revision: 187235 URL: http://svn.freebsd.org/changeset/base/187235 Log: nuke ath_hal_ispublicsafetysku; now unused (and in general should never have existed) Modified: user/sam/wifi/sys/dev/ath/ath_hal/ah.h user/sam/wifi/sys/dev/ath/ath_hal/ah_regdomain.c Modified: user/sam/wifi/sys/dev/ath/ath_hal/ah.h ============================================================================== --- user/sam/wifi/sys/dev/ath/ath_hal/ah.h Wed Jan 14 20:00:58 2009 (r187234) +++ user/sam/wifi/sys/dev/ath/ath_hal/ah.h Wed Jan 14 20:03:50 2009 (r187235) @@ -883,11 +883,6 @@ extern uint16_t __ahdecl ath_hal_compute uint16_t rateix, HAL_BOOL shortPreamble); /* - * Return if device is public safety. - */ -extern HAL_BOOL __ahdecl ath_hal_ispublicsafetysku(struct ath_hal *); - -/* * Return if device is operating in 900 MHz band. */ extern HAL_BOOL ath_hal_isgsmsku(struct ath_hal *); Modified: user/sam/wifi/sys/dev/ath/ath_hal/ah_regdomain.c ============================================================================== --- user/sam/wifi/sys/dev/ath/ath_hal/ah_regdomain.c Wed Jan 14 20:00:58 2009 (r187234) +++ user/sam/wifi/sys/dev/ath/ath_hal/ah_regdomain.c Wed Jan 14 20:03:50 2009 (r187235) @@ -2146,27 +2146,6 @@ ath_hal_getwirelessmodes(struct ath_hal } /* - * Return if device is public safety. - */ -HAL_BOOL -ath_hal_ispublicsafetysku(struct ath_hal *ah) -{ - uint16_t rd = getEepromRD(ah); - - switch (rd) { - case FCC4_FCCA: - case CTRY_UNITED_STATES_FCC49 | COUNTRY_ERD_FLAG: - return AH_TRUE; - case DEBUG_REG_DMN: - case NO_ENUMRD: - if (AH_PRIVATE(ah)->ah_countryCode == CTRY_UNITED_STATES_FCC49) - return AH_TRUE; - break; - } - return AH_FALSE; -} - -/* * Return if device is actually operating in 900 MHz band. */ HAL_BOOL
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901142003.n0EK3pY3052491>