Re: [PATCH] mv643xx ethernet driver

From: Stephen Hemminger
Date: Fri Mar 02 2007 - 15:26:26 EST


On Thu, 01 Mar 2007 23:52:06 -0500
Giridhar Pemmasani <giri@xxxxxxxxxxxxxxxxx> wrote:

> During initialization, mv643xx driver registers IRQ before setting up tx/rx
> rings. This causes kernel oops because mv643xx_poll, which gets called
> right after registering IRQ, calls netif_rx_complete, which accesses the rx
> ring (I don't have the oops message anymore; I just remember this sequence
> of calls). Attached (tested) patch first initializes the rx/tx rings and
> then registers the IRQ.
>
> Giri

Wrong mailing list network device patches should be sent to:

NETWORK DEVICE DRIVERS
P: Andrew Morton
M: akpm@xxxxxxxxxxxxxxxxxxxx
P: Jeff Garzik
M: jgarzik@xxxxxxxxx
L: netdev@xxxxxxxxxxxxxxx
T: git kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git
S: Maintained

--
Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/