VAX support

This commit is contained in:
pvalchev 2002-09-24 08:06:58 +00:00
parent 9ca242d5d5
commit 4f5dcf995c

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-sn_data.h,v 1.4 2002/09/11 05:49:59 pvalchev Exp $ $OpenBSD: patch-sn_data.h,v 1.5 2002/09/24 08:06:58 pvalchev Exp $
--- sn_data.h.orig Thu Jul 16 10:17:10 1998 --- sn_data.h.orig Thu Jul 16 10:17:10 1998
+++ sn_data.h Tue Sep 10 23:02:18 2002 +++ sn_data.h Tue Sep 24 01:57:01 2002
@@ -43,6 +43,36 @@ char *NETDEV[]={"ed"}; @@ -43,6 +43,40 @@ char *NETDEV[]={"ed"};
int HEADSIZE[]={14}; int HEADSIZE[]={14};
#endif #endif
@ -30,6 +30,10 @@ $OpenBSD: patch-sn_data.h,v 1.4 2002/09/11 05:49:59 pvalchev Exp $
+#define NETDEV_NR 23 +#define NETDEV_NR 23
+char *NETDEV[]={"ppp","dc","de","ne","fxp","fpa","bge","stge","rl","vr","gx","sis","en","tl","le","lmc","wb","sf","ste","ti","skc","sk","an"}; +char *NETDEV[]={"ppp","dc","de","ne","fxp","fpa","bge","stge","rl","vr","gx","sis","en","tl","le","lmc","wb","sf","ste","ti","skc","sk","an"};
+int HEADSIZE[]={4,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14}; +int HEADSIZE[]={4,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14};
+#elif defined(__vax__)
+#define NETDEV_NR 2
+char *NETDEV[]={"le","ze"};
+int HEADSIZE[]={14,14};
+#else +#else
+#error Unknown network devices for this OpenBSD architecture. +#error Unknown network devices for this OpenBSD architecture.
+#endif +#endif