diff options
| author | perry <perry@NetBSD.org> | 2001-11-10 22:48:09 +0000 |
|---|---|---|
| committer | perry <perry@NetBSD.org> | 2001-11-10 22:48:09 +0000 |
| commit | 7a702dcf66bfcdc62120aff0d3586c808dfaba6a (patch) | |
| tree | a0dc6f5cf20538413bcf4ab390dbd3d8f5784386 /sys/dev/ic | |
| parent | 2cff38a9ba6f1b818fbc92ac0ad143630bbee751 (diff) | |
trivially rename some macro parameters to avoid lint warnings.
Diffstat (limited to 'sys/dev/ic')
| -rw-r--r-- | sys/dev/ic/elink3.c | 6 | ||||
| -rw-r--r-- | sys/dev/ic/elinkxl.c | 4 | ||||
| -rw-r--r-- | sys/dev/ic/ncr53c9xvar.h | 4 | ||||
| -rw-r--r-- | sys/dev/ic/tulip.c | 6 |
4 files changed, 10 insertions, 10 deletions
diff --git a/sys/dev/ic/elink3.c b/sys/dev/ic/elink3.c index 2f7f2f0bc28..78e75138d2f 100644 --- a/sys/dev/ic/elink3.c +++ b/sys/dev/ic/elink3.c @@ -1,4 +1,4 @@ -/* $NetBSD: elink3.c,v 1.98 2001/09/16 16:34:36 wiz Exp $ */ +/* $NetBSD: elink3.c,v 1.99 2001/11/10 22:48:09 perry Exp $ */ /*- * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc. @@ -611,7 +611,7 @@ ep_509_probemedia(sc) */ port = ep_read_eeprom(sc, EEPROM_ADDR_CFG) >> 14; -#define PRINT(s) printf("%s%s", sep, s); sep = ", " +#define PRINT(str) printf("%s%s", sep, str); sep = ", " for (epm = ep_509_media; epm->epm_name != NULL; epm++) { if (ep_w0_config & epm->epm_mpbit) { @@ -678,7 +678,7 @@ ep_vortex_probemedia(sc) return; } -#define PRINT(s) printf("%s%s", sep, s); sep = ", " +#define PRINT(str) printf("%s%s", sep, str); sep = ", " for (epm = ep_vortex_media; epm->epm_name != NULL; epm++) { if (reset_options & epm->epm_mpbit) { diff --git a/sys/dev/ic/elinkxl.c b/sys/dev/ic/elinkxl.c index f508956f669..009d191fcda 100644 --- a/sys/dev/ic/elinkxl.c +++ b/sys/dev/ic/elinkxl.c @@ -1,4 +1,4 @@ -/* $NetBSD: elinkxl.c,v 1.58 2001/10/03 06:58:47 yamt Exp $ */ +/* $NetBSD: elinkxl.c,v 1.59 2001/11/10 22:48:09 perry Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -567,7 +567,7 @@ ex_probemedia(sc) return; } -#define PRINT(s) printf("%s%s", sep, s); sep = ", " +#define PRINT(str) printf("%s%s", sep, str); sep = ", " for (exm = ex_native_media; exm->exm_name != NULL; exm++) { if (reset_options & exm->exm_mpbit) { diff --git a/sys/dev/ic/ncr53c9xvar.h b/sys/dev/ic/ncr53c9xvar.h index a5fcf692926..cfdef7297ab 100644 --- a/sys/dev/ic/ncr53c9xvar.h +++ b/sys/dev/ic/ncr53c9xvar.h @@ -1,4 +1,4 @@ -/* $NetBSD: ncr53c9xvar.h,v 1.33 2001/04/25 17:53:34 bouyer Exp $ */ +/* $NetBSD: ncr53c9xvar.h,v 1.34 2001/11/10 22:48:09 perry Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -410,7 +410,7 @@ struct ncr53c9x_softc { #ifdef NCR53C9X_DEBUG #define NCRCMD(sc, cmd) do { \ if ((ncr53c9x_debug & NCR_SHOWCCMDS) != 0) \ - printf("<cmd:0x%x %d>", (unsigned)cmd, __LINE__); \ + printf("<CMD:0x%x %d>", (unsigned)cmd, __LINE__); \ sc->sc_lastcmd = cmd; \ NCR_WRITE_REG(sc, NCR_CMD, cmd); \ } while (0) diff --git a/sys/dev/ic/tulip.c b/sys/dev/ic/tulip.c index 7805165ef97..28ba6bf35f2 100644 --- a/sys/dev/ic/tulip.c +++ b/sys/dev/ic/tulip.c @@ -1,4 +1,4 @@ -/* $NetBSD: tulip.c,v 1.99 2001/09/16 16:34:37 wiz Exp $ */ +/* $NetBSD: tulip.c,v 1.100 2001/11/10 22:48:10 perry Exp $ */ /*- * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc. @@ -3874,7 +3874,7 @@ tlp_print_media(sc) struct tulip_21x4x_media *tm; const char *sep = ""; -#define PRINT(s) printf("%s%s", sep, s); sep = ", " +#define PRINT(str) printf("%s%s", sep, str); sep = ", " printf("%s: ", sc->sc_dev.dv_xname); for (ife = TAILQ_FIRST(&sc->sc_mii.mii_media.ifm_list); @@ -5085,7 +5085,7 @@ tlp_pnic_tmsw_init(sc) const char *sep = ""; #define ADD(m, c) ifmedia_add(&sc->sc_mii.mii_media, (m), (c), NULL) -#define PRINT(s) printf("%s%s", sep, s); sep = ", " +#define PRINT(str) printf("%s%s", sep, str); sep = ", " sc->sc_mii.mii_ifp = ifp; sc->sc_mii.mii_readreg = tlp_pnic_mii_readreg; |
