Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/alpha support building alpha kernel without P...
details: https://anonhg.NetBSD.org/src/rev/42ecd94deb9d
branches: trunk
changeset: 959913:42ecd94deb9d
user: tnn <tnn%NetBSD.org@localhost>
date: Sun Feb 28 21:34:34 2021 +0000
description:
support building alpha kernel without PCI bus
diffstat:
sys/arch/alpha/alpha/sys_machdep.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 8e9a93d541b9 -r 42ecd94deb9d sys/arch/alpha/alpha/sys_machdep.c
--- a/sys/arch/alpha/alpha/sys_machdep.c Sun Feb 28 20:31:32 2021 +0000
+++ b/sys/arch/alpha/alpha/sys_machdep.c Sun Feb 28 21:34:34 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_machdep.c,v 1.21 2012/02/06 02:14:12 matt Exp $ */
+/* $NetBSD: sys_machdep.c,v 1.22 2021/02/28 21:34:34 tnn Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: sys_machdep.c,v 1.21 2012/02/06 02:14:12 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_machdep.c,v 1.22 2021/02/28 21:34:34 tnn Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -188,6 +188,7 @@
break;
}
+#if NPCI > 0
case ALPHA_PCI_CONF_READWRITE:
{
struct alpha_pci_conf_readwrite_args args;
@@ -222,6 +223,7 @@
}
break;
}
+#endif
default:
error = EINVAL;
Home |
Main Index |
Thread Index |
Old Index