linux/drivers/net/stmmac
Dan Carpenter 7c5365bca3 stmmac: use resource_size()
The size calculation is not correct.  It should be end - start + 1.
Use resource_size() to calculate it instead.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-03-22 18:33:10 -07:00
..
common.h stmmac: fix 'lenght' typo in comments and code 2010-02-04 09:33:21 -08:00
descs.h stmmac: rename the gmac as dwmac1000 and split core and dma parts 2010-01-07 17:06:10 -08:00
dwmac100.c net: convert multiple drivers to use netdev_for_each_mc_addr, part2 2010-02-18 14:47:49 -08:00
dwmac100.h stmmac: rename mac100 as dwmac100 and fix spare coding style 2010-01-07 17:06:09 -08:00
dwmac1000_core.c net: convert multiple drivers to use netdev_for_each_mc_addr, part2 2010-02-18 14:47:49 -08:00
dwmac1000_dma.c stmmac: fix 'lenght' typo in comments and code 2010-02-04 09:33:21 -08:00
dwmac1000.h stmmac: include netdevice.h into the common.h header 2010-01-07 17:06:11 -08:00
dwmac_dma.h stmmac: move the dma out from the main 2010-01-07 17:06:09 -08:00
dwmac_lib.c stmmac: move the dma out from the main 2010-01-07 17:06:09 -08:00
Kconfig stmmac: improve Kconfig help 2010-01-07 17:06:11 -08:00
Makefile stmmac: rename the gmac as dwmac1000 and split core and dma parts 2010-01-07 17:06:10 -08:00
stmmac_ethtool.c stmmac: fix 'lenght' typo in comments and code 2010-02-04 09:33:21 -08:00
stmmac_main.c stmmac: use resource_size() 2010-03-22 18:33:10 -07:00
stmmac_mdio.c stmmac: include netdevice.h into the common.h header 2010-01-07 17:06:11 -08:00
stmmac_timer.c stmmac: fixed a compilation error when use the external timer 2009-11-23 10:37:47 -08:00
stmmac_timer.h stmmac: do not fail when the timer cannot be used. 2009-11-23 10:37:52 -08:00
stmmac.h stmmac: update the driver's module version 2010-01-07 17:06:12 -08:00