dp-11v needs pdma
[unix-history] / usr / src / usr.sbin / config / mkglue.c
index 556f68a..df9626a 100644 (file)
@@ -2,16 +2,11 @@
  * Copyright (c) 1980 Regents of the University of California.
  * All rights reserved.
  *
  * Copyright (c) 1980 Regents of the University of California.
  * All rights reserved.
  *
- * Redistribution and use in source and binary forms are permitted
- * provided that this notice is preserved and that due credit is given
- * to the University of California at 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'' without express or implied warranty.
+ * %sccs.include.redist.c%
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)mkglue.c   5.5 (Berkeley) %G%";
+static char sccsid[] = "@(#)mkglue.c   5.9 (Berkeley) %G%";
 #endif /* not lint */
 
 /*
 #endif /* not lint */
 
 /*
@@ -103,6 +98,10 @@ dump_ubavec(fp, vector, number)
        fprintf(fp, "\tincl\t_fltintrcnt+(4*%d)\n", cntcnt++);
        if (strncmp(vector, "dzx", 3) == 0)
                fprintf(fp, "\tmovl\t$%d,r0\n\tjmp\tdzdma\n\n", number);
        fprintf(fp, "\tincl\t_fltintrcnt+(4*%d)\n", cntcnt++);
        if (strncmp(vector, "dzx", 3) == 0)
                fprintf(fp, "\tmovl\t$%d,r0\n\tjmp\tdzdma\n\n", number);
+       else if (strncmp(vector, "dpx", 3) == 0)
+               fprintf(fp, "\tmovl\t$%d,r0\n\tjmp\tdpxdma\n\n", number);
+       else if (strncmp(vector, "dpr", 3) == 0)
+               fprintf(fp, "\tmovl\t$%d,r0\n\tjmp\tdprdma\n\n", number);
        else {
                if (strncmp(vector, "uur", 3) == 0) {
                        fprintf(fp, "#ifdef UUDMA\n");
        else {
                if (strncmp(vector, "uur", 3) == 0) {
                        fprintf(fp, "#ifdef UUDMA\n");
@@ -200,6 +199,12 @@ dump_vbavec(fp, vector, number)
        fprintf(fp, "\trei\n\n");
 }
 
        fprintf(fp, "\trei\n\n");
 }
 
+/*
+ * HP9000/300 interrupts are auto-vectored.
+ * Code is hardwired in locore.s
+ */
+hpglue() {}
+
 static char *vaxinames[] = {
        "clock", "cnr", "cnx", "tur", "tux",
        "mba0", "mba1", "mba2", "mba3",
 static char *vaxinames[] = {
        "clock", "cnr", "cnx", "tur", "tux",
        "mba0", "mba1", "mba2", "mba3",