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 DEC have the internal SCSI controller as ID...
details: https://anonhg.NetBSD.org/src/rev/53d69c2a2543
branches: trunk
changeset: 485051:53d69c2a2543
user: ragge <ragge%NetBSD.org@localhost>
date: Mon Apr 17 16:30:40 2000 +0000
description:
DEC have the internal SCSI controller as ID6, and CDROM as ID7.
diffstat:
sys/arch/vax/vsa/asc_vsbus.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r a896a9b76778 -r 53d69c2a2543 sys/arch/vax/vsa/asc_vsbus.c
--- a/sys/arch/vax/vsa/asc_vsbus.c Mon Apr 17 16:26:07 2000 +0000
+++ b/sys/arch/vax/vsa/asc_vsbus.c Mon Apr 17 16:30:40 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asc_vsbus.c,v 1.7 2000/04/10 03:49:57 matt Exp $ */
+/* $NetBSD: asc_vsbus.c,v 1.8 2000/04/17 16:30:40 ragge Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: asc_vsbus.c,v 1.7 2000/04/10 03:49:57 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: asc_vsbus.c,v 1.8 2000/04/17 16:30:40 ragge Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -160,7 +160,7 @@
*/
dummy = ncr_regs[NCR_INTR << 2] & 0xFF;
- ncr_regs[NCR_CFG1 << 2] = 0x07; /* we're ID 7, turn on INT for SCSI reset */
+ ncr_regs[NCR_CFG1 << 2] = 0x06; /* we're ID 6, turn on INT for SCSI reset */
ncr_regs[NCR_CMD << 2] = NCRCMD_RSTSCSI; /* send the reset */
ncr_regs[NCR_CMD << 2] = NCRCMD_NOP; /* send a NOP */
DELAY(10000);
@@ -204,7 +204,7 @@
error = bus_dmamap_create(asc->sc_dmat, ASC_MAXXFERSIZE, 1,
ASC_MAXXFERSIZE, 0, BUS_DMA_NOWAIT, &asc->sc_dmamap);
- sc->sc_id = 7; /* XXX need to get this from VMB */
+ sc->sc_id = 6; /* XXX need to get this from VMB */
sc->sc_freq = ASC_FREQUENCY;
/* gimme Mhz */
Home |
Main Index |
Thread Index |
Old Index