diff options
| author | joff <joff@NetBSD.org> | 2005-01-11 00:57:56 +0000 |
|---|---|---|
| committer | joff <joff@NetBSD.org> | 2005-01-11 00:57:56 +0000 |
| commit | e1191d101f910e4ea761c8a47580ea2f9a5f5731 (patch) | |
| tree | 960652d4639387e12fe441404897cfea8c92c950 | |
| parent | 7f1fe4e81f69d2b9dc8d3d738cc87410e654f786 (diff) | |
Replace hd44780_subr.h to hd44780var.h and install to userland.
| -rw-r--r-- | sys/dev/ic/Makefile | 6 | ||||
| -rw-r--r-- | sys/dev/ic/hd44780_subr.c | 8 | ||||
| -rw-r--r-- | sys/dev/ic/hd44780var.h (renamed from sys/dev/ic/hd44780_subr.h) | 8 |
3 files changed, 11 insertions, 11 deletions
diff --git a/sys/dev/ic/Makefile b/sys/dev/ic/Makefile index fc54a601163..47a6f8629dc 100644 --- a/sys/dev/ic/Makefile +++ b/sys/dev/ic/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.22 2003/10/13 08:29:48 dyoung Exp $ +# $NetBSD: Makefile,v 1.23 2005/01/11 00:57:56 joff Exp $ INCSDIR= /usr/include/dev/ic # Only install includes which are used by userland -INCS= athioctl.h bt8xx.h icpreg.h icp_ioctl.h isp_ioctl.h mlxreg.h mlxio.h \ - rrunnerreg.h rrunnervar.h wdcreg.h wi_ieee.h +INCS= athioctl.h bt8xx.h hd44780var.h icpreg.h icp_ioctl.h isp_ioctl.h \ + mlxreg.h mlxio.h rrunnerreg.h rrunnervar.h wdcreg.h wi_ieee.h .include <bsd.kinc.mk> diff --git a/sys/dev/ic/hd44780_subr.c b/sys/dev/ic/hd44780_subr.c index d0aef56ed7f..a7a054962e6 100644 --- a/sys/dev/ic/hd44780_subr.c +++ b/sys/dev/ic/hd44780_subr.c @@ -1,4 +1,4 @@ -/* $NetBSD: hd44780_subr.c,v 1.3 2005/01/09 15:43:56 joff Exp $ */ +/* $NetBSD: hd44780_subr.c,v 1.4 2005/01/11 00:57:56 joff Exp $ */ /* * Copyright (c) 2002 Dennis I. Chernoivanov @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: hd44780_subr.c,v 1.3 2005/01/09 15:43:56 joff Exp $"); +__KERNEL_RCSID(0, "$NetBSD: hd44780_subr.c,v 1.4 2005/01/11 00:57:56 joff Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -46,7 +46,7 @@ __KERNEL_RCSID(0, "$NetBSD: hd44780_subr.c,v 1.3 2005/01/09 15:43:56 joff Exp $" #include <machine/bus.h> #include <dev/ic/hd44780reg.h> -#include <dev/ic/hd44780_subr.h> +#include <dev/ic/hd44780var.h> /* * Finish device attach. sc_writereg, sc_readreg and sc_flags must be properly @@ -71,7 +71,7 @@ hd44780_attach_subr(sc) if ((sc->sc_flags & HD_UP) == 0) err = hd44780_init(sc); if (err != 0) - printf("%s: not responding or unconnected\n", sc->sc_dev->dv_xname); + printf("%s: LCD not responding or unconnected\n", sc->sc_dev->dv_xname); } } diff --git a/sys/dev/ic/hd44780_subr.h b/sys/dev/ic/hd44780var.h index 6dafe853817..5c6f4803cd9 100644 --- a/sys/dev/ic/hd44780_subr.h +++ b/sys/dev/ic/hd44780var.h @@ -1,4 +1,4 @@ -/* $NetBSD: hd44780_subr.h,v 1.3 2005/01/09 15:43:56 joff Exp $ */ +/* $NetBSD: hd44780var.h,v 1.1 2005/01/11 00:57:56 joff Exp $ */ /* * Copyright (c) 2002 Dennis I. Chernoivanov @@ -27,8 +27,8 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef _DEV_IC_HD44780_SUBR_H_ -#define _DEV_IC_HD44780_SUBR_H_ +#ifndef _DEV_IC_HD44780VAR_H_ +#define _DEV_IC_HD44780VAR_H_ /* IOCTL definitions */ #define HLCD_DISPCTL _IOW('h', 1, struct hd44780_dispctl) @@ -132,4 +132,4 @@ u_int8_t hd44780_readreg(struct hd44780_chip *, u_int32_t); #endif /* _KERNEL */ -#endif /* _DEV_IC_HD44780_SUBR_H_ */ +#endif /* _DEV_IC_HD44780VAR_H_ */ |
