kirjanov@gmail.com
6e03718c85
greth: some driver cleanups
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>
2010-02-19 13:15:51 -08:00
..
2010-01-20 01:26:22 -05:00
2010-02-04 01:04:50 -05:00
2010-02-16 15:43:00 -08:00
2010-02-05 13:15:36 +01:00
2010-02-03 19:08:30 -08:00
2010-02-11 14:01:10 -08:00
2010-02-02 15:58:48 -08:00
2010-02-02 06:50:25 +11:00
2010-02-10 12:07:28 -07:00
2010-02-11 14:07:13 -08:00
2010-02-14 15:10:41 +01:00
2010-02-15 15:24:48 +10:00
2010-02-05 19:58:36 +01:00
2010-02-05 17:48:13 +01:00
2010-02-18 14:30:17 -08:00
2010-02-11 14:03:42 -08:00
2010-02-16 16:01:36 -08:00
2010-01-15 13:26:04 +11:00
2010-02-16 18:43:04 +00:00
2010-02-16 22:09:29 -08:00
2010-02-16 22:09:29 -08:00
2010-01-29 21:03:09 +01:00
2010-02-11 13:59:42 -08:00
2010-01-28 12:57:50 -08:00
2010-02-19 13:15:51 -08:00
2010-02-16 22:09:29 -08:00
2010-01-20 01:23:27 -05:00
2010-01-29 17:00:18 +03:00
2010-02-12 11:39:49 +00:00
2010-02-02 18:11:21 -08:00
2010-02-16 22:09:29 -08:00
2010-02-08 13:45:55 -06:00
2010-02-16 15:55:51 -08:00
2010-02-02 11:29:15 +09:00
2010-02-08 16:50:54 -05:00
2010-02-18 14:47:51 -08:00
2010-02-16 15:11:10 -08:00
2010-02-18 14:08:38 -08:00
2010-02-02 18:11:22 -08:00
2010-02-02 15:55:42 -08:00
2010-01-25 19:48:49 +00:00
2010-01-15 01:43:29 -08:00