summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_skreg.h
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-09-18 04:01:31 +0000
committerwpaul <wpaul@FreeBSD.org>1999-09-18 04:01:31 +0000
commitf5edddcfacf45d9c8038aa0da60ce561aa889fe5 (patch)
tree29add2e9610139bf5617b981e5fcfd3986fca353 /sys/pci/if_skreg.h
parent60398a1536a981a67141b78de13a73969554cf53 (diff)
downloadFreeBSD-src-f5edddcfacf45d9c8038aa0da60ce561aa889fe5.zip
FreeBSD-src-f5edddcfacf45d9c8038aa0da60ce561aa889fe5.tar.gz
Fix the mechanism used to choose the unit numbers for the IP interfaces
attached by the SysKonnect driver. Use ifunit() to scan for existing skN interfaces and pick the first unused one.
Diffstat (limited to 'sys/pci/if_skreg.h')
-rw-r--r--sys/pci/if_skreg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/pci/if_skreg.h b/sys/pci/if_skreg.h
index b0eaa90..f307636 100644
--- a/sys/pci/if_skreg.h
+++ b/sys/pci/if_skreg.h
@@ -1162,6 +1162,7 @@ struct sk_if_softc {
SLIST_HEAD(__sk_jinusehead, sk_jpool_entry) sk_jinuse_listhead;
};
+#define SK_MAXUNIT 256
#define SK_TIMEOUT 1000
#define ETHER_ALIGN 2
OpenPOWER on IntegriCloud