diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-12-29 16:35:43 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-12-29 16:35:43 +0000 |
commit | d0ed783f34132a6456fbee80ce5d121faf55fb8c (patch) | |
tree | ed7bb65b9ba2d86bafa9ba4631718717cd944d01 /drivers/net/saa9730.c | |
parent | 041d5780d54608a859ac6fd0fac06ec0e670aa5b (diff) |
Bunch more patches from MIPS.
Diffstat (limited to 'drivers/net/saa9730.c')
-rw-r--r-- | drivers/net/saa9730.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/net/saa9730.c b/drivers/net/saa9730.c index 43063a1c1..17d7b6b3d 100644 --- a/drivers/net/saa9730.c +++ b/drivers/net/saa9730.c @@ -23,6 +23,7 @@ * */ +#include <linux/init.h> #include <linux/netdevice.h> #include <linux/delay.h> #include <linux/etherdevice.h> @@ -45,8 +46,8 @@ int lan_saa9730_debug; /* Non-zero only if the current card is a PCI with BIOS-set IRQ. */ static unsigned int pci_irq_line = 0; -#define INL(a) le32_to_cpu(inl((unsigned long)a)) -#define OUTL(x,a) outl(cpu_to_le32(x),(unsigned long)a) +#define INL(a) inl((unsigned long)a) +#define OUTL(x,a) outl(x,(unsigned long)a) static void evm_saa9730_enable_lan_int(struct lan_saa9730_private *lp) { @@ -1003,12 +1004,7 @@ static int lan_saa9730_init(struct net_device *dev, int ioaddr, int irq) /* Set SAA9730 EVM base address. */ lp->evm_saa9730_regs = (t_evm_saa9730_regmap *) (ioaddr + SAA9730_EVM_REGS_ADDR); -#ifdef CONFIG_REMOTE_DEBUG - if (saa9730_kgdb_active) - saa9730_kgdb_setup((t_uart_saa9730_regmap *) (ioaddr - + - SAA9730_UART_REGS_ADDR)); -#endif + /* Allocate LAN RX/TX frame buffer space. */ if (lan_saa9730_allocate_buffers(lp)) return -1; |