]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] bcm43xx:Eliminate some 'G Mode Enable' magic numbers
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 14 Mar 2007 20:06:22 +0000 (15:06 -0500)
committerJeff Garzik <jeff@garzik.org>
Sat, 28 Apr 2007 15:00:59 +0000 (11:00 -0400)
commitaa93c85d09295dcb269fc1a0690d9ddfb58f46cc
treeaa0631c587cf037e7ecb55af60b550d61cb3faf6
parentaec91028db71cae7efa1101cf2e38c407096f023
[PATCH] bcm43xx:Eliminate some 'G Mode Enable' magic numbers

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, 0x20000000, 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 State High registers are given definitions to help in
following the code.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/bcm43xx/bcm43xx.h
drivers/net/wireless/bcm43xx/bcm43xx_main.c
drivers/net/wireless/bcm43xx/bcm43xx_phy.c