FreeBSD Bugzilla – Attachment 112751 Details for
Bug 154220
[ath] AR9280 based Ubiquiti SR71-12/15 panics on interface up (on mips)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.44 KB, created by
Adrian Chadd
on 2011-01-22 16:10:10 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Adrian Chadd
Created:
2011-01-22 16:10:10 UTC
Size:
1.44 KB
patch
obsolete
>Index: ar5416/ar5416_reset.c >=================================================================== >--- ar5416/ar5416_reset.c (revision 217691) >+++ ar5416/ar5416_reset.c (working copy) >@@ -187,10 +187,12 @@ > > OS_MARK(ah, AH_MARK_RESET_LINE, __LINE__); > >+#if 0 > HALDEBUG(ah, HAL_DEBUG_RESET, ">>>2 %s: AR_PHY_DAG_CTRLCCK=0x%x\n", > __func__, OS_REG_READ(ah,AR_PHY_DAG_CTRLCCK)); > HALDEBUG(ah, HAL_DEBUG_RESET, ">>>2 %s: AR_PHY_ADC_CTL=0x%x\n", > __func__, OS_REG_READ(ah,AR_PHY_ADC_CTL)); >+#endif > > /* Set the mute mask to the correct default */ > if (AH_PRIVATE(ah)->ah_phyRev >= AR_PHY_CHIP_ID_REV_2) >Index: ar9002/ar9280v2.ini >=================================================================== >--- ar9002/ar9280v2.ini (revision 217691) >+++ ar9002/ar9280v2.ini (working copy) >@@ -67,7 +67,11 @@ > { 0x0000a274, 0x0a19c652, 0x0a19c652, 0x0a1aa652, 0x0a1aa652, 0x0a1aa652 }, > { 0x0000a358, 0x7999aa02, 0x7999aa02, 0x7999aa0e, 0x7999aa0e, 0x7999aa0e }, > { 0x0000a3d8, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 }, >+#if 0 > { 0x00007894, 0x5a508000, 0x5a508000, 0x5a508000, 0x5a508000, 0x5a508000 }, >+#else >+ { 0x00007894, 0x5a108000, 0x5a108000, 0x5a108000, 0x5a108000, 0x5a108000 }, >+#endif > }; > >The true fix is to read the relevant EEPROM value and make sure the right inivalue is written. That way multiple AR9220's of different types can be run on the same board.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 154220
: 112751