mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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>
This commit is contained in:
parent
2b9a69861c
commit
0d176af5b7
@ -2,12 +2,6 @@
|
|||||||
* Fast Ethernet Controller (FEC) driver for Motorola MPC8xx.
|
* Fast Ethernet Controller (FEC) driver for Motorola MPC8xx.
|
||||||
* Copyright (c) 1997 Dan Malek (dmalek@jlc.net)
|
* Copyright (c) 1997 Dan Malek (dmalek@jlc.net)
|
||||||
*
|
*
|
||||||
* This version of the driver is specific to the FADS implementation,
|
|
||||||
* since the board contains control registers external to the processor
|
|
||||||
* for the control of the LevelOne LXT970 transceiver. The MPC860T manual
|
|
||||||
* describes connections using the internal parallel port I/O, which
|
|
||||||
* is basically all of Port D.
|
|
||||||
*
|
|
||||||
* Right now, I am very wasteful with the buffers. I allocate memory
|
* Right now, I am very wasteful with the buffers. I allocate memory
|
||||||
* pages and then divide them into 2K frame buffers. This way I know I
|
* pages and then divide them into 2K frame buffers. This way I know I
|
||||||
* have buffers large enough to hold one frame within one buffer descriptor.
|
* 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)
|
|||||||
*/
|
*/
|
||||||
*((uint *) RPX_CSR_ADDR) &= ~BCSR2_FETHLEDMODE;
|
*((uint *) RPX_CSR_ADDR) &= ~BCSR2_FETHLEDMODE;
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_FADS
|
|
||||||
if (request_8xxirq(SIU_IRQ2, mii_link_interrupt, 0, "mii", dev) != 0)
|
|
||||||
panic("Could not allocate MII IRQ!");
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __inline__ fec_get_mac(struct net_device *dev)
|
static void __inline__ fec_get_mac(struct net_device *dev)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user