Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/vax/vsa Remove autconf stuff. not needed and wrong.



details:   https://anonhg.NetBSD.org/src/rev/c6ba2dd8fecc
branches:  trunk
changeset: 485086:c6ba2dd8fecc
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Apr 18 21:25:31 2000 +0000

description:
Remove autconf stuff. not needed and wrong.

diffstat:

 sys/arch/vax/vsa/asc_vsbus.c |  15 +++------------
 1 files changed, 3 insertions(+), 12 deletions(-)

diffs (50 lines):

diff -r 62a76d2e5b92 -r c6ba2dd8fecc sys/arch/vax/vsa/asc_vsbus.c
--- a/sys/arch/vax/vsa/asc_vsbus.c      Tue Apr 18 21:06:06 2000 +0000
+++ b/sys/arch/vax/vsa/asc_vsbus.c      Tue Apr 18 21:25:31 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asc_vsbus.c,v 1.9 2000/04/17 20:36:23 ragge Exp $      */
+/*     $NetBSD: asc_vsbus.c,v 1.10 2000/04/18 21:25:31 matt Exp $      */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: asc_vsbus.c,v 1.9 2000/04/17 20:36:23 ragge Exp $");
+__KERNEL_RCSID(0, "$NetBSD: asc_vsbus.c,v 1.10 2000/04/18 21:25:31 matt Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -68,7 +68,6 @@
 
 #include <machine/cpu.h>
 #include <machine/sid.h>
-#include <machine/rpb.h>
 #include <machine/scb.h>
 #include <machine/vsbus.h>
 #include <machine/clock.h>     /* for SCSI ctlr ID# XXX */
@@ -217,7 +216,7 @@
                sc->sc_id = 6;  /* XXX need to get this from VMB */
                break;
        }
-printf("SCSIid: %d ", sc->sc_id);
+
        sc->sc_freq = ASC_FREQUENCY;
 
        /* gimme Mhz */
@@ -264,14 +263,6 @@
        sc->sc_adapter.scsipi_cmd = ncr53c9x_scsi_cmd;
        sc->sc_adapter.scsipi_minphys = minphys;
        ncr53c9x_attach(sc, &asc_vsbus_dev);
-
-       /*
-        * Register this device as boot device if we booted from it.
-        * This will fail if there are more than one le in a machine,
-        * fortunately there may be only one.
-        */
-       if (B_TYPE(bootdev) == BDEV_SD)
-               booted_from = self;
 }
 
 /*



Home | Main Index | Thread Index | Old Index