aboutsummaryrefslogtreecommitdiffstats
path: root/drivers.m4
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-01-16 20:52:19 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-01-16 20:52:19 +0000
commitf13c0ea57d574774155653af15cc51ebd696f81e (patch)
tree4da63827109ed4d624f7e139d88eb02a56bea2d9 /drivers.m4
parenteb3c38305336eb1cf10bf39b72127ccff7b836ec (diff)
downloadlcd4linux-f13c0ea57d574774155653af15cc51ebd696f81e.tar.gz
new driver 'HD44780-I2C'
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@739 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drivers.m4')
-rw-r--r--drivers.m413
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers.m4 b/drivers.m4
index e076649..0976d50 100644
--- a/drivers.m4
+++ b/drivers.m4
@@ -110,6 +110,9 @@ for driver in $drivers; do
HD44780)
HD44780=$val
;;
+ HD44780-I2C)
+ HD44780_I2C=$val
+ ;;
LCD2USB)
LCD2USB=$val
;;
@@ -272,6 +275,14 @@ if test "$HD44780" = "yes"; then
AC_DEFINE(WITH_HD44780,1,[HD44780 driver])
fi
+if test "$HD44780_I2C" = "yes"; then
+ TEXT="yes"
+ I2C="yes"
+ GPIO="yes"
+ DRIVERS="$DRIVERS drv_HD44780.o"
+ AC_DEFINE(WITH_HD44780,1,[HD44780 driver])
+fi
+
if test "$LCD2USB" = "yes"; then
if test "$has_usb" = "true"; then
TEXT="yes"
@@ -516,11 +527,13 @@ fi
# generic parport driver
if test "$PARPORT" = "yes"; then
DRIVERS="$DRIVERS drv_generic_parport.o"
+ AC_DEFINE(WITH_PARPORT, 1, [parport bus driver])
fi
# generic serial driver
if test "$SERIAL" = "yes"; then
DRIVERS="$DRIVERS drv_generic_serial.o"
+ AC_DEFINE(WITH_SERIAL, 1, [serial bus driver])
fi
# generic i2c driver