Skip to content

Commit

Permalink
mv643xx_eth: Fix MV643XX_ETH offsets used by Pegasos 2
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
  • Loading branch information
Dale Farnsworth authored and Jeff Garzik committed Oct 30, 2007
1 parent 2ea10b1 commit 3077d78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/linux/mv643xx_eth.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#define MV643XX_ETH_NAME "mv643xx_eth"
#define MV643XX_ETH_SHARED_REGS 0x2000
#define MV643XX_ETH_SHARED_REGS_SIZE 0x2000
#define MV643XX_ETH_BAR_4 0x220
#define MV643XX_ETH_SIZE_REG_4 0x224
#define MV643XX_ETH_BASE_ADDR_ENABLE_REG 0x0290
#define MV643XX_ETH_BAR_4 0x2220
#define MV643XX_ETH_SIZE_REG_4 0x2224
#define MV643XX_ETH_BASE_ADDR_ENABLE_REG 0x2290

struct mv643xx_eth_platform_data {
int port_number;
Expand Down

0 comments on commit 3077d78

Please sign in to comment.