diff options
author | Sebastian Siewior <bigeasy@linutronix.de> | 2008-04-28 05:43:20 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2008-07-23 01:11:28 -0400 |
commit | 0d176af5b7e658490b75427ccd23ff6a158c472b (patch) | |
tree | 912c8d568d888b9851bf8171608ec1395f75c968 /drivers/net/fec.c | |
parent | 2b9a69861c39ae4c232385def833816acc07a0a4 (diff) |
m68knommu: fec: remove FADS
I found config FADS only in ppc/Kconfig. Bye bye relic.
Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'drivers/net/fec.c')
-rw-r--r-- | drivers/net/fec.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/fec.c b/drivers/net/fec.c index 32a4f17d35fc..6abbcd5f7c3a 100644 --- a/drivers/net/fec.c +++ b/drivers/net/fec.c | |||
@@ -2,12 +2,6 @@ | |||
2 | * Fast Ethernet Controller (FEC) driver for Motorola MPC8xx. | 2 | * Fast Ethernet Controller (FEC) driver for Motorola MPC8xx. |
3 | * Copyright (c) 1997 Dan Malek (dmalek@jlc.net) | 3 | * Copyright (c) 1997 Dan Malek (dmalek@jlc.net) |
4 | * | 4 | * |
5 | * This version of the driver is specific to the FADS implementation, | ||
6 | * since the board contains control registers external to the processor | ||
7 | * for the control of the LevelOne LXT970 transceiver. The MPC860T manual | ||
8 | * describes connections using the internal parallel port I/O, which | ||
9 | * is basically all of Port D. | ||
10 | * | ||
11 | * Right now, I am very wasteful with the buffers. I allocate memory | 5 | * Right now, I am very wasteful with the buffers. I allocate memory |
12 | * pages and then divide them into 2K frame buffers. This way I know I | 6 | * pages and then divide them into 2K frame buffers. This way I know I |
13 | * have buffers large enough to hold one frame within one buffer descriptor. | 7 | * have buffers large enough to hold one frame within one buffer descriptor. |
@@ -1809,10 +1803,6 @@ static void __inline__ fec_request_intrs(struct net_device *dev) | |||
1809 | */ | 1803 | */ |
1810 | *((uint *) RPX_CSR_ADDR) &= ~BCSR2_FETHLEDMODE; | 1804 | *((uint *) RPX_CSR_ADDR) &= ~BCSR2_FETHLEDMODE; |
1811 | #endif | 1805 | #endif |
1812 | #ifdef CONFIG_FADS | ||
1813 | if (request_8xxirq(SIU_IRQ2, mii_link_interrupt, 0, "mii", dev) != 0) | ||
1814 | panic("Could not allocate MII IRQ!"); | ||
1815 | #endif | ||
1816 | } | 1806 | } |
1817 | 1807 | ||
1818 | static void __inline__ fec_get_mac(struct net_device *dev) | 1808 | static void __inline__ fec_get_mac(struct net_device *dev) |