Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2012 16:45:57 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r236009 - head/sys/dev/ath/ath_hal/ar5416
Message-ID:  <201205251645.q4PGjvYQ021687@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Fri May 25 16:45:56 2012
New Revision: 236009
URL: http://svn.freebsd.org/changeset/base/236009

Log:
  * According to the reference code, AR_WA_D3_L1_DISBABLE is bit 14.
  * Add some other WAR bits (very usefully described too) in preparation for
    porting over some suspend/resume fixes from ath9k/Atheros.
  
  Obtained from:	Qualcomm Atheros

Modified:
  head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h

Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h
==============================================================================
--- head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h	Fri May 25 16:40:31 2012	(r236008)
+++ head/sys/dev/ath/ath_hal/ar5416/ar5416reg.h	Fri May 25 16:45:56 2012	(r236009)
@@ -253,11 +253,15 @@
 #define	AR_MAC_LED_ASSOC_PEND	0x2	/* STA is trying to associate */
 #define	AR_MAC_LED_ASSOC_S	10
 
+#define	AR_WA_BIT6		0x00000040
+#define	AR_WA_BIT7		0x00000080
+#define	AR_WA_D3_L1_DISABLE	0x00004000	/* */
 #define	AR_WA_UNTIE_RESET_EN	0x00008000	/* ena PCI reset to POR */
 #define	AR_WA_RESET_EN		0x00040000	/* ena AR_WA_UNTIE_RESET_EN */
 #define	AR_WA_ANALOG_SHIFT	0x00100000
 #define	AR_WA_POR_SHORT		0x00200000	/* PCIE phy reset control */
-#define	AR_WA_D3_L1_DISABLE	0x00800000	/* bit 23 */
+#define	AR_WA_BIT22		0x00400000
+#define	AR_WA_BIT23		0x00800000
 
 #define	AR_WA_DEFAULT		0x0000073f
 #define	AR9280_WA_DEFAULT	0x0040073b	/* disable bit 2, see commit */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205251645.q4PGjvYQ021687>