From 8008907a4c5178fd84c22bda34a1b7a1973533f6 Mon Sep 17 00:00:00 2001 From: mhitch Date: Mon, 8 Nov 1999 03:00:32 +0000 Subject: [PATCH] && doesn't work very well for testing a flag - tcds_params() was always using the baseboard ID and FAST settings instead of getting them from the TC option card EEPROM. --- sys/arch/alpha/tc/tcds.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/alpha/tc/tcds.c b/sys/arch/alpha/tc/tcds.c index 8229876a8dc3..b0d1ea60c66d 100644 --- a/sys/arch/alpha/tc/tcds.c +++ b/sys/arch/alpha/tc/tcds.c @@ -1,4 +1,4 @@ -/* $NetBSD: tcds.c,v 1.28 1999/09/22 03:32:42 mhitch Exp $ */ +/* $NetBSD: tcds.c,v 1.29 1999/11/08 03:00:32 mhitch Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -66,7 +66,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: tcds.c,v 1.28 1999/09/22 03:32:42 mhitch Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tcds.c,v 1.29 1999/11/08 03:00:32 mhitch Exp $"); #include #include @@ -574,7 +574,7 @@ tcds_params(sc, chip, idp, fastp) u_int32_t ids; #ifdef __alpha__ - if (sc->sc_flags && TCDSF_BASEBOARD) { + if (sc->sc_flags & TCDSF_BASEBOARD) { extern u_int8_t dec_3000_scsiid[], dec_3000_scsifast[]; id = dec_3000_scsiid[chip];