-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing ethernet driver compilation error for i.MX31 ADS board
This is only a partial revert of "ARM: mx3/mx31ads: fold board header in its only user" [commit ccfa7c2)] As some of the the board defines are also used in the cs89x0 ethernet driver by the i.MX31 ADS. Signed-off-by: Ian Lartey <ian@opensource.wolfsonmicro.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
- Loading branch information
Ian Lartey
authored and
Sascha Hauer
committed
Oct 19, 2010
1 parent
a392741
commit d24d96e
Showing
2 changed files
with
34 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* Copyright 2005-2007 Freescale Semiconductor, Inc. All Rights Reserved. | ||
*/ | ||
|
||
/* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 2 as | ||
* published by the Free Software Foundation. | ||
*/ | ||
|
||
#ifndef __ASM_ARCH_MXC_BOARD_MX31ADS_H__ | ||
#define __ASM_ARCH_MXC_BOARD_MX31ADS_H__ | ||
|
||
#include <mach/hardware.h> | ||
|
||
/* | ||
* These symbols are used by drivers/net/cs89x0.c. | ||
* This is ugly as hell, but we have to provide them until | ||
* someone fixed the driver. | ||
*/ | ||
|
||
/* Base address of PBC controller */ | ||
#define PBC_BASE_ADDRESS MX31_CS4_BASE_ADDR_VIRT | ||
/* Offsets for the PBC Controller register */ | ||
|
||
/* Ethernet Controller IO base address */ | ||
#define PBC_CS8900A_IOBASE 0x020000 | ||
|
||
#define MXC_EXP_IO_BASE (MXC_BOARD_IRQ_START) | ||
|
||
#define EXPIO_INT_ENET_INT (MXC_EXP_IO_BASE + 8) | ||
|
||
#endif /* __ASM_ARCH_MXC_BOARD_MX31ADS_H__ */ |