summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2006-12-03 14:52:46 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2006-12-03 14:52:46 +0000
commita29d77ccae35115a94b84d2c2c7d0fdd15dbdbc4 (patch)
treec6667b90cb4c41e5999a4b524f8208ebbee0499d /sys
parent3c89410a4edcf392beb1c85c13d581b872b49fa3 (diff)
always assume full duplex state if the interface is up... what does
full duplex mean for a virtual interface?
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_vic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_vic.c b/sys/dev/pci/if_vic.c
index 844378d5dbd..82d0ed12756 100644
--- a/sys/dev/pci/if_vic.c
+++ b/sys/dev/pci/if_vic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vic.c,v 1.36 2006/12/03 13:58:58 reyk Exp $ */
+/* $OpenBSD: if_vic.c,v 1.37 2006/12/03 14:52:45 reyk Exp $ */
/*
* Copyright (c) 2006 Reyk Floeter <reyk@openbsd.org>
@@ -685,7 +685,7 @@ vic_link_state(struct vic_softc *sc)
status = vic_read(sc, VIC_STATUS);
if (status & VIC_STATUS_CONNECTED)
- link_state = LINK_STATE_UP;
+ link_state = LINK_STATE_FULL_DUPLEX;
if (ifp->if_link_state != link_state) {
ifp->if_link_state = link_state;
if_link_state_change(ifp);