Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133819
b: refs/heads/master
c: 283767e
h: refs/heads/master
i:
  133817: 5d58d62
  133815: 1fb1ad0
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Jan 21, 2009
1 parent 3ae30c1 commit 024a797
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 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: f57505fd7ce559bacf5cde26a79ea355fa3bc1ce
refs/heads/master: 283767e70501a02e676c99964e5a3f09ec993469
15 changes: 8 additions & 7 deletions trunk/drivers/net/hamradio/bpqether.c
Original file line number Diff line number Diff line change
Expand Up @@ -466,16 +466,17 @@ static const struct file_operations bpq_info_fops = {

/* ------------------------------------------------------------------------ */

static const struct net_device_ops bpq_netdev_ops = {
.ndo_open = bpq_open,
.ndo_stop = bpq_close,
.ndo_start_xmit = bpq_xmit,
.ndo_set_mac_address = bpq_set_mac_address,
.ndo_do_ioctl = bpq_ioctl,
};

static void bpq_setup(struct net_device *dev)
{

dev->hard_start_xmit = bpq_xmit;
dev->open = bpq_open;
dev->stop = bpq_close;
dev->set_mac_address = bpq_set_mac_address;
dev->get_stats = bpq_get_stats;
dev->do_ioctl = bpq_ioctl;
dev->netdev_ops = &bpq_netdev_ops;
dev->destructor = free_netdev;

memcpy(dev->broadcast, &ax25_bcast, AX25_ADDR_LEN);
Expand Down

0 comments on commit 024a797

Please sign in to comment.