thorpej
8abe76d2f0
Add offset and length parameters to bus_dmamap_sync(), used for specifiying
...
partial syncs of a DMA mapping.
1998-02-04 05:12:46 +00:00
thorpej
7e062e8a4e
Enable use of bus_dmamem_mmap().
1997-09-05 01:48:33 +00:00
augustss
420b75952f
Insert a sanity check so we get a panic instead of a kernel page
...
fault if the DMA map is missing.
1997-08-30 17:33:49 +00:00
augustss
3bcc377a4c
Implement a function to test if a drq is taken and use it
...
in two drivers. There are still many drivers left to fix...
1997-08-04 22:13:32 +00:00
augustss
cf8a170732
Don't panic when creating a bus dma map for a taken dma channel,
...
it can happen during probing.
1997-07-31 22:20:47 +00:00
augustss
a63034762b
Audio: Remove the machine dependant code I put in audio.c by mistake.
...
This adds another method to audio_hw_if. Also remove a field from
audio_hw_if that was not read-only.
1997-07-28 20:56:05 +00:00
augustss
9745684ebe
Changes to the sudio system:
...
- It is now possible to handle devices that want "looping" DMA,
e.g. the SoundBlaster correctly. The WSS and SB drivers use this.
To do this several new methods were introduced in audio_hw_if.
- Different silence handling (forced by previous change).
- The audio driver can now be mmap()-ed, but due to problems in
the VM system only for writing for now.
- The OSS (Linux) audio emulation takes advantage of some of the
new features.
1997-07-27 01:16:32 +00:00
thorpej
11e78a6b0d
Pull thorpej-bus-dma branch into mainline.
1997-06-06 23:43:45 +00:00
mycroft
9a7f1bfa84
Use single mode, not demand mode, for auto-initialize transfers.
1997-05-29 21:46:07 +00:00
mycroft
e9028468cd
Don't use the TC bit to check for wraparound in isa_dmacount(); remember the
...
transfer length and use that.
1997-05-28 20:02:39 +00:00
mycroft
188dec4d19
Clean up a bit, and export isa_dmamask() and isa_dmaunmask() interfaces.
1997-03-21 02:17:11 +00:00
mycroft
3523bc35d5
Add an isa_dmacount() function, to get the current residual count on a channel.
1997-03-21 00:00:21 +00:00
christos
86373f8cf9
backout kprintf changes
1996-10-13 01:37:04 +00:00
christos
58953408cb
printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:04:48 +00:00
christos
e8a8a6298c
- prototype fixes
1996-04-29 20:02:32 +00:00
mycroft
004f5e8d39
Fix a slight biff with 16-bit DMA in last change.
1996-03-31 20:51:43 +00:00
mycroft
d8026ad9ef
Oops; switched two bits.
1996-03-01 04:35:27 +00:00
mycroft
f3b29ca5d2
Remove two unneeded `if's.
1996-03-01 04:13:25 +00:00
mycroft
546ad9e88b
Add support to the ISA DMA framework for auto-initialize mode.
...
Add experimental SB16 code, disabled for now.
1996-03-01 04:08:13 +00:00
mycroft
3ec5928403
Keep the terminal count information around, as it's self-clearing.
1996-02-22 06:21:48 +00:00
mycroft
4d6412e7bf
Move the terminal count check into a separate function.
1996-02-20 04:17:05 +00:00
cgd
8a640328ed
clean up several ISA device interfaces: autoconfiguration, header
...
inclusion, and interrupt configuration. more work still needs to be done,
but it's getting better...
1995-04-17 12:06:30 +00:00
mycroft
e25c1817cf
kernel_pmap --> pmap_kernel()
1995-04-10 13:08:28 +00:00
mycroft
61800cfa25
Convert port, IRQ, and DRQ numbers to ints.
1994-11-18 22:07:32 +00:00
mycroft
854d8d96dc
Rearrange slightly.
1994-11-04 19:25:34 +00:00
cgd
022ee8f7fe
new RCS ID format.
1994-10-27 04:14:23 +00:00
cgd
057dc4deec
quiet compiler warnings
1994-05-23 03:02:13 +00:00
mycroft
2f66816d8b
Rename two files.
1994-04-24 01:34:05 +00:00
mycroft
221b25fd9d
Separate DMA functions.
1994-04-22 22:58:50 +00:00
mycroft
3810963ed5
Add at_setup_dmachan(). Minor cleanup.
1993-10-22 20:24:14 +00:00
mycroft
6067dc9ea8
Minor cleanup.
1993-10-17 05:34:23 +00:00
mycroft
c73d85d341
Panic if DMA with odd length attempted on a 16-bit channel.
1993-10-16 03:55:59 +00:00
mycroft
4f94812b29
New file with DMA code from isa.c, modified to check for some errors.
1993-10-14 05:22:57 +00:00