diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1996-11-23 21:47:14 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1996-11-23 21:47:14 +0000 |
commit | 728527f840ec82a566f72f3cec384e341ac59a4c (patch) | |
tree | f9b921355a0db868e86c0df2976673aee9af1339 /sys/dev/isa | |
parent | 306adfe37a19b924bfe990750192540a4af86079 (diff) |
added const to second parameter of cfprint_t routines
Diffstat (limited to 'sys/dev/isa')
-rw-r--r-- | sys/dev/isa/aha.c | 6 | ||||
-rw-r--r-- | sys/dev/isa/aic6360.c | 6 | ||||
-rw-r--r-- | sys/dev/isa/ast.c | 6 | ||||
-rw-r--r-- | sys/dev/isa/boca.c | 6 | ||||
-rw-r--r-- | sys/dev/isa/bt.c | 4 | ||||
-rw-r--r-- | sys/dev/isa/fdc.c | 6 | ||||
-rw-r--r-- | sys/dev/isa/isa.c | 4 | ||||
-rw-r--r-- | sys/dev/isa/isadma.c | 4 | ||||
-rw-r--r-- | sys/dev/isa/isapnp.c | 6 | ||||
-rw-r--r-- | sys/dev/isa/isavar.h | 4 | ||||
-rw-r--r-- | sys/dev/isa/pcmcia_isa.c | 4 | ||||
-rw-r--r-- | sys/dev/isa/pcmcia_pcic.c | 10 | ||||
-rw-r--r-- | sys/dev/isa/rtfps.c | 6 | ||||
-rw-r--r-- | sys/dev/isa/seagate.c | 4 | ||||
-rw-r--r-- | sys/dev/isa/ultra14f.c | 6 | ||||
-rw-r--r-- | sys/dev/isa/wd.c | 4 | ||||
-rw-r--r-- | sys/dev/isa/wdc.c | 6 | ||||
-rw-r--r-- | sys/dev/isa/wds.c | 6 |
18 files changed, 49 insertions, 49 deletions
diff --git a/sys/dev/isa/aha.c b/sys/dev/isa/aha.c index 69781e00ed3..2368691d303 100644 --- a/sys/dev/isa/aha.c +++ b/sys/dev/isa/aha.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aha.c,v 1.26 1996/10/16 12:29:48 deraadt Exp $ */ +/* $OpenBSD: aha.c,v 1.27 1996/11/23 21:46:35 kstailey Exp $ */ /* $NetBSD: aha.c,v 1.11 1996/05/12 23:51:23 mycroft Exp $ */ #undef AHADIAG @@ -172,7 +172,7 @@ struct scsi_device aha_dev = { int ahaprobe __P((struct device *, void *, void *)); void ahaattach __P((struct device *, struct device *, void *)); -int ahaprint __P((void *, char *)); +int ahaprint __P((void *, const char *)); struct cfattach aha_ca = { sizeof(struct aha_softc), ahaprobe, ahaattach @@ -357,7 +357,7 @@ ahaprobe(parent, match, aux) int ahaprint(aux, name) void *aux; - char *name; + const char *name; { if (name != NULL) diff --git a/sys/dev/isa/aic6360.c b/sys/dev/isa/aic6360.c index 9ce8e590f43..203c32051ee 100644 --- a/sys/dev/isa/aic6360.c +++ b/sys/dev/isa/aic6360.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aic6360.c,v 1.9 1996/05/26 00:27:11 deraadt Exp $ */ +/* $OpenBSD: aic6360.c,v 1.10 1996/11/23 21:46:36 kstailey Exp $ */ /* $NetBSD: aic6360.c,v 1.46 1996/05/12 23:51:37 mycroft Exp $ */ #define integrate static inline @@ -582,7 +582,7 @@ int aic_debug = 0x00; /* AIC_SHOWSTART|AIC_SHOWMISC|AIC_SHOWTRACE; */ int aicprobe __P((struct device *, void *, void *)); void aicattach __P((struct device *, struct device *, void *)); -int aicprint __P((void *, char *)); +int aicprint __P((void *, const char *)); void aic_minphys __P((struct buf *)); int aicintr __P((void *)); void aic_init __P((struct aic_softc *)); @@ -756,7 +756,7 @@ aic_find(sc) int aicprint(aux, name) void *aux; - char *name; + const char *name; { if (name != NULL) printf("%s: scsibus ", name); diff --git a/sys/dev/isa/ast.c b/sys/dev/isa/ast.c index 2353dd42e60..f4411947118 100644 --- a/sys/dev/isa/ast.c +++ b/sys/dev/isa/ast.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ast.c,v 1.13 1996/11/12 20:30:25 niklas Exp $ */ +/* $OpenBSD: ast.c,v 1.14 1996/11/23 21:46:37 kstailey Exp $ */ /* $NetBSD: ast.c,v 1.28 1996/05/12 23:51:45 mycroft Exp $ */ /* @@ -63,7 +63,7 @@ struct ast_softc { int astprobe __P((struct device *, void *, void *)); void astattach __P((struct device *, struct device *, void *)); int astintr __P((void *)); -int astprint __P((void *, char *)); +int astprint __P((void *, const char *)); struct cfattach ast_ca = { sizeof(struct ast_softc), astprobe, astattach @@ -128,7 +128,7 @@ out: int astprint(aux, pnp) void *aux; - char *pnp; + const char *pnp; { struct commulti_attach_args *ca = aux; diff --git a/sys/dev/isa/boca.c b/sys/dev/isa/boca.c index 1f868b8e133..6760e5ac5f8 100644 --- a/sys/dev/isa/boca.c +++ b/sys/dev/isa/boca.c @@ -1,4 +1,4 @@ -/* $OpenBSD: boca.c,v 1.11 1996/11/12 20:30:26 niklas Exp $ */ +/* $OpenBSD: boca.c,v 1.12 1996/11/23 21:46:38 kstailey Exp $ */ /* $NetBSD: boca.c,v 1.15 1996/05/12 23:51:50 mycroft Exp $ */ /* @@ -63,7 +63,7 @@ struct boca_softc { int bocaprobe __P((struct device *, void *, void *)); void bocaattach __P((struct device *, struct device *, void *)); int bocaintr __P((void *)); -int bocaprint __P((void *, char *)); +int bocaprint __P((void *, const char *)); struct cfattach boca_ca = { sizeof(struct boca_softc), bocaprobe, bocaattach, @@ -128,7 +128,7 @@ out: int bocaprint(aux, pnp) void *aux; - char *pnp; + const char *pnp; { struct commulti_attach_args *ca = aux; diff --git a/sys/dev/isa/bt.c b/sys/dev/isa/bt.c index 67c162527fe..222bdf4a446 100644 --- a/sys/dev/isa/bt.c +++ b/sys/dev/isa/bt.c @@ -168,7 +168,7 @@ struct scsi_device bt_dev = { int btprobe __P((struct device *, void *, void *)); void btattach __P((struct device *, struct device *, void *)); -int btprint __P((void *, char *)); +int btprint __P((void *, const char *)); struct cfattach bt_ca = { sizeof(struct bt_softc), btprobe, btattach @@ -345,7 +345,7 @@ btprobe(parent, match, aux) int btprint(aux, name) void *aux; - char *name; + const char *name; { if (name != NULL) diff --git a/sys/dev/isa/fdc.c b/sys/dev/isa/fdc.c index 876bd7ed0a8..a53d72e2c49 100644 --- a/sys/dev/isa/fdc.c +++ b/sys/dev/isa/fdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fdc.c,v 1.6 1996/11/12 20:30:32 niklas Exp $ */ +/* $OpenBSD: fdc.c,v 1.7 1996/11/23 21:46:40 kstailey Exp $ */ /* $NetBSD: fd.c,v 1.90 1996/05/12 23:12:03 mycroft Exp $ */ /*- @@ -96,7 +96,7 @@ struct cfdriver fdc_cd = { NULL, "fdc", DV_DULL }; -int fddprint __P((void *, char *)); +int fddprint __P((void *, const char *)); int fdcintr __P((void *)); int @@ -242,7 +242,7 @@ fdcattach(parent, self, aux) int fddprint(aux, fdc) void *aux; - char *fdc; + const char *fdc; { register struct fdc_attach_args *fa = aux; diff --git a/sys/dev/isa/isa.c b/sys/dev/isa/isa.c index 23f05025c4a..9401e9f064d 100644 --- a/sys/dev/isa/isa.c +++ b/sys/dev/isa/isa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isa.c,v 1.18 1996/10/31 01:05:08 niklas Exp $ */ +/* $OpenBSD: isa.c,v 1.19 1996/11/23 21:46:41 kstailey Exp $ */ /* $NetBSD: isa.c,v 1.85 1996/05/14 00:31:04 thorpej Exp $ */ /*- @@ -107,7 +107,7 @@ isaattach(parent, self, aux) int isaprint(aux, isa) void *aux; - char *isa; + const char *isa; { struct isa_attach_args *ia = aux; diff --git a/sys/dev/isa/isadma.c b/sys/dev/isa/isadma.c index 6ca10a1095b..9eb0b6f030c 100644 --- a/sys/dev/isa/isadma.c +++ b/sys/dev/isa/isadma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isadma.c,v 1.8 1996/10/16 12:32:36 deraadt Exp $ */ +/* $OpenBSD: isadma.c,v 1.9 1996/11/23 21:46:41 kstailey Exp $ */ /* $NetBSD: isadma.c,v 1.19 1996/04/29 20:03:26 christos Exp $ */ #include <sys/param.h> @@ -45,7 +45,7 @@ static u_int8_t dmamode[4] = { int isadmamatch __P((struct device *, void *, void *)); void isadmaattach __P((struct device *, struct device *, void *)); -int isadmaprint __P((void *, char *)); +int isadmaprint __P((void *, const char *)); struct cfattach isadma_ca = { sizeof(struct device), isadmamatch, isadmaattach diff --git a/sys/dev/isa/isapnp.c b/sys/dev/isa/isapnp.c index 66c00e1a6d4..e7d43f8aa72 100644 --- a/sys/dev/isa/isapnp.c +++ b/sys/dev/isa/isapnp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isapnp.c,v 1.7 1996/11/12 20:30:39 niklas Exp $ */ +/* $OpenBSD: isapnp.c,v 1.8 1996/11/23 21:46:42 kstailey Exp $ */ /* * Copyright (c) 1996, Shawn Hsiao <shawn@alpha.secc.fju.edu.tw> @@ -74,7 +74,7 @@ int isapnpmatch __P((struct device *, void *, void *)); void isapnpattach __P((struct device *, struct device *, void *)); -int isapnpprint __P((void *aux, char *pnp)); +int isapnpprint __P((void *aux, const char *pnp)); int isapnpsubmatch __P((struct device *parent, void *match, void *aux)); struct isapnp_softc { @@ -226,7 +226,7 @@ postisapnpattach(parent, self, aux) int isapnpprint(aux, pnp) void *aux; - char *pnp; + const char *pnp; { register struct isa_attach_args *ia = aux; unsigned char info[4]; diff --git a/sys/dev/isa/isavar.h b/sys/dev/isa/isavar.h index 61137d1945a..1a79d7e9f84 100644 --- a/sys/dev/isa/isavar.h +++ b/sys/dev/isa/isavar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: isavar.h,v 1.18 1996/11/12 20:30:40 niklas Exp $ */ +/* $OpenBSD: isavar.h,v 1.19 1996/11/23 21:46:43 kstailey Exp $ */ /* $NetBSD: isavar.h,v 1.23 1996/05/08 23:32:31 thorpej Exp $ */ /* @@ -185,7 +185,7 @@ struct isa_softc { char *isa_intr_typename __P((int type)); void isascan __P((struct device *parent, void *match)); -int isaprint __P((void *, char *)); +int isaprint __P((void *, const char *)); #ifdef NEWCONFIG /* diff --git a/sys/dev/isa/pcmcia_isa.c b/sys/dev/isa/pcmcia_isa.c index da4d0d5ffa1..34b7cabb122 100644 --- a/sys/dev/isa/pcmcia_isa.c +++ b/sys/dev/isa/pcmcia_isa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcmcia_isa.c,v 1.7 1996/10/18 15:43:06 deraadt Exp $ */ +/* $OpenBSD: pcmcia_isa.c,v 1.8 1996/11/23 21:46:44 kstailey Exp $ */ /* * Copyright (c) 1995,1996 John T. Kohl. All rights reserved. * Copyright (c) 1994 Stefan Grefen. All rights reserved. @@ -158,7 +158,7 @@ pcmcia_isa_probe(parent, match, aux, pc_link) #endif if ((probe == NULL ? (*cf->cf_attach->ca_match)(parent, dev, &ia) : (*probe)(parent, dev, &ia, pc_link)) > 0) { - extern int isaprint __P((void *, char *)); + extern int isaprint __P((void *, const char *)); config_attach(parent, dev, &ia, isaprint); #ifdef PCMCIA_ISA_DEBUG diff --git a/sys/dev/isa/pcmcia_pcic.c b/sys/dev/isa/pcmcia_pcic.c index 5e0bfeb98ee..1170e16795d 100644 --- a/sys/dev/isa/pcmcia_pcic.c +++ b/sys/dev/isa/pcmcia_pcic.c @@ -1,4 +1,4 @@ -/* $Id: pcmcia_pcic.c,v 1.8 1996/10/23 16:41:58 deraadt Exp $ */ +/* $Id: pcmcia_pcic.c,v 1.9 1996/11/23 21:46:44 kstailey Exp $ */ /* * Copyright (c) 1995, 1996 John T. Kohl * All rights reserved. @@ -133,11 +133,11 @@ static struct pcmcia_funcs pcic_funcs = { int pcic_probe __P((struct device *, void *, void *)); void pcic_attach __P((struct device *, struct device *, void *)); -int pcic_print __P((void *, char *)); +int pcic_print __P((void *, const char *)); int pcicmaster_probe __P((struct device *, void *, void *)); void pcicmaster_attach __P((struct device *, struct device *, void *)); -int pcicmaster_print __P((void *, char *)); +int pcicmaster_print __P((void *, const char *)); extern struct pcmciabus_link pcmcia_isa_link; @@ -345,7 +345,7 @@ pcic_intr __P((void *)); int pcic_print(aux, name) void *aux; - char *name; + const char *name; { if (name != NULL) printf("%s: pcmciabus ", name); @@ -1053,7 +1053,7 @@ pcicmaster_attach(parent, self, aux) int pcicmaster_print(aux, name) void *aux; - char *name; + const char *name; { if (name != NULL) printf("%s: master controller ", name); diff --git a/sys/dev/isa/rtfps.c b/sys/dev/isa/rtfps.c index d1ff59cdf8c..d8e87928a33 100644 --- a/sys/dev/isa/rtfps.c +++ b/sys/dev/isa/rtfps.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtfps.c,v 1.12 1996/11/12 20:30:42 niklas Exp $ */ +/* $OpenBSD: rtfps.c,v 1.13 1996/11/23 21:46:45 kstailey Exp $ */ /* $NetBSD: rtfps.c,v 1.23 1996/05/12 23:53:29 mycroft Exp $ */ /* @@ -65,7 +65,7 @@ struct rtfps_softc { int rtfpsprobe __P((struct device *, void *, void *)); void rtfpsattach __P((struct device *, struct device *, void *)); int rtfpsintr __P((void *)); -int rtfpsprint __P((void *, char *)); +int rtfpsprint __P((void *, const char *)); struct cfattach rtfps_ca = { sizeof(struct rtfps_softc), rtfpsprobe, rtfpsattach @@ -130,7 +130,7 @@ out: int rtfpsprint(aux, pnp) void *aux; - char *pnp; + const char *pnp; { struct commulti_attach_args *ca = aux; diff --git a/sys/dev/isa/seagate.c b/sys/dev/isa/seagate.c index add9c513f09..0f90e391bb4 100644 --- a/sys/dev/isa/seagate.c +++ b/sys/dev/isa/seagate.c @@ -304,7 +304,7 @@ struct scsi_device sea_dev = { int seaprobe __P((struct device *, void *, void *)); void seaattach __P((struct device *, struct device *, void *)); -int seaprint __P((void *, char *)); +int seaprint __P((void *, const char *)); struct cfattach sea_ca = { sizeof(struct sea_softc), seaprobe, seaattach @@ -411,7 +411,7 @@ seaprobe(parent, match, aux) int seaprint(aux, name) void *aux; - char *name; + const char *name; { if (name != NULL) printf("%s: scsibus ", name); diff --git a/sys/dev/isa/ultra14f.c b/sys/dev/isa/ultra14f.c index 50e604c301b..3b8a340243d 100644 --- a/sys/dev/isa/ultra14f.c +++ b/sys/dev/isa/ultra14f.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ultra14f.c,v 1.15 1996/05/26 00:27:30 deraadt Exp $ */ +/* $OpenBSD: ultra14f.c,v 1.16 1996/11/23 21:46:47 kstailey Exp $ */ /* $NetBSD: ultra14f.c,v 1.66 1996/05/12 23:53:54 mycroft Exp $ */ /* @@ -330,7 +330,7 @@ struct scsi_device uha_dev = { int uhaprobe __P((struct device *, void *, void *)); void uhaattach __P((struct device *, struct device *, void *)); -int uhaprint __P((void *, char *)); +int uhaprint __P((void *, const char *)); struct cfattach uha_ca = { sizeof(struct uha_softc), uhaprobe, uhaattach @@ -578,7 +578,7 @@ uhaprobe(parent, match, aux) int uhaprint(aux, name) void *aux; - char *name; + const char *name; { if (name != NULL) printf("%s: scsibus ", name); diff --git a/sys/dev/isa/wd.c b/sys/dev/isa/wd.c index 1bcb02de03e..810b6412091 100644 --- a/sys/dev/isa/wd.c +++ b/sys/dev/isa/wd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wd.c,v 1.20 1996/11/12 20:30:43 niklas Exp $ */ +/* $OpenBSD: wd.c,v 1.21 1996/11/23 21:46:48 kstailey Exp $ */ /* $NetBSD: wd.c,v 1.150 1996/05/12 23:54:03 mycroft Exp $ */ /* @@ -82,7 +82,7 @@ struct wd_softc { int wdprobe __P((struct device *, void *, void *)); void wdattach __P((struct device *, struct device *, void *)); -int wdprint __P((void *, char *)); +int wdprint __P((void *, const char *)); struct cfattach wd_ca = { sizeof(struct wd_softc), wdprobe, wdattach diff --git a/sys/dev/isa/wdc.c b/sys/dev/isa/wdc.c index 00a513b79d2..687edb41343 100644 --- a/sys/dev/isa/wdc.c +++ b/sys/dev/isa/wdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wdc.c,v 1.14 1996/11/12 20:30:45 niklas Exp $ */ +/* $OpenBSD: wdc.c,v 1.15 1996/11/23 21:46:49 kstailey Exp $ */ /* $NetBSD: wd.c,v 1.150 1996/05/12 23:54:03 mycroft Exp $ */ /* @@ -85,7 +85,7 @@ LIST_HEAD(xfer_free_list, wdc_xfer) xfer_free_list; int wdcprobe __P((struct device *, void *, void *)); -int wdcprint __P((void *, char *)); +int wdcprint __P((void *, const char *)); void wdcattach __P((struct device *, struct device *, void *)); int wdcintr __P((void *)); @@ -198,7 +198,7 @@ wdcprobe(parent, match, aux) int wdcprint(aux, wdc) void *aux; - char *wdc; + const char *wdc; { struct wd_link *d_link = aux; diff --git a/sys/dev/isa/wds.c b/sys/dev/isa/wds.c index 603a5efd42c..fb67adbebaf 100644 --- a/sys/dev/isa/wds.c +++ b/sys/dev/isa/wds.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wds.c,v 1.9 1996/11/12 20:30:46 niklas Exp $ */ +/* $OpenBSD: wds.c,v 1.10 1996/11/23 21:46:49 kstailey Exp $ */ /* $NetBSD: wds.c,v 1.7 1996/05/12 23:54:09 mycroft Exp $ */ #undef WDSDIAG @@ -185,7 +185,7 @@ struct scsi_device wds_dev = { int wdsprobe __P((struct device *, void *, void *)); void wdsattach __P((struct device *, struct device *, void *)); -int wdsprint __P((void *, char *)); +int wdsprint __P((void *, const char *)); struct cfattach wds_ca = { sizeof(struct wds_softc), wdsprobe, wdsattach @@ -262,7 +262,7 @@ wdsprobe(parent, match, aux) int wdsprint(aux, name) void *aux; - char *name; + const char *name; { if (name != NULL) |