Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | greth: fall through to common return statement on error | Simon Horman | 2010-02-26 | 1 | -2/+0 |
| | | | | | | | | | There doesn't seem to be any reason to explicitly return NETDEV_TX_OK as err is set to NETDEV_TX_OK in all cases that reach this point. Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net> | ||||
* | greth: convert to netdev_tx_t | kirjanov@gmail.com | 2010-02-26 | 1 | -4/+8 |
| | | | | | | Convert to netdev_tx_t Signed-off-by: Denis Kirjanov <kirjanov@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> | ||||
* | greth: some driver cleanups | kirjanov@gmail.com | 2010-02-19 | 1 | -31/+18 |
| | | | | | | | | | | | | | | | | | | | | | | On Fri, Feb 19, 2010 at 13:51 +0100, Jiri Pirko wrote: > > <snip> > >>@@ -1031,7 +1029,7 @@ static void greth_set_multicast_list(struct net_device *dev) > >> return; > >> } > >> > >>- if (dev->mc_count == 0) { > >>+ if (!netdev_mc_count(dev)) { > also please use netdev_mc_empty() here. Some driver cleanups: * convert to use phy_find_first/phy_direct_connect * convert to use netdev_mc_* helpers * fixed missing validate_addr hook * removed netdev_priv castings Signed-off-by: Denis Kirjanov <kirjanov@gmail.com> Reviewed-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> | ||||
* | net: Add Aeroflex Gaisler 10/100/1G Ethernet MAC driver | Kristoffer Glembo | 2010-02-17 | 1 | -0/+1645 |
Adds device driver for Aeroflex Gaisler 10/100 and 10/100/1G Ethernet MAC IP cores. Signed-off-by: Kristoffer Glembo <kristoffer@gaisler.com> Signed-off-by: David S. Miller <davem@davemloft.net> |