summaryrefslogtreecommitdiffstats
path: root/sys/dev/mcd/mcdreg.h
Commit message (Collapse)AuthorAgeFilesLines
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Calculate TOC size to match what scsi cd says.ache1996-02-021-2/+2
| | | | Exchange control<->addr_type fields
* Return to #pragma pack(4) after header is doneache1996-02-011-1/+6
| | | | Obtained from: NetBSD
* Fix audio part, especially READTOCENTRYS inspired by NetBSD driverache1996-01-301-2/+3
| | | | and my own ideas
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* Use double speed read for FX001D, now this driveache1995-01-301-3/+3
| | | | | becomes two times faster than in old variant. Get rid of false "media changed" errors during large disk transfers
* Merge several probe diagnostics into one.ache1994-12-241-8/+3
| | | | | Adjust for newer model for all non-LUxxx too. FLAGS status register names cleanup
* Add and reorganize new MCD commands from bugress@s069.infonet.netache1994-11-121-7/+68
| | | | No functionality changes yet, will be next step
* Newly implemented ioctls list:ache1994-09-031-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DIOCGDINFO, DIOCGPART, DIOCWDINFO, DIOCSDINFO, CDIOCPLAYMSF, CDIOCRESET, CDIOCEJECT. CDIOCPLAYBLOCKS removed (old implementation completely wrong and I don't know how to implement it correctly). All routines now detects media change correctly. DELAY_GETREPLAY increased for long time access from first track to last. mcd_waitrdy() now use MIN_DELAY=15 as minimal delay which independs of machine speed. mcd_doread() now uses real status (old code uses obsoleted soft copy of it). clear XBSY on error in mcd_doread() mcd_statrt(): add missing splx(s), cause dead hang with unmatched slpbio() optimize mcd_doread(), don't set CD mode each time, keep soft copy of mode. call getdisklabel() _after_ mcdsize() for proper sizes mcdopen(): old code forget to set MCDREADRAW in flags when open RAW partition, doread check it for setting RAW CD mode. Do nothing on stray interrupt (which sometimes occurse, because driver read data block too slow, DOS driver use 'insb' here). Old stray code cause timeouts. Read toc entries code rewritten to return many requested entries (as supposed) instead of one entry with incorrect structure. CMDREAD2 requests covered with disable_intr()/enable_intr() (from DOS driver) Read junk code added after read block code in doread (from DOS driver) mcd_read_toc() code fixed to read all needed entries, old code cause some audio tracks is not played. mcd_playtracks() code fixed to proper check valid track range. New binary read modes implemented (from DOS driver).
* This is Jordans probe code fixes. Tested on LU002, FX001D. Then I wentrgrimes1994-02-221-6/+7
| | | | | in and cleaned the spaces vs tabs up, and made the code a little closer to KNF.
* From Gary Clark II:jkh1994-01-161-4/+12
| | | | | | 1. Fixed probe to work with FX mitsumi's. 2. Added some defines in prep for adding interupts and dma
* Mitsumi cd rom driver from Holger Viet as fixed up by Gary Clark II.rgrimes1993-10-121-0/+150
Still a little rought, but it seems to be working.
OpenPOWER on IntegriCloud