Hi Guys,

Has anyone a config file for two SCC cards please, I am having some
difficulty in detacting the second card.

The card works ok, as I have swapped the prom from the working card into
the new card and tested it with the original config file.

So the only fault can be either the prom is corrupted or the config file
that I cannot seem to get right.

The cards are connected from the OUT on the working card to the INTAC on
the additional card, the only interrupt is set on the original card. 

Config file attached. The Original Prom is for 0x150 and the additional
prom is for 0x158. The top half of the file is from the original conf
file, which is from a working system.

The errors in /var/log/messages I get are:-

May 26 19:22:03 linux kernel: scc0: data port = 0x153  control port =
0x152 -- found
May 26 19:22:03 linux kernel: scc1: data port = 0x151  control port =
0x150 -- found
May 26 19:22:03 linux kernel: scc2: data port = 0x157  control port =
0x156 -- found
May 26 19:22:03 linux kernel: scc3: data port = 0x155  control port =
0x154 -- found
May 26 19:22:03 linux kernel: scc4: data port = 0x161  control port =
0x160 -- missing
May 26 19:22:03 linux kernel: scc5: data port = 0x159  control port =
0x158 -- missing
May 26 19:22:03 linux kernel: scc4: data port = 0x165  control port =
0x164 -- missing
May 26 19:22:03 linux kernel: scc5: data port = 0x163  control port =
0x162 -- missing
May 26 19:22:03 linux kernel: Init Z8530 driver: 4 channels, IRQ 5

(Sorry about the line wrap)

Any help appriciated.

73

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- S.M.Kitchener [EMAIL PROTECTED]                               -
-- If god had intended man to smoke - he would have set him on fire  ----
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# z8530drv.conf - initialization for the Z8530 SCC driver v 2.4
#
# Lines must not be longer than 255 bytes!
#
#
# Hardware section
#
# SCC chip 1
#
chip    1
data_a  0x153                   # data port A
data_b  0x151                   # data port B
ctrl_a  0x152                   # control port A
ctrl_b  0x150                   # control port B
irq     5                       # IRQ No. 5 (#)
pclock  4915200                 # clock (+)
board   PA0HZP                  # hardware type (*)
# vector  0x168
vector  0
escc    yes                     # enhanced SCC chip? (8580/85180/85280) (*)
#
# (*) option, default value is 0
# (+) option, default is 4915200
#
# SCC chip 2
#
chip    2
data_a  0x157
data_b  0x155
ctrl_a  0x156
ctrl_b  0x154
board   PA0HZP
#
chip    3
data_a  0x161
data_b  0x159
ctrl_a  0x160
ctrl_b  0x158
board   PA0HZP
#
chip    4
data_a  0x165
data_b  0x163
ctrl_a  0x164
ctrl_b  0x162
board   PA0HZP
#
# (#) all chips can share one interrupt, or you may use multiple INTs,
#     but there must be at least one IRQ defined in this system.
# ($) only one Vector Latch for all Chips is allowed.
#
#
# Software section
#
# The order of entries IS important!
#
#       first     : DEVICE
#       then      : MODEM section
#       after that: Level 1 parameters
#
# Definition of /dev/scc0
#
device  /dev/scc0
#
# MODEM related stuff
#
speed   1200                    # 1200 baud
clock   divider                 # clock source: use the dpll
mode    nrzi                    # normal NRZI operation
#
# Level 1 parameters
#
txdelay 36                      # You should know about these already!
persist 128
slot    8
tail    8
fulldup 0
wait    12
min     3
maxkey  7
idle    3
maxdef  120
group   0
txoff   off
softdcd on                      # use software dcd
#
#
# Definition of /dev/scc1
#
#
device  /dev/scc1
#
speed   1200
clock   divider
mode    nrzi
#
txdelay 40
persist 128
slot    20
tail    8
fulldup 0
wait    12
min     3
maxkey  7
idle    3
maxdef  120
group   0
txoff   off
softdcd on
#
#
# Definiton of /dev/scc2
#
#
device  /dev/scc2
#
speed   1200
clock   divider
mode    nrzi
#
txdelay 20
persist 64
slot    20
tail    8
fulldup 0
wait    12
min     3
maxkey  7
idle    3
maxdef  120
group   0
txoff   off
softdcd on
#
#
# Definition of /dev/scc3
#
#
device  /dev/scc3
speed   1200
clock   divider
mode    nrzi
#
txdelay 8
persist 64
slot    20
tail    8
fulldup 0
wait    2
min     3
maxkey  7
idle    3
maxdef  120
group   0
txoff   off
softdcd on
#
# End of File
#

Reply via email to