Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133794
b: refs/heads/master
c: 60961ce
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Jan 21, 2009
1 parent 9d24295 commit 82a7828
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3170c6568776a58e1eeec8ff949a65f5cf5d7ceb
refs/heads/master: 60961ce4d09db7c1ba49da3375123a18845ec864
10 changes: 4 additions & 6 deletions trunk/net/appletalk/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,20 @@
#include <linux/if_arp.h>
#include <linux/if_ltalk.h>

#ifdef CONFIG_COMPAT_NET_DEV_OPS
static int ltalk_change_mtu(struct net_device *dev, int mtu)
{
return -EINVAL;
}

static int ltalk_mac_addr(struct net_device *dev, void *addr)
{
return -EINVAL;
}
#endif

static void ltalk_setup(struct net_device *dev)
{
/* Fill in the fields of the device structure with localtalk-generic values. */

#ifdef CONFIG_COMPAT_NET_DEV_OPS
dev->change_mtu = ltalk_change_mtu;
dev->set_mac_address = ltalk_mac_addr;
#endif

dev->type = ARPHRD_LOCALTLK;
dev->hard_header_len = LTALK_HLEN;
Expand Down

0 comments on commit 82a7828

Please sign in to comment.