2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 22:24:09 +08:00
linux-next/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 PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
de4x5.c de4x5 fixes 2008-01-12 17:33:03 -05:00
de4x5.h more tulip endianness annotations 2007-10-14 12:41:52 -07:00
de2104x.c tulip: endianness annotations 2007-10-10 16:52:00 -07:00
dmfe.c [TULIP] DMFE: Fix SROM parsing regression. 2008-01-23 03:11:39 -08:00
eeprom.c [PATCH] Change tulip maintainer 2006-09-11 09:05:37 -04:00
interrupt.c [NET]: Do not check netif_running() and carrier state in ->poll() 2008-01-08 23:30:09 -08:00
Kconfig [NET]: Remove references to net-modules.txt. 2007-11-12 21:03:58 -08:00
Makefile [netdrvr] add 'uli526x' driver (a tulip clone) 2005-07-29 15:33:58 -04:00
media.c TULIP: Natsemi dp83840a PHY fix 2007-04-28 11:00:58 -04:00
pnic2.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
pnic.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
timer.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
tulip_core.c endianness noise in tulip_core 2008-01-12 17:33:04 -05:00
tulip.h tulip: endianness annotations 2007-10-10 16:52:00 -07:00
uli526x.c remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
winbond-840.c Typo: depricated -> deprecated 2007-10-20 03:10:57 +02:00
xircom_cb.c xircom_cb endianness fixes 2008-01-12 17:33:03 -05:00
xircom_tulip_cb.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00