install correct aliases file
[unix-history] / usr / src / usr.sbin / config / config.h
index 6a0b83b..5607386 100644 (file)
@@ -1,9 +1,20 @@
 /*
  * Copyright (c) 1980 Regents of the University of California.
 /*
  * Copyright (c) 1980 Regents of the University of California.
- * All rights reserved.  The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
+ * All rights reserved.
  *
  *
- *     @(#)config.h    5.3 (Berkeley) %G%
+ * Redistribution and use in source and binary forms are permitted
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ *
+ *     @(#)config.h    5.8 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -64,7 +75,7 @@ struct        idlst {
 };
 
 struct device {
 };
 
 struct device {
-       int     d_type;                 /* CONTROLLER, DEVICE, UBA or MBA */
+       int     d_type;                 /* CONTROLLER, DEVICE, bus adaptor */
        struct  device *d_conn;         /* what it is connected to */
        char    *d_name;                /* name of device (e.g. rk11) */
        struct  idlst *d_vec;           /* interrupt vectors */
        struct  device *d_conn;         /* what it is connected to */
        char    *d_name;                /* name of device (e.g. rk11) */
        struct  idlst *d_vec;           /* interrupt vectors */
@@ -80,6 +91,7 @@ struct device {
        struct  device *d_next;         /* Next one in list */
 };
 #define TO_NEXUS       (struct device *)-1
        struct  device *d_next;         /* Next one in list */
 };
 #define TO_NEXUS       (struct device *)-1
+#define TO_VBA         (struct device *)-2
 
 struct config {
        char    *c_dev;
 
 struct config {
        char    *c_dev;
@@ -96,7 +108,7 @@ struct config {
 int    machine;
 char   *machinename;
 #define        MACHINE_VAX     1
 int    machine;
 char   *machinename;
 #define        MACHINE_VAX     1
-#define        MACHINE_SUN     2
+#define        MACHINE_TAHOE   2
 
 /*
  * For each machine, a set of CPU's may be specified as supported.
 
 /*
  * For each machine, a set of CPU's may be specified as supported.
@@ -133,11 +145,13 @@ char      *rindex();
 char   *malloc();
 char   *strcpy();
 char   *strcat();
 char   *malloc();
 char   *strcpy();
 char   *strcat();
-char   *sprintf();
 
 #if MACHINE_VAX
 int    seen_mba, seen_uba;
 #endif
 
 #if MACHINE_VAX
 int    seen_mba, seen_uba;
 #endif
+#if MACHINE_TAHOE
+int    seen_vba;
+#endif
 
 struct device *connect();
 struct device *dtab;
 
 struct device *connect();
 struct device *dtab;
@@ -148,7 +162,6 @@ char        errbuf[80];
 int    yyline;
 
 struct file_list *ftab, *conf_list, **confp;
 int    yyline;
 
 struct file_list *ftab, *conf_list, **confp;
-char   *PREFIX;
 
 int    timezone, hadtz;
 int    dst;
 
 int    timezone, hadtz;
 int    dst;