Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78560
b: refs/heads/master
c: 137919a
h: refs/heads/master
v: v3
  • Loading branch information
Joe Perches authored and David S. Miller committed Jan 28, 2008
1 parent 98585fe commit fd59395
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: 910ef70aa301eb018255683499b8e51426c213a0
refs/heads/master: 137919a9ba10897b579618f19bfaa0b18c09c398
10 changes: 4 additions & 6 deletions trunk/drivers/net/sunvnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,7 @@ static int __devinit vnet_port_probe(struct vio_dev *vdev,
struct vnet *vp;
const u64 *rmac;
int len, i, err, switch_port;
DECLARE_MAC_BUF(mac);

print_version();

Expand Down Expand Up @@ -1213,12 +1214,9 @@ static int __devinit vnet_port_probe(struct vio_dev *vdev,

dev_set_drvdata(&vdev->dev, port);

printk(KERN_INFO "%s: PORT ( remote-mac ", vp->dev->name);
for (i = 0; i < 6; i++)
printk("%2.2x%c", port->raddr[i], i == 5 ? ' ' : ':');
if (switch_port)
printk("switch-port ");
printk(")\n");
printk(KERN_INFO "%s: PORT ( remote-mac %s%s )\n",
vp->dev->name, print_mac(mac, port->raddr),
switch_port ? " switch-port" : "");

vio_port_up(&port->vio);

Expand Down

0 comments on commit fd59395

Please sign in to comment.