Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 May 2010 10:13:42 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Warner Losh <imp@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r207472 - in head/sys: conf dev/ath/ath_hal/ar5212
Message-ID:  <9624CC6A-EEB1-4492-9E62-7ACD0BF6F39C@gsoft.com.au>
In-Reply-To: <201005011636.o41GaFsK084343@svn.freebsd.org>
References:  <201005011636.o41GaFsK084343@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 02/05/2010, at 2:06 AM, Warner Losh wrote:
>  Unfortunately, this condition is impossible to detect at runtime
>  without MIPS specific ifdefs.  Rather than cast an overly-broad net
>  like Linux/OpenWRT dues (which enables this workaround all the time on
>  MIPS32 platforms), we put this option in the kernel for just the
>  affected machines.  Sam didn't like this aspect of the patch when he
>  reviewed it, and I'd love to hear sane proposals on how to fix it :)

Could you do TUNABLE_INT in the MIPS code and TUNABLE_INT_FETCH in ath_hal?

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C









Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9624CC6A-EEB1-4492-9E62-7ACD0BF6F39C>