Back to home page

OSCL-LXR

 
 

    


0001 .. SPDX-License-Identifier: GPL-2.0
0002 
0003 ========================================
0004 The COPS LocalTalk Linux driver (cops.c)
0005 ========================================
0006 
0007 By Jay Schulist <jschlst@samba.org>
0008 
0009 This driver has two modes and they are: Dayna mode and Tangent mode.
0010 Each mode corresponds with the type of card. It has been found
0011 that there are 2 main types of cards and all other cards are
0012 the same and just have different names or only have minor differences
0013 such as more IO ports. As this driver is tested it will
0014 become more clear exactly what cards are supported.
0015 
0016 Right now these cards are known to work with the COPS driver. The
0017 LT-200 cards work in a somewhat more limited capacity than the
0018 DL200 cards, which work very well and are in use by many people.
0019 
0020 TANGENT driver mode:
0021         - Tangent ATB-II, Novell NL-1000, Daystar Digital LT-200
0022 
0023 DAYNA driver mode:
0024         - Dayna DL2000/DaynaTalk PC (Half Length), COPS LT-95,
0025         - Farallon PhoneNET PC III, Farallon PhoneNET PC II
0026 
0027 Other cards possibly supported mode unknown though:
0028         - Dayna DL2000 (Full length)
0029 
0030 The COPS driver defaults to using Dayna mode. To change the driver's
0031 mode if you built a driver with dual support use board_type=1 or
0032 board_type=2 for Dayna or Tangent with insmod.
0033 
0034 Operation/loading of the driver
0035 ===============================
0036 
0037 Use modprobe like this: /sbin/modprobe cops.o (IO #) (IRQ #)
0038 If you do not specify any options the driver will try and use the IO = 0x240,
0039 IRQ = 5. As of right now I would only use IRQ 5 for the card, if autoprobing.
0040 
0041 To load multiple COPS driver Localtalk cards you can do one of the following::
0042 
0043         insmod cops io=0x240 irq=5
0044         insmod -o cops2 cops io=0x260 irq=3
0045 
0046 Or in lilo.conf put something like this::
0047 
0048         append="ether=5,0x240,lt0 ether=3,0x260,lt1"
0049 
0050 Then bring up the interface with ifconfig. It will look something like this::
0051 
0052   lt0       Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-F7-00-00-00-00-00-00-00-00
0053             inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
0054             UP BROADCAST RUNNING NOARP MULTICAST  MTU:600  Metric:1
0055             RX packets:0 errors:0 dropped:0 overruns:0 frame:0
0056             TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 coll:0
0057 
0058 Netatalk Configuration
0059 ======================
0060 
0061 You will need to configure atalkd with something like the following to make
0062 it work with the cops.c driver.
0063 
0064 * For single LTalk card use::
0065 
0066     dummy -seed -phase 2 -net 2000 -addr 2000.10 -zone "1033"
0067     lt0 -seed -phase 1 -net 1000 -addr 1000.50 -zone "1033"
0068 
0069 * For multiple cards, Ethernet and LocalTalk::
0070 
0071     eth0 -seed -phase 2 -net 3000 -addr 3000.20 -zone "1033"
0072     lt0 -seed -phase 1 -net 1000 -addr 1000.50 -zone "1033"
0073 
0074 * For multiple LocalTalk cards, and an Ethernet card.
0075 
0076 * Order seems to matter here, Ethernet last::
0077 
0078     lt0 -seed -phase 1 -net 1000 -addr 1000.10 -zone "LocalTalk1"
0079     lt1 -seed -phase 1 -net 2000 -addr 2000.20 -zone "LocalTalk2"
0080     eth0 -seed -phase 2 -net 3000 -addr 3000.30 -zone "EtherTalk"