diff options
author | 2012-11-29 21:10:31 +0000 | |
---|---|---|
committer | 2012-11-29 21:10:31 +0000 | |
commit | a4932f002e7824b53dc1f130a7602b17c352d8d3 (patch) | |
tree | 2b32edb4da7e58d01be78207cd999bb433703b32 /sys/dev/pci/if_sis.c | |
parent | Prevent VPN traffic leakages in dual-stack hosts/networks. (diff) | |
download | wireguard-openbsd-a4932f002e7824b53dc1f130a7602b17c352d8d3.tar.xz wireguard-openbsd-a4932f002e7824b53dc1f130a7602b17c352d8d3.zip |
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_sis.c')
-rw-r--r-- | sys/dev/pci/if_sis.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_sis.c b/sys/dev/pci/if_sis.c index c267720f08a..5f6bdc8d2c5 100644 --- a/sys/dev/pci/if_sis.c +++ b/sys/dev/pci/if_sis.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sis.c,v 1.106 2012/10/18 21:44:21 deraadt Exp $ */ +/* $OpenBSD: if_sis.c,v 1.107 2012/11/29 21:10:32 brad Exp $ */ /* * Copyright (c) 1997, 1998, 1999 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. @@ -1090,7 +1090,6 @@ sis_attach(struct device *parent, struct device *self, void *aux) ifp->if_ioctl = sis_ioctl; ifp->if_start = sis_start; ifp->if_watchdog = sis_watchdog; - ifp->if_baudrate = 10000000; IFQ_SET_MAXLEN(&ifp->if_snd, SIS_TX_LIST_CNT - 1); IFQ_SET_READY(&ifp->if_snd); bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ); |