diff options
author | Jaccon Bastiaansen <jaccon.bastiaansen@gmail.com> | 2012-01-26 15:46:15 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-02-01 10:49:50 -0500 |
commit | e9460a9e811dddd9ea1ae9838d9b53bfaf78cd2c (patch) | |
tree | 016ab829cf8c7cf76c117d82232a78eba1b64c01 /drivers/net/Space.c | |
parent | 62aa2b537c6f5957afd98e29f96897419ed5ebab (diff) |
CS89x0 : add platform driver support
The CS89x0 ethernet controller is used on a number of evaluation
boards, such as the MX31ADS. The current driver has memory address and
IRQ settings for each board on which this controller is used. Driver
updates are therefore required to support other boards that also use
the CS89x0. To avoid these driver updates, a better mechanism
(platform driver support) is added to communicate the board dependent
settings to the driver.
Signed-off-by: Jaccon Bastiaansen <jaccon.bastiaansen@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/net/Space.c')
-rw-r--r-- | drivers/net/Space.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/Space.c b/drivers/net/Space.c index 068c3563e00f..88bbd8ffa7fe 100644 --- a/drivers/net/Space.c +++ b/drivers/net/Space.c | |||
@@ -190,8 +190,10 @@ static struct devprobe2 isa_probes[] __initdata = { | |||
190 | {seeq8005_probe, 0}, | 190 | {seeq8005_probe, 0}, |
191 | #endif | 191 | #endif |
192 | #ifdef CONFIG_CS89x0 | 192 | #ifdef CONFIG_CS89x0 |
193 | #ifndef CONFIG_CS89x0_PLATFORM | ||
193 | {cs89x0_probe, 0}, | 194 | {cs89x0_probe, 0}, |
194 | #endif | 195 | #endif |
196 | #endif | ||
195 | #ifdef CONFIG_AT1700 | 197 | #ifdef CONFIG_AT1700 |
196 | {at1700_probe, 0}, | 198 | {at1700_probe, 0}, |
197 | #endif | 199 | #endif |