From bc5d062a9c0ec8e606bf190319ea0317f2525ee0 Mon Sep 17 00:00:00 2001 From: mjacob Date: Thu, 6 Jul 2000 06:19:09 +0000 Subject: Port latest in from FreeBSD- finally have some of the link issues sorted out so we should now be able to work with switches. --- sys/dev/pci/if_wxvar.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/if_wxvar.h') diff --git a/sys/dev/pci/if_wxvar.h b/sys/dev/pci/if_wxvar.h index ece97e9eb73..a343ce18fb1 100644 --- a/sys/dev/pci/if_wxvar.h +++ b/sys/dev/pci/if_wxvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wxvar.h,v 1.1 2000/02/11 14:51:50 jason Exp $ */ +/* $OpenBSD: if_wxvar.h,v 1.2 2000/07/06 06:19:08 mjacob Exp $ */ /* * Copyright (c) 1999, Traakan Software @@ -318,11 +318,12 @@ typedef struct wx_softc { /* * misc goodies */ - u_int32_t : 18, + u_int32_t : 17, wx_no_flow : 1, wx_ilos : 1, wx_no_ilos : 1, wx_debug : 1, + ane_failed : 1, linkup : 1, all_mcasts : 1, revision : 8; /* chip revision */ @@ -405,3 +406,9 @@ typedef struct wx_softc { #endif #define R_NXT_IDX(x) ((x + RXINCR) & (WX_MAX_RDESC - 1)) #define R_PREV_IDX(x) ((x - RXINCR) & (WX_MAX_RDESC - 1)) + +/* + * Link Up timeout, in milliseconds. + */ + +#define WX_LINK_UP_TIMEOUT 500 -- cgit v1.2.3