Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/pci CHIP_EX_MALLOC_SAFE() now must pay attent...
details: https://anonhg.NetBSD.org/src/rev/8189282fbdb8
branches: trunk
changeset: 471941:8189282fbdb8
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu Apr 15 22:31:16 1999 +0000
description:
CHIP_EX_MALLOC_SAFE() now must pay attention in class.
diffstat:
sys/arch/alpha/pci/mcpcia_bus_io.c | 6 +++---
sys/arch/alpha/pci/mcpcia_bus_mem.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r a1c00d8863dc -r 8189282fbdb8 sys/arch/alpha/pci/mcpcia_bus_io.c
--- a/sys/arch/alpha/pci/mcpcia_bus_io.c Thu Apr 15 22:27:40 1999 +0000
+++ b/sys/arch/alpha/pci/mcpcia_bus_io.c Thu Apr 15 22:31:16 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mcpcia_bus_io.c,v 1.1 1998/04/15 00:50:14 mjacob Exp $ */
+/* $NetBSD: mcpcia_bus_io.c,v 1.2 1999/04/15 22:31:16 thorpej Exp $ */
/*
* Copyright (c) 1998 by Matthew Jacob
@@ -32,7 +32,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(1, "$NetBSD: mcpcia_bus_io.c,v 1.1 1998/04/15 00:50:14 mjacob Exp $");
+__KERNEL_RCSID(1, "$NetBSD: mcpcia_bus_io.c,v 1.2 1999/04/15 22:31:16 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -48,7 +48,7 @@
#define CHIP mcpcia
-#define CHIP_EX_MALLOC_SAFE(v) (1)
+#define CHIP_EX_MALLOC_SAFE(v) (((struct mcpcia_config *)(v))->cc_mallocsafe)
#define CHIP_IO_EXTENT(v) (((struct mcpcia_config *)(v))->cc_io_ex)
#define CHIP_IO_EX_STORE(v) (((struct mcpcia_config *)(v))->cc_io_exstorage)
#define CHIP_IO_EX_STORE_SIZE(v) \
diff -r a1c00d8863dc -r 8189282fbdb8 sys/arch/alpha/pci/mcpcia_bus_mem.c
--- a/sys/arch/alpha/pci/mcpcia_bus_mem.c Thu Apr 15 22:27:40 1999 +0000
+++ b/sys/arch/alpha/pci/mcpcia_bus_mem.c Thu Apr 15 22:31:16 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mcpcia_bus_mem.c,v 1.1 1998/04/15 00:50:14 mjacob Exp $ */
+/* $NetBSD: mcpcia_bus_mem.c,v 1.2 1999/04/15 22:31:16 thorpej Exp $ */
/*
* Copyright (c) 1998 by Matthew Jacob
@@ -32,7 +32,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(1, "$NetBSD: mcpcia_bus_mem.c,v 1.1 1998/04/15 00:50:14 mjacob Exp $");
+__KERNEL_RCSID(1, "$NetBSD: mcpcia_bus_mem.c,v 1.2 1999/04/15 22:31:16 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -48,7 +48,7 @@
#define CHIP mcpcia
-#define CHIP_EX_MALLOC_SAFE(v) (1)
+#define CHIP_EX_MALLOC_SAFE(v) (((struct mcpcia_config *)(v))->cc_mallocsafe)
#define CHIP_D_MEM_EXTENT(v) (((struct mcpcia_config *)(v))->cc_d_mem_ex)
#define CHIP_D_MEM_EX_STORE(v) \
(((struct mcpcia_config *)(v))->cc_dmem_exstorage)
Home |
Main Index |
Thread Index |
Old Index