OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [Documentation/] [cdrom/] [mcdx] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1625 jcastillo
This is a first attempt to create an `improved' driver for the Mitsumi drives.
2
It is able to "live together" with mcd.c, if you have at least two Mitsumi
3
drives: each driver can use his own drive.
4
 
5
To allow this "coexistence" as long as mcdx.c is not a superset of mcd.c,
6
this driver has to use its own device files. We use MAJOR 20 for it. So,
7
you have to do
8
 
9
 # mknod /dev/mcdx0 b 20 0
10
 # mknod /dev/mcdx1 b 20 1
11
 
12
and so on, one entry for each drive to support, once.
13
 
14
If you are using the driver as a module, you can specify your ports and IRQs
15
like
16
 
17
 # insmod mcdx.o mcdx=0x300,11,0x304,5
18
 
19
and so on ("address,IRQ" pairs).
20
This will override the configuration in mcdx.h.
21
 
22
This driver:
23
 
24
    o   handles XA (and hopefully) multi session CDs as well as
25
        ordinary CDs;
26
    o   supports up to 5 drives (of course, you'll need free
27
        IRQs, i/o ports and slots);
28
    o   uses much less kernel memory than the standard mcd driver
29
        (no extra driver internal buffers!).
30
        o   plays audio (like the `old' driver, I hope)
31
 
32
This version doesn't support yet:
33
 
34
    o   shared IRQs (but it seems to be possible - I've successfully
35
                connected two drives to the same irq.  So it's `only' a
36
                problem of the driver.)
37
 
38
This driver never will:
39
 
40
    o   Read digital audio (i.e. copy directly), due to missing
41
        hardware features.
42
 
43
 
44
heiko@lotte.sax.de

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.