Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/boot/xxboot Handle NCR5394 SCSI as NCR5380. (Do...



details:   https://anonhg.NetBSD.org/src/rev/f5dd356639a5
branches:  trunk
changeset: 485081:f5dd356639a5
user:      ragge <ragge%NetBSD.org@localhost>
date:      Tue Apr 18 20:25:13 2000 +0000

description:
Handle NCR5394 SCSI as NCR5380. (Doesn't matter, it will use the ROM
routines anyway).

diffstat:

 sys/arch/vax/boot/xxboot/bootxx.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 0e5502d1a4a8 -r f5dd356639a5 sys/arch/vax/boot/xxboot/bootxx.c
--- a/sys/arch/vax/boot/xxboot/bootxx.c Tue Apr 18 20:23:54 2000 +0000
+++ b/sys/arch/vax/boot/xxboot/bootxx.c Tue Apr 18 20:25:13 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bootxx.c,v 1.3 2000/04/16 01:41:23 matt Exp $ */
+/* $NetBSD: bootxx.c,v 1.4 2000/04/18 20:25:13 ragge Exp $ */
 /*-
  * Copyright (c) 1982, 1986 The Regents of the University of California.
  * All rights reserved.
@@ -105,6 +105,8 @@
                bcopy ((void*)rpb->iovec, bqo, rpb->iovecsz);
                rpb->iovec = (int)bqo;
                bootregs[11] = (int)rpb;
+               if (rpb->devtyp == BDEV_SDN)
+                       rpb->devtyp = BDEV_SD;  /* XXX until driver fixed */
                bootdev = rpb->devtyp;
                memsz = rpb->pfncnt << 9;
 



Home | Main Index | Thread Index | Old Index