Commit Graph

414 Commits

Author SHA1 Message Date
veego b8b28812be Add missing keypad entry for '+' and correct a comment. From pr#3893. 1997-09-06 12:41:10 +00:00
is e7c8f94f9d Yet another BROKEN removed, and another small cleanup. 1997-08-27 20:41:30 +00:00
is 1dc1561ebc Rename the _probe function to _match, and remove the
#ifdef _BROKEN_INDIRECT_CONFIG which we dont need here.
Thanks to Bernd Ernesti for pointing this out.
1997-08-27 20:35:46 +00:00
is 0564e80e3e This is no longer needed. 1997-08-27 19:37:30 +00:00
is f7c9a70a19 Define supio, a direct bus with a single locator, the port number. This
is for "standard PC i/o stuff" at known and constant locations, e.g. when
multi-io chips are used on non-ISA mainboards.
Implement drsupio.c, the DraCo version of this.
Attach the generic com.c to this bus.
Remove the old drcom hack.
1997-08-27 19:32:47 +00:00
bouyer 6f3bab1f59 Merge scsipi branch in the mainline. This add support for ATAPI devices
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
1997-08-27 11:22:52 +00:00
augustss 6616d47838 - Change audio_hw_if a little: set_param now sets the play and record modes
at the same time instead by using two different calls.  This enables
  it to check more easily if the combined mode is all right.
- Improve the error checking in audio.c.
- Add a new audio property, AUDIO_PROP_INDEPENDENT, show if the
  play and record settings are independent.
- Fix some buglets in audio.c.
1997-08-24 22:31:23 +00:00
augustss 332ad95e76 Change the MI audio driver so it attaches to the MD driver in the
normal way.  This requires adding a line to the config files to
get audio to work again.
1997-08-19 23:49:33 +00:00
augustss 658656bb99 Audio changes:
- Change the way attach and open works to allow multiple audio
	  devices.
	- Split the mulaw.c file into two to avoid dragging in mulaw
	  convertsion when they are not needed.  Add 16 bit alaw/mulaw tables.
	- Change the way audio properties are gotten.
	- Recognize more versions os SoundBlaster.
1997-07-31 22:33:08 +00:00
veego ccd583103e Fix the doublescan mode which was broken in the last commit. 1997-07-30 11:05:55 +00:00
veego 777749b558 - Remove grfvideo_mode->hblank_stop and grfvideo_mode->vblank_stop.
- Add grfvideo_mode->disp_flags to select interlace, doublescan,
  sync-on-green and horizontal/vertical sync polarity.
- Add some constants for grfvideo_mode->disp_flags.
1997-07-29 17:54:11 +00:00
veego 1d8c390628 - Change the check in r[ht]_getvmode for md->DEP == 4 to md->DEP != 4.
This fixes a wrong output from grfconfig /dev/grf[23]
- changes for the grfconfig interface:
  - Remove gv->hblank_stop and gv->vblank_stop.
  - Only print doublescan and interlace flags. Horizontal/vertical sync
    polarities are not yet supported and sync-on-green will never be
    supported.
1997-07-29 17:52:05 +00:00
veego eb3d5738b5 - changes for the grfconfig interface (provided by Ignatios Souvatzis):
- Remove gv->{hblank_stop,vblank_stop} and use the other grfvideo_mode
    values to set ba->data.
  - Add gv->disp_flags to select interlace.
  - Not yet supported are: doublescan, sync-on-green and the horizontal/vertical
    sync polarity.
  This makes it possible to use xfree values for grfconfig.
1997-07-29 17:50:01 +00:00
veego f46269ea78 - increase the number of possible grfmodes from 8 to 24
- changes for the grfconfig interface:
  - Remove gv->{hblank_stop,vblank_stop} and calculate HBE and VBE from
    gv->{htotal,vtotal}.
  - Add support for gv->disp_flags to select interlace, doublescan and
    horizontal/vertical sync polarity.
  - Return EINVAL for gv->disp_flags and sync-on-green.
  This makes it possible to use xfree values for grfconfig.
1997-07-29 17:46:24 +00:00
veego ce2e3d407b - s/inline/__inline/
- Use interrrupt #6 instead of #2. #6 is the default interrupt and there
  seems to be a problem with Cyberstorm 060 and #2.
- Set the interrupt register before enabling the interrupt.
- GC M2INS
- minor cleanup
- Switch from +hsync/+vsync to -hsync/-vsync.
- changes for the grfconfig interface:
  - Remove gv->{hblank_stop,vblank_stop} and calculate HBE and VBE from
    gv->{htotal,vtotal}.
  - Add support for gv->disp_flags to select interlace, doublescan and
    horizontal/vertical sync polarity.
  - Return EINVAL for gv->disp_flags and sync-on-green.
  This makes it possible to use xfree values for grfconfig.
1997-07-29 17:44:20 +00:00
veego 8b5fbedb3c s/inline/__inline/ 1997-07-29 17:42:03 +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 d828d675e3 Update forgotten audio driver for changes in audio_hw_if. 1997-07-28 10:04:35 +00:00
augustss d58bc6796f audio: Simplify handling of AUDIO_SETFD and committing of encoding mode. 1997-07-27 23:51:48 +00:00
is 3ca46d33e1 Lowering spl when doing disk I/O below splbio() isnt recommended. 1997-07-26 22:07:54 +00:00
is 181debe530 Fix a complaint by Eric Delcamp on port-amiga... looks like Thorsten Fruehauf
didn't find all occurences of unprotected is_draco(), and I didn't look hard
enough, either, when fixing.
1997-07-23 10:19:42 +00:00
kleink 97db364868 a2kbbc_match(): check unit explicitly against 0. Minor KNF. 1997-07-22 23:12:13 +00:00
is 4d8c2c3528 Make Amiga battery clocks autoconfiguration devices, so that they can be
left out of specialized configurations.
1997-07-19 00:01:40 +00:00
is fc3de9d828 Make the DraCo hardware clock an autoconfiguration device. 1997-07-17 23:29:28 +00:00
jtk 594536a71f use locator defines in "locators.h" to index cf_loc[] 1997-07-17 01:28:54 +00:00
augustss 5b3b56dd1a Garbage collect some unused routines. 1997-07-15 07:51:04 +00:00
augustss 8727da130b In the name of backwards compatibility AUDIO_ENCODING_LINEAR has been
renamed AUDIO_ENCODING_SLINEAR and AUDIO_ENCODING_LINEAR reverts to the
NetBSD 1.2 sematics.  A kernel with COMPAT_12 defined will accept
AUDIO_ENCODING_LINEAR and treat it as before, without COMPAT_12 it
will be rejected.
1997-07-15 07:46:04 +00:00
is c7e3ab1310 - Fix gain control.
- play mono stuff on all channels.
1997-07-10 22:18:42 +00:00
is e76096387d Make multichannel output work. The cc parameter to hw_start_output is
a byte counter, it seems. Somebody should really write man 9 audio_if.
While here, make debug output invisible #ifndef AUCCDEBUG.
1997-07-09 22:37:08 +00:00
is 487476c2a9 Implement the RTC_OFFSET kernel option/rtc_offset variable for the Amiga port.
To get the old behaviour, set options RTC_OFFSET=0 in your kernel configuration
file.
1997-07-06 23:17:53 +00:00
is 5e6f97d4ef A first hack at DraCo real-time clock support; only reads clock, currently.
Also only whole seconds are used (while the hardware provides 1/256 seconds).
1997-07-06 22:27:19 +00:00
is 5171612d6c Multichannel output still doesn't work, but while working on it, I repaired
the double buffering code, and setting a couple of other parameters works now.
1997-07-04 21:00:15 +00:00
is 7fe3065765 Make aucc work in the presence of LEV6_DEFER. 1997-06-23 23:46:23 +00:00
kleink df92c57dc5 Change last commit to use `#error'. 1997-06-21 22:46:43 +00:00
is ff79d0a7dd Make this fail to compile with LEV6_DEFER.
XXX This isn't nice, but stopping the  system clock isn't nice, either.
We will repair this soon.
1997-06-21 21:52:37 +00:00
is 4b718644a7 Add RCS ids, and clean up some unused in newstyle audio hardware drivers
functions.
1997-06-20 21:45:11 +00:00
is 4a4420172f Actually commit the sample rate to the hardware.
While we're here, add missing parts of (software encoded) ULINEAR encoding.
1997-06-15 23:05:43 +00:00
is c577eb43ec A bit more of KNF. 1997-06-15 21:11:33 +00:00
veego 2b9117da0a Add a missing ; if CV64CONSOLE is undefined. 1997-06-15 21:09:10 +00:00
is b14e608272 Amiga custom chip audio hardware driver, by Stefan Thesing
(thesing@cs.uni-sb.de), heavily hacked upon by me to
- make it work with -current audio system
- make it shut off Amiga audio DMA only at appropriate places.
XXX A couple of bugs still remain, which well be handled later.
XXX Among them: only mono output; doesn't refuse to handle input, but chokes;
will not play last millichunk (is this 20 ms?) of data.
1997-06-14 22:24:02 +00:00
veego 2e45a6e310 s/amiga_round_page/m68k_round_page/ 1997-06-10 18:30:28 +00:00
veego 6647500cd2 New Hardware Cursor support from Michael Teske. 1997-05-25 22:46:21 +00:00
veego 9aca91d78c Converted for the use of sys/dev/clock_subr.[ch].
Add some comments about the a2000 oki clock chip and stop the clock while
writing.
1997-05-25 22:11:48 +00:00
veego b2361aa1f6 Remove some defines which are no longer needed.
clock.c uses now sys/dev/clock_subr.[ch].
1997-05-25 22:08:24 +00:00
is e60bbb3b89 Actually ask for ARP initialization on this interface.
Somehow this commit was forgotten. Sorry folks.
1997-04-04 06:27:32 +00:00
veego 7e75a99bfc s/ae/le/ for the recent Ariadne changes. 1997-03-27 23:50:39 +00:00
veego fd019e12b5 if_le supports now the Ariadne card. 1997-03-27 21:15:11 +00:00
is f63af0fda7 Now that ARP on ARCnet works, set it as default. 1997-03-23 15:59:41 +00:00
veego d34943dc4f Add a missing test for the PicassoIV, which fix the colour problem. 1997-03-21 09:40:58 +00:00
veego 2cae836714 Remove NAE, put the revision into ae_softc and fixes from dev/ic/am7990.c:
>Signed shifts are evil.
>Thanks to Michael Smith for reporting, Jason Thorpe for pointing to the
>report, doing a quick workaround which pointed me to the right code part and
>for testing the final fix.
1997-03-18 18:44:53 +00:00