NetBSD/sys/arch/alpha
fvdl d88cf589cb A few ISA sound drivers like to share dma channels, and hence deferred
isa_dmamap_create() calls to their open/close entrypoints. This worked
with some luck, but broke on i386 when _bus_dmamap_create started
to allocate bounce buffers upfront, since memory below 16M may well
not be available when the sound devices is opened for the Nth time.

To fix this, create a new simple interface, isa_drq_alloc/isa_drq_free,
wrappers around already existing bitmask macros. These are expected
to be used before an isa_dmamap_create call, and after an
isa_dmamap_destroy call, respectively. For the sb and ad1848 drivers,
they're deferred until open/close.

All isa_dmamap_create calls can now use BUS_DMA_ALLOCNOW and be done
at attach time.
2003-05-09 23:51:25 +00:00
..
a12 Use PAGE_SIZE rather than NBPG. 2003-04-01 02:17:17 +00:00
alpha - Adjust arguments to pmap_steal_memory() for new interface. 2003-05-09 05:33:52 +00:00
common DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
compile Rework how KERNOBJDIR functions; now it's always determined with 2003-01-06 17:40:18 +00:00
conf Add wsfont support. Addresses PR#18388. 2003-05-04 01:18:56 +00:00
eisa SIMPLEQ rototill: 2002-06-01 23:50:52 +00:00
include A few ISA sound drivers like to share dma channels, and hence deferred 2003-05-09 23:51:25 +00:00
isa Move definition of ISA_DMA_BOUNCE_THRESHOLD to dev/isa/isareg.h. 2003-05-05 12:55:41 +00:00
jensenio Use aprint_normal() for cfprint routines. 2003-01-01 00:39:19 +00:00
mcbus Use aprint_normal() for cfprint routines. 2003-01-01 00:39:19 +00:00
pci Use aprint_normal() for cfprint routines. 2003-01-01 00:39:19 +00:00
sableio Use aprint_normal() for cfprint routines. 2003-01-01 00:39:19 +00:00
stand "bootparam" specific variables are defined in libsa/bootparam.c now. 2003-03-19 17:21:41 +00:00
tc Use aprint_normal() for cfprint routines. 2003-01-01 00:39:19 +00:00
tlsb Use aprint_normal() for cfprint routines. 2003-01-01 00:39:19 +00:00
Makefile Rework how KERNOBJDIR functions; now it's always determined with 2003-01-06 17:40:18 +00:00
STYLE Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00