Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/isa delint: () protect some macro args
details: https://anonhg.NetBSD.org/src/rev/12c948a76c5c
branches: trunk
changeset: 509917:12c948a76c5c
user: lukem <lukem%NetBSD.org@localhost>
date: Tue May 15 15:00:04 2001 +0000
description:
delint: () protect some macro args
diffstat:
sys/dev/isa/pas.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r b70ce6f42ced -r 12c948a76c5c sys/dev/isa/pas.c
--- a/sys/dev/isa/pas.c Tue May 15 14:57:49 2001 +0000
+++ b/sys/dev/isa/pas.c Tue May 15 15:00:04 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pas.c,v 1.47 2000/04/28 08:51:42 jdolecek Exp $ */
+/* $NetBSD: pas.c,v 1.48 2001/05/15 15:00:04 lukem Exp $ */
/*
* Copyright (c) 1991-1993 Regents of the University of California.
@@ -166,8 +166,8 @@
};
/*XXX assume default I/O base address */
-#define pasread(p) inb(p)
-#define paswrite(d, p) outb(p, d)
+#define pasread(p) inb((p))
+#define paswrite(d, p) outb((p), (d))
void
pasconf(model, sbbase, sbirq, sbdrq)
Home |
Main Index |
Thread Index |
Old Index