Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] Fix for the pcnet32 ethernet driver
@ 2004-11-18 18:41 Manish Lachwani
  0 siblings, 0 replies; only message in thread
From: Manish Lachwani @ 2004-11-18 18:41 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf

[-- Attachment #1: Type: text/plain, Size: 239 bytes --]

Hi Ralf,

This patch fixes the pcnet32 ethernet driver to clear any other interrupt
when setting interrupt enable in the pcnet32 interrupt handler. This has been
tested on the NEC CMB-VR4133 board.

Please review 

Thanks
Manish Lachwani


[-- Attachment #2: common_mips_NEC_eth_MR9056.patch --]
[-- Type: text/plain, Size: 663 bytes --]

Source: MontaVista Software, Inc. | http;//www.mvista.com | Manish Lachwani <mlachwani@mvista.com>
Type: Defect Fix
Disposition: Submitted to Linux-MIPS
Description:
	Fix the Interrupt Enable for the PcNet32 driver. Ack any
	remaining interrupts. Tested on the NEC CMB-VR4133

Index: linux/drivers/net/pcnet32.c
===================================================================
--- linux.orig/drivers/net/pcnet32.c
+++ linux/drivers/net/pcnet32.c
@@ -1897,7 +1897,7 @@
     }
 
     /* Set interrupt enable. */
-    lp->a.write_csr (ioaddr, 0, 0x0040);
+    lp->a.write_csr (ioaddr, 0, 0x7940);
     lp->a.write_rap (ioaddr,rap);
 
     if (netif_msg_intr(lp))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-11-18 18:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-18 18:41 [PATCH] Fix for the pcnet32 ethernet driver Manish Lachwani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox