summaryrefslogtreecommitdiffstats
path: root/sys/alpha/include
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-02-20 20:54:45 +0000
committerphk <phk@FreeBSD.org>2003-02-20 20:54:45 +0000
commit72688ad7fe6ac65cbfc2c4d260ba7d901bf1bcc2 (patch)
treefe84e49e8fed83b0535fa5e72d7341488cc6b288 /sys/alpha/include
parentf5440b21c3c89d9d1d989bbed1147a6d7e678e41 (diff)
downloadFreeBSD-src-72688ad7fe6ac65cbfc2c4d260ba7d901bf1bcc2.zip
FreeBSD-src-72688ad7fe6ac65cbfc2c4d260ba7d901bf1bcc2.tar.gz
Change the console interface to pass a "struct consdev *" instead of a
dev_t to the method functions. The dev_t can still be found at struct consdev *->cn_dev. Add a void *cn_arg element to struct consdev which the drivers can use for retrieving their softc.
Diffstat (limited to 'sys/alpha/include')
-rw-r--r--sys/alpha/include/prom.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/alpha/include/prom.h b/sys/alpha/include/prom.h
index b242f1d..05cb4fb 100644
--- a/sys/alpha/include/prom.h
+++ b/sys/alpha/include/prom.h
@@ -97,9 +97,9 @@ int prom_getenv(int, char *, int);
#ifdef _KERNEL
void promcnattach(int);
void promcndetach(void);
-void promcnputc(dev_t, int);
-int promcngetc(dev_t);
-int promcncheckc(dev_t);
+cn_putc_t promcnputc;
+cn_getc_t promcngetc;
+cn_checkc_t promcncheckc;
u_int64_t prom_dispatch(u_int64_t, u_int64_t, u_int64_t, u_int64_t,
u_int64_t);
OpenPOWER on IntegriCloud