diff options
author | phk <phk@FreeBSD.org> | 2006-05-26 10:44:47 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2006-05-26 10:44:47 +0000 |
commit | af12a6659202d33d938904d07550cf1a42fdb21f (patch) | |
tree | f1ebd49942bffb70298df0c9354f71ba6c1aaa91 /sys/dev/sio | |
parent | 393a50156ba1eea8a287ceb6ac9fd85d1ee04258 (diff) | |
download | FreeBSD-src-af12a6659202d33d938904d07550cf1a42fdb21f.zip FreeBSD-src-af12a6659202d33d938904d07550cf1a42fdb21f.tar.gz |
Insert a '_' in the console function names to be more consistent with
the future.
Diffstat (limited to 'sys/dev/sio')
-rw-r--r-- | sys/dev/sio/sio.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index df9f11b..daeeebd 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -2273,15 +2273,15 @@ static void siocnclose(struct siocnstate *sp, Port_t iobase); static void siocnopen(struct siocnstate *sp, Port_t iobase, int speed); static void siocntxwait(Port_t iobase); -static cn_probe_t siocnprobe; -static cn_init_t siocninit; -static cn_term_t siocnterm; -static cn_checkc_t siocncheckc; -static cn_getc_t siocngetc; -static cn_putc_t siocnputc; +static cn_probe_t sio_cnprobe; +static cn_init_t sio_cninit; +static cn_term_t sio_cnterm; +static cn_checkc_t sio_cncheckc; +static cn_getc_t sio_cngetc; +static cn_putc_t sio_cnputc; -CONS_DRIVER(sio, siocnprobe, siocninit, siocnterm, siocngetc, siocncheckc, - siocnputc, NULL); +CONS_DRIVER(sio, sio_cnprobe, sio_cninit, sio_cnterm, sio_cngetc, sio_cncheckc, + sio_cnputc, NULL); static void siocntxwait(iobase) @@ -2403,7 +2403,7 @@ siocnclose(sp, iobase) } static void -siocnprobe(cp) +sio_cnprobe(cp) struct consdev *cp; { speed_t boot_speed; @@ -2486,21 +2486,21 @@ siocnprobe(cp) } static void -siocninit(cp) +sio_cninit(cp) struct consdev *cp; { comconsole = cp->cn_unit; } static void -siocnterm(cp) +sio_cnterm(cp) struct consdev *cp; { comconsole = -1; } static int -siocncheckc(struct consdev *cd) +sio_cncheckc(struct consdev *cd) { int c; Port_t iobase; @@ -2531,7 +2531,7 @@ siocncheckc(struct consdev *cd) } static int -siocngetc(struct consdev *cd) +sio_cngetc(struct consdev *cd) { int c; Port_t iobase; @@ -2561,7 +2561,7 @@ siocngetc(struct consdev *cd) } static void -siocnputc(struct consdev *cd, int c) +sio_cnputc(struct consdev *cd, int c) { int need_unlock; int s; @@ -2632,19 +2632,19 @@ siogdbterm(void) static void siogdbputc(int c) { - siocnputc(NULL, c); + sio_cnputc(NULL, c); } static int siogdbcheckc(void) { - return (siocncheckc(NULL)); + return (sio_cncheckc(NULL)); } static int siogdbgetc(void) { - return (siocngetc(NULL)); + return (sio_cngetc(NULL)); } #endif |