$NetBSD: patch-ac,v 1.4 2000/10/11 01:59:08 dmcmahill Exp $ --- sn_data.h.orig Fri Apr 18 05:33:58 1997 +++ sn_data.h Tue Oct 10 21:56:57 2000 @@ -26,4 +26,22 @@ #endif +#ifdef NETBSD +#ifdef i386 +#define ETH_DEV_NR 20 +char *ETH_DEV[]={"ai","de","ec","ef","eg","el","en","ep","fe","fea","fpa","fxp","ix","iy","lc","le","ne","sm","tl","we"}; +#elif defined(sparc) +#define ETH_DEV_NR 2 +char *ETH_DEV[]={"le","ie"}; +#elif defined(m68k) +#define ETH_DEV_NR 9 +char *ETH_DEV[]={"ae","bah","ed","es","le","mc","qn","sm","sn"}; +#elif defined(mips) +#define ETH_DEV_NR 8 +char *ETH_DEV[]={"awi","ep","mbe","le","ne","sm","tlp","wi"}; +#else +#error Unknown network devices for this NetBSD architecture. +#endif +#endif + #ifdef BSDI #define ETH_DEV_NR 1