From 0b407da766ee45871d3196a642fecfda1eab3f72 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Sun, 26 Aug 2012 10:40:13 +0000 Subject: [PATCH] Expose DE4 buttons and switches via a de4bsw device, implemented using altera_avgen(4). Fix white space nit that must have arisen during the merge from Perforce. Submitted by: brooks Sponsored by: DARPA, AFRL --- sys/mips/conf/BERI_DE4.hints | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/sys/mips/conf/BERI_DE4.hints b/sys/mips/conf/BERI_DE4.hints index 4f787b9c8c6..9ec33c86939 100644 --- a/sys/mips/conf/BERI_DE4.hints +++ b/sys/mips/conf/BERI_DE4.hints @@ -65,6 +65,16 @@ hint.altera_avgen.0.devname="berirom" #hint.altera_avgen.0.mmapio="rwx" #hint.altera_avgen.0.devname="de4flash" +# +# Expose the DE4 buttons and switches via an Avalon "generic" device. +# +hint.altera_avgen.0.at="nexus0" +hint.altera_avgen.0.maddr=0x7f009000 +hint.altera_avgen.0.msize=2 +hint.altera_avgen.0.width=1 +hint.altera_avgen.0.fileio="r" +hint.altera_avgen.0.devname="de4bsw" + # # General Intel StrataFlash driver # @@ -73,7 +83,7 @@ hint.isf.0.maddr=0x74000000 hint.isf.0.msize=0x2000000 hint.isf.1.at="nexus0" hint.isf.1.maddr=0x76000000 -hint.isf.1.msize=0x2000000 +hint.isf.1.msize=0x2000000 # Reserved configuration blocks. Don't touch. hint.map.0.at="isf0"