[PATCH] fix breakage in pegasos_eth (fallout from commit b45d9147f1582333e180e1023624c003874b7312)

Lennert Buytenhek buytenh at wantstofly.org
Mon Oct 29 09:43:34 EST 2007


On Sat, Oct 27, 2007 at 09:02:32PM +0100, Al Viro wrote:

> diff --git a/include/linux/mv643xx_eth.h b/include/linux/mv643xx_eth.h
> index 3f27239..8df230a 100644
> --- a/include/linux/mv643xx_eth.h
> +++ b/include/linux/mv643xx_eth.h
> @@ -8,6 +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

Ideally, pegasos_eth shouldn't be poking around in mv643xx_eth
registers directly (but I'll put that on the TODO list to try
and fix later.)



More information about the Linuxppc-dev mailing list