add 730
authorBill Joy <wnj@ucbvax.Berkeley.EDU>
Sun, 22 Mar 1981 07:50:37 +0000 (23:50 -0800)
committerBill Joy <wnj@ucbvax.Berkeley.EDU>
Sun, 22 Mar 1981 07:50:37 +0000 (23:50 -0800)
SCCS-vsn: sys/vax/vax/autoconf.c 4.29

usr/src/sys/vax/vax/autoconf.c

index 0918013..8af2252 100644 (file)
@@ -1,4 +1,4 @@
-/*     autoconf.c      4.28    81/03/16        */
+/*     autoconf.c      4.29    81/03/21        */
 
 /*
  * Setup the system to run on the current machine.
 
 /*
  * Setup the system to run on the current machine.
@@ -14,6 +14,9 @@
  *     #if VAX750
  * which may be incorrect after more processors are introduced if they
  * are like either of these machines.
  *     #if VAX750
  * which may be incorrect after more processors are introduced if they
  * are like either of these machines.
+ *
+ * TODO:
+ *     use pcpu info about whether a ubasr exists
  */
 
 #include "mba.h"
  */
 
 #include "mba.h"
@@ -196,7 +199,8 @@ unconfig:
                }
        }
 #if VAX780
                }
        }
 #if VAX780
-       { int ubawatch(); timeout(ubawatch, (caddr_t)0, hz); }
+       if (cpu == VAX_780)
+               { int ubawatch(); timeout(ubawatch, (caddr_t)0, hz); }
 #endif
 }
 
 #endif
 }
 
@@ -373,6 +377,10 @@ unifind(vubp, pubp, vumem, pumem)
        case VAX_750:
                uhp->uh_bdpfree = (1<<NBDP750) - 1;
                break;
        case VAX_750:
                uhp->uh_bdpfree = (1<<NBDP750) - 1;
                break;
+#endif
+#if VAX730
+       case VAX_730:
+               break;
 #endif
        }
 
 #endif
        }