diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-02-24 13:38:48 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-02-24 13:38:48 +0000 |
commit | 7ef0d8adf860be15e41507b7b4b8dfde5bf43437 (patch) | |
tree | ebea5d53c81a78bbf4a985f4ad0398276ea88405 /target | |
parent | 6431d5934433cf39b6720364aa5f6ed2011401dc (diff) | |
download | upstream-7ef0d8adf860be15e41507b7b4b8dfde5bf43437.tar.gz upstream-7ef0d8adf860be15e41507b7b4b8dfde5bf43437.tar.bz2 upstream-7ef0d8adf860be15e41507b7b4b8dfde5bf43437.zip |
kernel: fix typos in the AR8216 header file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19834 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/generic-2.6/files/drivers/net/phy/ar8216.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/generic-2.6/files/drivers/net/phy/ar8216.h b/target/linux/generic-2.6/files/drivers/net/phy/ar8216.h index b8a4f23d45..741dce917d 100644 --- a/target/linux/generic-2.6/files/drivers/net/phy/ar8216.h +++ b/target/linux/generic-2.6/files/drivers/net/phy/ar8216.h @@ -62,16 +62,16 @@ #define AR8216_ATU_ACTIVE BIT(3) #define AR8216_ATU_PORT_NUM BITS(8, 4) #define AR8216_ATU_FULL_VIO BIT(12) -#define AR8216_ATU_ADDR4 BIT(16, 8) -#define AR8216_ATU_ADDR5 BIT(24, 8) +#define AR8216_ATU_ADDR4 BITS(16, 8) +#define AR8216_ATU_ADDR5 BITS(24, 8) #define AR8216_REG_ATU_DATA 0x0054 -#define AR8216_ATU_ADDR3 BIT(0, 8) -#define AR8216_ATU_ADDR2 BIT(8, 8) -#define AR8216_ATU_ADDR1 BIT(16, 8) -#define AR8216_ATU_ADDR0 BIT(24, 8) +#define AR8216_ATU_ADDR3 BITS(0, 8) +#define AR8216_ATU_ADDR2 BITS(8, 8) +#define AR8216_ATU_ADDR1 BITS(16, 8) +#define AR8216_ATU_ADDR0 BITS(24, 8) -#define AR8216_PORT_OFFSET(_i) (0x0100 * (i + 1)) +#define AR8216_PORT_OFFSET(_i) (0x0100 * (_i + 1)) #define AR8216_REG_PORT_STATUS(_i) (AR8216_PORT_OFFSET(_i) + 0x0000) #define AR8216_PORT_STATUS_SPEED BIT(0) #define AR8216_PORT_STATUS_SPEED_ERR BIT(1) |