Commit Graph
8 Commits
Author SHA1 Message Date
Richard Cochran eb774cbeae dnet: Support the get_ts_info ethtool method.
Signed-off-by: Richard Cochran <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2012-04-04 05:28:46 -04:00
Danny Kukawka f2cedb63df net: replace random_ether_addr() with eth_hw_addr_random()
Replace usage of random_ether_addr() with eth_hw_addr_random()
to set addr_assign_type correctly to NET_ADDR_RANDOM.

Change the trivial cases.

v2: adapt to renamed eth_hw_addr_random()

Signed-off-by: Danny Kukawka <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2012-02-15 15:34:16 -05:00
Pradeep A Dalvi 21a4e46995 netdev: ethernet dev_alloc_skb to netdev_alloc_skb
Replaced deprecating dev_alloc_skb with netdev_alloc_skb in drivers/net/ethernet
  - Removed extra skb->dev = dev after netdev_alloc_skb

Signed-off-by: Pradeep A Dalvi <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2012-02-06 11:48:09 -05:00
Joe Perches 41de8d4cff drivers/net: Remove alloc_etherdev error messages
alloc_etherdev has a generic OOM/unable to alloc message.
Remove the duplicative messages after alloc_etherdev calls.

Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2012-01-31 16:20:48 -05:00
Florian Fainelli 63f678301f dnet: use an unique MDIO bus name.
Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2012-01-10 16:35:00 -08:00
Axel Lin db62f684de net/ethernet: convert drivers/net/ethernet/* to use module_platform_driver()
This patch converts the drivers in drivers/net/ethernet/* to use the
module_platform_driver() macro which makes the code smaller and a bit
simpler.

Cc: "David S. Miller" <[email protected]>
Cc: Pantelis Antoniou <[email protected]>
Cc: Vitaly Bordug <[email protected]>
Cc: Wan ZongShun <[email protected]>
Cc: Nicolas Pitre <[email protected]>
Cc: Giuseppe Cavallaro <[email protected]>
Cc: Marc Kleine-Budde <[email protected]>
Cc: Jeff Kirsher <[email protected]>
Cc: Jiri Pirko <[email protected]>
Cc: Daniel Hellstrom <[email protected]>
Cc: Alexey Dobriyan <[email protected]>
Cc: Tobias Klauser <[email protected]>
Cc: Grant Likely <[email protected]>
Cc: Jiri Kosina <[email protected]>
Cc: Richard Cochran <[email protected]>
Cc: Jonas Bonn <[email protected]>
Cc: Sebastian Poehn <[email protected]>
Cc: Yoshihiro Shimoda <[email protected]>
Cc: Ricardo Ribalda Delgado <[email protected]>
Cc: "Michał Mirosław" <[email protected]>
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Wan ZongShun <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2011-11-29 00:25:05 -05:00
Rick Jones 68aad78c50 sweep the floors and convert some .get_drvinfo routines to strlcpy
Per the mention made by Ben Hutchings that strlcpy is now the preferred
string copy routine for a .get_drvinfo routine, do a bit of floor
sweeping and convert some of the as-yet unconverted ethernet drivers to
it.

Signed-off-by: Rick Jones <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2011-11-08 15:11:57 -05:00
Jeff Kirsher 9c8571da0a dnet: Move the Dave Ethernet driver
Move the Dave Ethernet driver into drivers/net/ethernet/ and
make the necessary Kconfig and Makefile changes.

CC: Ilya Yanok <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
2011-08-12 23:46:51 -07:00