linux/drivers/net/ethernet/8390
Arnd Bergmann b261c20fe0 net: ax88796: avoid 64 bit arithmetic
When building ax88796 on an ARM platform with 64-bit resource_size_t,
we currently get

drivers/net/ethernet/8390/ax88796.c:875: undefined reference to `__aeabi_uldivmod'

because we do a division on the length of the MMIO resource.
Since we know that this resource is very short, using an
"unsigned long" instead of "resource_size_t" is entirely
sufficient, and avoids this link-time error.

Cc: Ben Dooks <ben-linux@fluff.org>
Cc: netdev@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-04-19 17:57:48 -04:00
..
8390.c
8390.h
8390p.c
apne.c
ax88796.c net: ax88796: avoid 64 bit arithmetic 2013-04-19 17:57:48 -04:00
axnet_cs.c
etherh.c 8390: remove __dev* attributes 2012-12-03 11:16:32 -08:00
hydra.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00
Kconfig Driver core patches for 3.9-rc1 2013-02-21 12:05:51 -08:00
lib8390.c
mac8390.c
Makefile drivers/net: delete the really obsolete 8390 based 10Mbit ISA drivers 2013-01-22 10:39:54 -05:00
mcf8390.c
ne-h8300.c
ne.c ne2000: add the right platform device 2012-11-20 13:48:49 -05:00
ne2k-pci.c remove init of dev->perm_addr in drivers 2013-01-08 18:00:48 -08:00
pcnet_cs.c
smc-ultra.c
stnic.c
wd.c
zorro8390.c drivers/net: fix up function prototypes after __dev* removals 2012-12-07 14:22:22 -05:00