kernel-ark/drivers/net/tulip
David S. Miller 4c93566e2a [TULIP] DMFE: Fix SROM parsing regression.
Changeset 16b110c3fd (dmfe warning fix)
bothed up the offsets read from the SROM so that it doesn't read the
same datums it used to.

The change made transformations like turning:

	"srom + 34"

into

	"(__le32 *)srom + 34/4"

which doesn't work because 4 does not divide evenly
into 34 so we're using a different pointer offset
than in the original code.

I've changed theses cases in dmfe_parse_srom() to
consistently use "(type *)(srom + offset)" preserving
the offsets from the original code.

Signed-off-by: David S. Miller <davem@davemloft.net>
2008-01-23 03:11:39 -08:00
..
21142.c
de4x5.c
de4x5.h
de2104x.c
dmfe.c
eeprom.c
interrupt.c
Kconfig
Makefile
media.c
pnic2.c
pnic.c
timer.c
tulip_core.c
tulip.h
uli526x.c
winbond-840.c
xircom_cb.c
xircom_tulip_cb.c