kern/156765: [ath] Merlin fast-clock check isn't correct

Adrian Chadd adrian at FreeBSD.org
Mon May 2 14:10:10 UTC 2011


>Number:         156765
>Category:       kern
>Synopsis:       [ath] Merlin fast-clock check isn't correct
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 02 14:10:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Adrian Chadd
>Release:        -HEAD
>Organization:
>Environment:
n/a
>Description:
The HAL Merlin fast clock check simply checks the EEPROM flag.

The ath9k check is (hw.c):

               if (AR_SREV_9280_20(ah) &&
                    ((ah->eep_ops->get_eeprom(ah, EEP_MINOR_REV) <=
                      AR5416_EEP_MINOR_VER_16) ||
                     ah->eep_ops->get_eeprom(ah, EEP_FSTCLK_5G)))
                        pCap->hw_caps |= ATH9K_HW_CAP_FASTCLOCK;

Go through the code, add a capability flag for fastclock, use that instead of the #define, and make sure that capability is properly set at Merlin probe/attach time.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list