svn commit: r211630 - user/adrian/if_ath_devel/sys/dev/ath/ath_hal/ar5416

Adrian Chadd adrian at FreeBSD.org
Sun Aug 22 16:13:52 UTC 2010


Author: adrian
Date: Sun Aug 22 16:13:51 2010
New Revision: 211630
URL: http://svn.freebsd.org/changeset/base/211630

Log:
  Revert the incorrectly committed part to the last commit.

Modified:
  user/adrian/if_ath_devel/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c

Modified: user/adrian/if_ath_devel/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c
==============================================================================
--- user/adrian/if_ath_devel/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c	Sun Aug 22 16:12:44 2010	(r211629)
+++ user/adrian/if_ath_devel/sys/dev/ath/ath_hal/ar5416/ar5416_attach.c	Sun Aug 22 16:13:51 2010	(r211630)
@@ -216,9 +216,6 @@ ar5416Attach(uint16_t devid, HAL_SOFTC s
 	ahp = &ahp5416->ah_5212;
 	ah = &ahp->ah_priv.h;
 
-	if (devid == AR5416_AR9100_DEVID)
-		AH_PRIVATE((ah))->ah_macVersion = AR_XSREV_VERSION_9100;
-
 	if (!ar5416SetResetReg(ah, HAL_RESET_POWER_ON)) {
 		/* reset chip */
 		HALDEBUG(ah, HAL_DEBUG_ANY, "%s: couldn't reset chip\n", __func__);
@@ -836,8 +833,6 @@ ar5416Probe(uint16_t vendorid, uint16_t 
 	if (vendorid == ATHEROS_VENDOR_ID &&
 	    (devid == AR5416_DEVID_PCI || devid == AR5416_DEVID_PCIE))
 		return "Atheros 5416";
-	if (vendorid == ATHEROS_VENDOR_ID && devid == AR5416_AR9100_DEVID)
-		return "Atheros 910x";
 	return AH_NULL;
 }
 AH_CHIP(AR5416, ar5416Probe, ar5416Attach);


More information about the svn-src-user mailing list