summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2010-01-15 19:12:33 +0000
committermarius <marius@FreeBSD.org>2010-01-15 19:12:33 +0000
commit39fb07ff297977c4db1f57f5fdf010140202b5cb (patch)
treeb4ad8437c08065a30cca1809efbfb253fd3dd8d2 /sys/modules
parentcca97210e6b84b6a0624840372c03e37b8014050 (diff)
downloadFreeBSD-src-39fb07ff297977c4db1f57f5fdf010140202b5cb.zip
FreeBSD-src-39fb07ff297977c4db1f57f5fdf010140202b5cb.tar.gz
MFC: r202006
Add epic(4), a driver for the front panel LEDs in Sun Fire V215/V245. It's named after the driver doing the same job in OpenSolaris.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile2
-rw-r--r--sys/modules/epic/Makefile8
2 files changed, 10 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 841941b..3432da1 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -80,6 +80,7 @@ SUBDIR= ${_3dfx} \
${_em} \
en \
${_ep} \
+ ${_epic} \
${_et} \
${_ex} \
${_exca} \
@@ -593,6 +594,7 @@ _sound= sound
.if ${MACHINE_ARCH} == "sparc64"
_auxio= auxio
_em= em
+_epic= epic
_i2c= i2c
_igb= igb
.if ${MK_CDDL} != "no" || defined(ALL_MODULES)
diff --git a/sys/modules/epic/Makefile b/sys/modules/epic/Makefile
new file mode 100644
index 0000000..8c2212b
--- /dev/null
+++ b/sys/modules/epic/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../sparc64/ebus
+
+KMOD= epic
+SRCS= device_if.h epic.c bus_if.h ofw_bus_if.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud