Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/arch/alpha/tc Pull up revision 1.16 (requested by m...
details: https://anonhg.NetBSD.org/src/rev/a3444a7da050
branches: netbsd-1-4
changeset: 469840:a3444a7da050
user: he <he%NetBSD.org@localhost>
date: Sat Dec 04 19:37:14 1999 +0000
description:
Pull up revision 1.16 (requested by mhitch):
Fix the problems in detecting the clock speed on the TCDS Dual
SCSI Option cards, and correctly configure the Fast SCSI interfaces.
This allows installation on the 3000/500 -> 3000/900 Alphas which
have the Fast SCSI interface on the on-board SCSI adapters.
diffstat:
sys/arch/alpha/tc/asc.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r a8f189b6216e -r a3444a7da050 sys/arch/alpha/tc/asc.c
--- a/sys/arch/alpha/tc/asc.c Sat Dec 04 19:36:18 1999 +0000
+++ b/sys/arch/alpha/tc/asc.c Sat Dec 04 19:37:14 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: asc.c,v 1.15 1998/11/19 21:43:00 thorpej Exp $ */
+/* $NetBSD: asc.c,v 1.15.4.1 1999/12/04 19:37:14 he Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: asc.c,v 1.15 1998/11/19 21:43:00 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: asc.c,v 1.15.4.1 1999/12/04 19:37:14 he Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -206,10 +206,12 @@
sc->sc_cfg2 = NCRCFG2_SCSI2;
sc->sc_cfg3 = NCRCFG3_CDB;
if (sc->sc_freq > 25)
- sc->sc_cfg3 |= NCRCFG3_FCLK;
+ sc->sc_cfg3 |= NCRF9XCFG3_FCLK;
sc->sc_rev = tcdsdev->tcdsda_variant;
- if (tcdsdev->tcdsda_fast)
+ if (tcdsdev->tcdsda_fast) {
sc->sc_features |= NCR_F_FASTSCSI;
+ sc->sc_cfg3_fscsi = NCRF9XCFG3_FSCSI;
+ }
/*
* XXX minsync and maxxfer _should_ be set up in MI code,
Home |
Main Index |
Thread Index |
Old Index