I just acquired a DRSI board and decided to use it to replace a TNC for
my 2m port. I obtained z8530drv-2.4c from somewhere deep in the bowels
of sunsite, patched it to add the missing #include file in genscc.c,
and did "make for_kernel".
Everything compiled fine, and then I recompiled the kernel adding SCC
support. That compile completed fine. /dev/scc0 through dev/scc7
exist.
I edited /etc/z8530 as shown below, based on the DRSI example in the
docs.
Now, when I try to run sccinit I get the error: "SIOCSCCINI: Invalid
argument". I've looked at the archives of linux-hams and seen other
messages (usually "device not found") related to SIOSCCINI, but I
haven't seen any reference to this error.
By the way -- whatever is going wrong is hosing the system networking
big time -- shortly after executing sccinit and getting this message,
the ethernet interface stops working with strange messages about
malformed packets.
Help!
73,
John N8UR
gqgg.cgauyia@senter.nl
# 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 0x303 # data port A
ctrl_a 0x302 # control port A
data_b 0x301 # data port B
ctrl_b 0x300 # control port B
irq 2 # IRQ No. 5 (#)
pclock 4915200 # clock (+)
board DRSI # hardware type (*)
escc no # enhanced SCC chip? (8580/85180/85280) (*)
vector no # latch for interrupt vector ($)
special no # address of special function register (*)
option 0 # option to set via sfr (*)
#
# (*) option, default value is 0
# (+) option, default is 4915200
#
# 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 dpll # clock source: use the dpll
mode nrzi # normal NRZI operation
rxbuffers 8
txbuffers 16
bufsize 384
#
# Level 1 parameters
#
txdelay 30 # You should know about these already!
persist 32
slot 30
tail 4
fulldup 0
wait 15
min 3
maxkey 7
idle 3
maxdef 120
group 0
txoff off
softdcd off # use software dcd
#
# End of File
#