diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-12-03 14:52:46 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-12-03 14:52:46 +0000 |
commit | a29d77ccae35115a94b84d2c2c7d0fdd15dbdbc4 (patch) | |
tree | c6667b90cb4c41e5999a4b524f8208ebbee0499d /sys/dev/pci | |
parent | 3c89410a4edcf392beb1c85c13d581b872b49fa3 (diff) |
always assume full duplex state if the interface is up... what does
full duplex mean for a virtual interface?
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_vic.c | 4 |
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); |