Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci change the macro params to longer names
details: https://anonhg.NetBSD.org/src/rev/47b7fabf3c88
branches: trunk
changeset: 538595:47b7fabf3c88
user: christos <christos%NetBSD.org@localhost>
date: Wed Oct 23 01:34:58 2002 +0000
description:
change the macro params to longer names
diffstat:
sys/dev/pci/if_wm.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (23 lines):
diff -r c9e683b51083 -r 47b7fabf3c88 sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c Wed Oct 23 01:25:35 2002 +0000
+++ b/sys/dev/pci/if_wm.c Wed Oct 23 01:34:58 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wm.c,v 1.26 2002/10/21 23:38:12 fair Exp $ */
+/* $NetBSD: if_wm.c,v 1.27 2002/10/23 01:34:58 christos Exp $ */
/*
* Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -2494,10 +2494,10 @@
CSR_WRITE(sc, WMREG_CTRL, sc->sc_ctrl);
-#define ADD(s, m, d) \
+#define ADD(ss, mm, dd) \
do { \
- printf("%s%s", sep, s); \
- ifmedia_add(&sc->sc_mii.mii_media, IFM_ETHER|(m), (d), NULL); \
+ printf("%s%s", sep, ss); \
+ ifmedia_add(&sc->sc_mii.mii_media, IFM_ETHER|(mm), (dd), NULL); \
sep = ", "; \
} while (/*CONSTCOND*/0)
Home |
Main Index |
Thread Index |
Old Index