diff options
author | Dale Farnsworth <dale@farnsworth.org> | 2007-10-29 18:39:01 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-30 14:32:16 -0400 |
commit | 3077d78a74a62c5f531b005efdbcc01a3f2f09ca (patch) | |
tree | 8a3a3bf0a965ab7d06592c0e9af9e3c404f05c08 /include | |
parent | 2ea10b1a545562658b0eccb24b0feda3f77d4d36 (diff) |
mv643xx_eth: Fix MV643XX_ETH offsets used by Pegasos 2
In the mv643xx_eth driver, we now use offsets from the ethernet
register block within the chip, but the pegasos 2 platform still
needs offsets from the full chip's register base address.
Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mv643xx_eth.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/mv643xx_eth.h b/include/linux/mv643xx_eth.h index 8df230a279a0..30e11aa3c1c9 100644 --- a/include/linux/mv643xx_eth.h +++ b/include/linux/mv643xx_eth.h | |||
@@ -8,9 +8,9 @@ | |||
8 | #define MV643XX_ETH_NAME "mv643xx_eth" | 8 | #define MV643XX_ETH_NAME "mv643xx_eth" |
9 | #define MV643XX_ETH_SHARED_REGS 0x2000 | 9 | #define MV643XX_ETH_SHARED_REGS 0x2000 |
10 | #define MV643XX_ETH_SHARED_REGS_SIZE 0x2000 | 10 | #define MV643XX_ETH_SHARED_REGS_SIZE 0x2000 |
11 | #define MV643XX_ETH_BAR_4 0x220 | 11 | #define MV643XX_ETH_BAR_4 0x2220 |
12 | #define MV643XX_ETH_SIZE_REG_4 0x224 | 12 | #define MV643XX_ETH_SIZE_REG_4 0x2224 |
13 | #define MV643XX_ETH_BASE_ADDR_ENABLE_REG 0x0290 | 13 | #define MV643XX_ETH_BASE_ADDR_ENABLE_REG 0x2290 |
14 | 14 | ||
15 | struct mv643xx_eth_platform_data { | 15 | struct mv643xx_eth_platform_data { |
16 | int port_number; | 16 | int port_number; |