summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_vr.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2012-11-29 21:10:33 +0000
committerBrad Smith <brad@cvs.openbsd.org>2012-11-29 21:10:33 +0000
commitbe521bebf39a09547a4e366fc77262c12d9eea93 (patch)
tree3f7f415ef1cbc7049414ef8a3d7999ce78806d27 /sys/dev/pci/if_vr.c
parent1bdab4f147158a9e9d8e8b796a7ae3a8fb71e70c (diff)
Remove setting an initial assumed baudrate upon driver attach which is not
necessarily correct, there might not even be a link when attaching. ok mikeb@ reyk@
Diffstat (limited to 'sys/dev/pci/if_vr.c')
-rw-r--r--sys/dev/pci/if_vr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_vr.c b/sys/dev/pci/if_vr.c
index 265dc51a091..99e5a66da3f 100644
--- a/sys/dev/pci/if_vr.c
+++ b/sys/dev/pci/if_vr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vr.c,v 1.119 2012/11/23 18:40:30 gsoares Exp $ */
+/* $OpenBSD: if_vr.c,v 1.120 2012/11/29 21:10:32 brad Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -623,7 +623,6 @@ vr_attach(struct device *parent, struct device *self, void *aux)
ifp->if_ioctl = vr_ioctl;
ifp->if_start = vr_start;
ifp->if_watchdog = vr_watchdog;
- ifp->if_baudrate = IF_Mbps(10);
ifp->if_capabilities = 0;
IFQ_SET_READY(&ifp->if_snd);
bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);