aboutsummaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2012-08-25 11:07:43 +0000
committerRobert Watson <rwatson@FreeBSD.org>2012-08-25 11:07:43 +0000
commitcf8248866dfbb3c75a87f7aa253e226c40566f17 (patch)
treee0ce5c060681a6450bf378f148e6dc9425f67f7b /sys/conf
parent8fb378d6b11a7013149b918d8cc44067d83cd2c9 (diff)
downloadsrc-cf8248866dfbb3c75a87f7aa253e226c40566f17.tar.gz
src-cf8248866dfbb3c75a87f7aa253e226c40566f17.zip
Add altera_avgen(4), a generic device driver to be used by hard and soft
CPU cores on Altera FPGAs. The device driver allows memory-mapped devices on Altera's Avalon SoC bus to be exported to userspace via device nodes. device.hints directories dictate device name, permissible access methods, physical address and length, and I/O alignment. Devices can be accessed using read(2)/write(2), but also memory mapped in userspace using mmap(2). Devices attach directly to the Nexus, as is common for embedded device drivers; in the future something more mature might be desirable. There is currently no facility to support directing device-originated interrupts to userspace. In the future, this device driver may be renamed to socgen(4), as it can in principle also be used with other system-on-chip (SoC) busses, such as Axi on ASICs and FPGAs. However, we have only tested it on Avalon busses with memory-mapped ROMs, frame buffers, etc. Sponsored by: DARPA, AFRL
Notes
Notes: svn path=/head/; revision=239674
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files
index bcc2f7a4a084..dcc3c9a0ac63 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -659,6 +659,7 @@ dev/aic7xxx/aic7xxx_osm.c optional ahc
dev/aic7xxx/aic7xxx_pci.c optional ahc pci
dev/alc/if_alc.c optional alc pci
dev/ale/if_ale.c optional ale pci
+dev/altera/avgen/altera_avgen.c optional altera_avgen
dev/amr/amr.c optional amr
dev/amr/amr_cam.c optional amrp amr
dev/amr/amr_disk.c optional amr