summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authornisimura <nisimura@NetBSD.org>1999-03-02 01:44:30 +0000
committernisimura <nisimura@NetBSD.org>1999-03-02 01:44:30 +0000
commit370ab4d04ea3bd77dff1fe07fc8c8d8b495117f8 (patch)
tree98c24746c6bff608032a118dcbd20f3b3d8ede03 /sys
parente19cedee1726d878da86a9bf06484a0e6f06d163 (diff)
- Make compilable with DECstation. Looks running well on MI SCSI enabled
kernel. Will be relocated to sys/dev/tc/ soon.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/alpha/tc/tcds.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/alpha/tc/tcds.c b/sys/arch/alpha/tc/tcds.c
index 61095951e97..4f207b5396f 100644
--- a/sys/arch/alpha/tc/tcds.c
+++ b/sys/arch/alpha/tc/tcds.c
@@ -1,4 +1,4 @@
-/* $NetBSD: tcds.c,v 1.25 1998/05/26 23:43:05 thorpej Exp $ */
+/* $NetBSD: tcds.c,v 1.26 1999/03/02 01:44:30 nisimura Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: tcds.c,v 1.25 1998/05/26 23:43:05 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcds.c,v 1.26 1999/03/02 01:44:30 nisimura Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -179,7 +179,9 @@ tcdsattach(parent, self, aux)
struct tcds_device *td;
bus_space_handle_t sbsh[2];
int i, error, gpi2;
+#ifdef __alpha__
extern int cputype;
+#endif
td = tcds_lookup(ta->ta_modname);
if (td == NULL)