linux-old/Documentation/riscom8.txt
<<
>>
Prefs
   1        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
   5NOTE: English is not my native language. 
   6      I'm sorry for any mistakes in this text.
   7
   8Misc. notes for RISCom/8 serial driver, in no particular order :)
   9
  101) 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
  152) The driver partially supports famous 'setserial' program, you can use almost
  16   any of its options, excluding port & irq settings.
  17
  183) 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        
  214) I consider the current state of the driver as BETA.
  22   If you REALLY think you found a bug, send me e-mail, I hope I'll
  23   fix it. For any other problems please ask support@sdlcomm.com.
  24
  255) SDL Communications WWW page is http://www.sdlcomm.com.
  26
  276) You can use the script at the end of this file to create RISCom/8 devices.
  28
  297) Minor numbers for first board are 0-7, for second 8-15, etc.
  30
  3122 Apr 1996.
  32
  33-------------------------------cut here-------------------------------------
  34#!/bin/bash
  35NORMAL_DEVICE=/dev/ttyL
  36CALLOUT_DEVICE=/dev/cuL
  37NORMAL_MAJOR=48
  38CALLOUT_MAJOR=49
  39
  40echo "Creating devices... "
  41for 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
  54done
  55echo "done."
  56-------------------------------cut here-------------------------------------
  57
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.