android_kernel_xiaomi_sm8350/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 fixes 2008-01-12 17:33:03 -05:00
de4x5.h
de2104x.c
dmfe.c [TULIP] DMFE: Fix SROM parsing regression. 2008-01-23 03:11:39 -08:00
eeprom.c
interrupt.c
Kconfig
Makefile
media.c
pnic2.c
pnic.c
timer.c
tulip_core.c endianness noise in tulip_core 2008-01-12 17:33:04 -05:00
tulip.h
uli526x.c
winbond-840.c
xircom_cb.c xircom_cb endianness fixes 2008-01-12 17:33:03 -05:00
xircom_tulip_cb.c