OpenCloudOS-Kernel/drivers/net/arm
H Hartley Sweeten df2f7ec8c0 ep93xx_eth.c general cleanup
General cleanup of the ep93xx_eth driver.

1) Use pr_fmt() to prefix the module name and __func__ to the error 
   messages.
2) <linux/io.h> instead of <asm/io.h>
3) <mach/hardware.h> instead of <mach/ep93xx-regs.h> and <mach/platform.h>
4) Move the ep93xx_mdio_read (and ep93xx_mdio_write) function to eliminate
   the function prototype.
5) Change all the printk(<level> messages to pr_<level> and remove the 
   __func__ argument.
6) Use platform_get_{resource/irq} to get the platform resources and add
   an error check.
7) Use resource_size() for request_mem_region() and ioremap().
8) Use %pM to print the MAC address at the end of the probe.
9) Use dev->dev_addr not data->dev_addr for the MAC argument because a
   random address could be used if the platform does not supply one.

The message at the end of the probe is left as a printk since it displays
cleaner without the function name that would be displayed with pr_info().

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Lennert Buytenhek <kernel@wantstofly.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-01-08 00:53:03 -08:00
..
Kconfig Add mac driver for w90p910 2009-07-20 07:45:05 -07:00
Makefile Add mac driver for w90p910 2009-07-20 07:45:05 -07:00
am79c961a.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
am79c961a.h fix file specification in comments 2006-10-03 23:01:26 +02:00
at91_ether.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-07-23 19:03:51 -07:00
at91_ether.h at91_ether: use netstats in net_device structure 2008-07-22 19:45:41 -04:00
ep93xx_eth.c ep93xx_eth.c general cleanup 2010-01-08 00:53:03 -08:00
ether1.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
ether1.h
ether3.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
ether3.h
etherh.c Revert "etherh: Get working again." 2009-02-22 19:54:16 -08:00
ixp4xx_eth.c IXP4xx: Fix normally-disabled debugging text in drivers/net/arm/ixp4xx_eth.c. 2009-12-05 16:58:38 +01:00
ks8695net.c KS8695: fix ks8695_rx() unreasonable action. 2009-11-16 23:51:47 -08:00
ks8695net.h net: Add support for the KS8695 ethernet devices. 2008-12-11 21:00:29 -08:00
w90p910_ether.c ARM: fix bug of checking on signed return value using unsigned statement in w90p910 platform 2009-11-13 20:38:50 -08:00