freebsd-skq/sys/dev/dcons
marius fd213ef8e2 Given that the buffer dcons_crom(4) exposes is used for both input
and output, set BUS_DMA_COHERENT when creating the DMA map used for
loading the buffer. As a side-effect this solves locking issues on
sparc64 when dcons(4) calls bus_dmamap_sync(9) while in an interrupt
filter, which are executed in a critical section, and iommu(4) has
to use a sleep lock when taking advantage of the streaming buffer.

Reported and tested by:	kensmith
Approved by:		simokawa
2008-11-19 22:09:03 +00:00
..
dcons_crom.c Given that the buffer dcons_crom(4) exposes is used for both input 2008-11-19 22:09:03 +00:00
dcons_os.c
dcons_os.h
dcons.c
dcons.h