[RFC] Eliminate some 'G Mode Enable' magic numbers

2007-03-14 Thread Larry Finger
In code manipulating the TM State Low register of 802.11 cores, two different magic numbers are used to reference the 'G Mode Enable' bit. One of these, 0x2000, is clear, but the other, (0x800 18), is not. This patch replaces both types with a defined constant. In addition, two bits in the TM

Re: [RFC] Eliminate some 'G Mode Enable' magic numbers

2007-03-14 Thread John W. Linville
On Wed, Mar 14, 2007 at 11:18:28AM -0500, Larry Finger wrote: In code manipulating the TM State Low register of 802.11 cores, two different magic numbers are used to reference the 'G Mode Enable' bit. One of these, 0x2000, is clear, but the other, (0x800 18), is not. This patch replaces