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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [Documentation/] [riscom8.txt] - Blame information for rev 1777

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1625 jcastillo
        This is the README for RISCom/8 multi-port serial driver
2
        (C) 1994-1996 D.Gorodchanin (pgmdsg@ibi.com)
3
        See file LICENSE for terms and conditions.
4
 
5
NOTE: English is not my native language.
6
      I'm sorry for any mistakes in this text.
7
 
8
Misc. notes for RISCom/8 serial driver, in no particular order :)
9
 
10
1) This driver can support up to 4 boards at time.
11
   Use string "riscom8=0xXXX,0xXXX,0xXXX,0xXXX" at LILO prompt, for
12
   setting I/O base addresses for boards. If you compile driver
13
   as module use insmod options "iobase=0xXXX iobase1=0xXXX iobase2=..."
14
 
15
2) The driver partially supports famous 'setserial' program, you can use almost
16
   any it option, exclude port & irq settings.
17
 
18
3) There are some misc. defines at the beginning of riscom8.c, please read the
19
   comments and try to change some of them in case of problems.
20
 
21
4) I consider the current state of the driver as BETA.
22
   If you REALLY think you found the bug, send me e-mail, I hope I'll
23
   fix it. For any other problems please ask support@sdlcomm.com.
24
 
25
5) SDL Communications WWW page is http://www.sdlcomm.com.
26
 
27
6) You can use the script at the end of this file to create RISCom/8 devices.
28
 
29
7) Minors number for 1-st board are 0-7, for second 8-15, etc.
30
 
31
22 Apr 1996.
32
 
33
-------------------------------cut here-------------------------------------
34
#!/bin/bash
35
NORMAL_DEVICE=/dev/ttyL
36
CALLOUT_DEVICE=/dev/cuL
37
NORMAL_MAJOR=48
38
CALLOUT_MAJOR=49
39
 
40
echo "Creating devices... "
41
for i in 0 1 2 3; do
42
        echo "Board No $[$i+1]"
43
        for j in 0 1 2 3 4 5 6 7; do
44
                k=$[ 8 * $i + $j]
45
                rm -f $NORMAL_DEVICE$k
46
                mknod $NORMAL_DEVICE$k c $NORMAL_MAJOR $k
47
                chmod a+rw $NORMAL_DEVICE$k
48
                echo -n $NORMAL_DEVICE$k" "
49
                rm -f $CALLOUT_DEVICE$k
50
                mknod $CALLOUT_DEVICE$k c $CALLOUT_MAJOR $k
51
                chmod a+rw $CALLOUT_DEVICE$k
52
                echo $CALLOUT_DEVICE$k
53
        done
54
done
55
echo "done."
56
-------------------------------cut here-------------------------------------

powered by: WebSVN 2.1.0

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