summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/matcd/audio.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo: the expression .. & .. == .. needs parentheses: (.. & ..) == ..archie1998-12-041-1/+1
| | | | | PR: 8280 (2/3 patches contained in this PR) Submitted by: Sakari Jalovaara <sja@tekla.fi>
* The ioctl request arg is unsigned log, so don't attempt to pass itbde1998-07-151-2/+2
| | | | | | around as signed int. Fixed printf format error for ioctl request arg hidden in ifdefed code.
* o Support for CDIOCPREVENT and CDIOCALLOW ioctls that xcdplayerjkh1995-09-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | were making and were no-brainers. However, the xcdplayer eject button didn't work because xcdplayer gave up and didn't bother to try the EJECT ioctl anyway when CDIOCALLOW was not available. This all works now. o A change so that xcdplayer gets TOC entry data for the lead-out area on the disc. Xcdplayer can now play the last track on a CD, which it would not do in earlier versions (but no one reported). Cdplayer gets the TOC data differently and it works in old and new versions. o Eliminated a race condition that caused the driver to sleep forever on very slow and heavily loaded systems on rare occasions when the system was doing lots of audio-related ioctls to the drive. o Fixed a problem where a locked drive could be unlocked by accessing one of the non-locking devs. Door locking now follows the documented rules. o Made all wait channel strings unique to matcd. Submitted by: Frank Durda IV <uhclem%nemesis@fw.ast.com>
* Remove trailing whitespace.rgrimes1995-05-301-4/+4
|
* This is the new submission of the matcd driver. In addition to thejkh1995-04-091-0/+514
new driver code, there are diffs to several other existing files on the system and a man page. This version of matcd implements the rest of the key ioctls related to playing audio CDs and reading table of contents information from any type of disc. This update also corrects several problems detected since the original version 1(10) was released. These include: 1. Jordons report on the kernel -c string problem. 2. A problem with the driver being confused by other types of devices located at addresses it probes. 3. An old CD TOC wouldn't always be cleared after a disc change. 4. Cleaned up code so -Wall yields no warnings on 2.0 and later. 5. A problem with drive getting out of sync with the driver when changing between CD-Data and CD-DA. There have only been two reports from the field relating to problems so either the first release isn't really being used or doesn't have many problems. If there are any problems with this submission, please let me know. Submitted by: Frank Durda IV <uhclem%nemesis@fw.ast.com>
OpenPOWER on IntegriCloud