diff options
author | Gleydson Soares <gsoares@cvs.openbsd.org> | 2012-11-23 18:40:31 +0000 |
---|---|---|
committer | Gleydson Soares <gsoares@cvs.openbsd.org> | 2012-11-23 18:40:31 +0000 |
commit | 91744dfe061ac176c6e20642f95130d5cb143a0b (patch) | |
tree | a70f6a6ea2e490cc47932b01700df9759e7bfe67 /sys/dev/pci/if_vr.c | |
parent | 92e8ca9321f940df5b6639ce14fdceb2b772609f (diff) |
set ifp->if_baudrate with IF_Gbps() / IF_Mbps().
OK reyk@ sthen@
Diffstat (limited to 'sys/dev/pci/if_vr.c')
-rw-r--r-- | sys/dev/pci/if_vr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_vr.c b/sys/dev/pci/if_vr.c index 01550793096..265dc51a091 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.118 2012/11/15 15:50:19 jsing Exp $ */ +/* $OpenBSD: if_vr.c,v 1.119 2012/11/23 18:40:30 gsoares Exp $ */ /* * Copyright (c) 1997, 1998 @@ -623,7 +623,7 @@ 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 = 10000000; + 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); |