diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-01-17 20:45:17 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-01-17 20:45:17 +0000 |
commit | 6f7d4532d62449bc3298e3f3e64f058a5870560c (patch) | |
tree | 5fc1942e1683ea2b535bdcd1018fa61b013b6de3 | |
parent | 3bba4c9222c4f8fbba9d102b0f2e7913c2036343 (diff) |
Set if_baudrate with IF_Gbps(10);
ok dlg@
-rw-r--r-- | sys/dev/pci/if_tht.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_tht.c b/sys/dev/pci/if_tht.c index 546c2527370..2faeee40ab2 100644 --- a/sys/dev/pci/if_tht.c +++ b/sys/dev/pci/if_tht.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_tht.c,v 1.110 2008/01/14 16:13:40 thib Exp $ */ +/* $OpenBSD: if_tht.c,v 1.111 2008/01/17 20:45:16 thib Exp $ */ /* * Copyright (c) 2007 David Gwynne <dlg@openbsd.org> @@ -788,6 +788,7 @@ tht_attach(struct device *parent, struct device *self, void *aux) strlcpy(ifp->if_xname, DEVNAME(sc), IFNAMSIZ); IFQ_SET_MAXLEN(&ifp->if_snd, 400); IFQ_SET_READY(&ifp->if_snd); + ifp->if_baudrate = IF_Gbps(10); ifmedia_init(&sc->sc_media, 0, tht_media_change, tht_media_status); ifmedia_add(&sc->sc_media, IFM_ETHER|IFM_AUTO, 0, NULL); |