*BSD News Article 58808


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!agate!howland.reston.ans.net!EU.net!news.eunet.fi!news.jmp.fi!news.jmp.fi!not-for-mail
From: jmarin@teeri.jmp.fi (Jukka Marin)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: NetBSD/amiga: How do I access my 2232?
Date: 4 Jan 1996 14:04:39 +0200
Organization: JMP-Electronics, Kuopio, Finland
Lines: 62
Message-ID: <4cgfon$3n8@teeri.jmp.fi>
References: <ufentiuwqs.fsf@cumulus.sky.bln.sub.org>
NNTP-Posting-Host: teeri.jmp.fi
X-Newsreader: NN version 6.5.0 #13 (NOV)

martini@heaven7.snafu.de (Martin Ibert) writes:

>Hi,

>maybe I'm a bit stupid, but I have yet to figure out how I am supposed
>to use the 7 serial ports that my 2232 serial multiport card
>provides. I have configured the device into the kernel; the dmesg
>lines are

>	msc0 at zbus0 rom 0xe90000 man/pro 514/70
>	msc0: Board successfully initialized.
>	msc0: Normal version detected (c083:1)

>Looks good, doesn't it?

Yep.

>I have even found (in arch/amiga/amiga/conf.c) that
>the device major appears to be c/31, and (in arch/amiga/dev/msc.c) the
>scheme for generating the minor numbers. But the MAKEDEV scripts do
>not seem to support these devices.

Hm, I thought MAKEDEV had been upgraded.  Oh well..  Here's what I have
on my system:

jmarin@muikku ~ %(50)ll /dev/ttym*
crw-------  1 root  wheel   12, 128 Sep 13 17:05 /dev/ttym0
crw-------  1 root  wheel   31,   1 Jan  4 14:01 /dev/ttym1
crw-------  1 root  wheel   31,   3 Jan  4 13:20 /dev/ttym2
crw-------  1 root  wheel   31,   5 Jan  4 02:47 /dev/ttym3
crw-------  1 root  wheel   31,   7 Jan  4 07:00 /dev/ttym4
crw-------  1 root  wheel   31,   9 Jan  4 09:49 /dev/ttym5
crw-------  1 root  wheel   31,  11 Oct  5 13:09 /dev/ttym6
crw-------  1 root  wheel   31,  13 Oct  5 13:09 /dev/ttym7
jmarin@muikku ~ %(51)ll /dev/tty0*
crw-------  1 root  wheel   12,   0 Jan  4 14:01 /dev/tty00
crw-------  1 root  wheel   31,   0 Oct  5 13:08 /dev/tty01
crw-------  1 root  wheel   31,   2 Oct  5 13:08 /dev/tty02
crw-------  1 root  wheel   31,   4 Oct  5 13:08 /dev/tty03
crw-------  1 root  wheel   31,   6 Jan  1 01:37 /dev/tty04
crw-------  1 root  wheel   31,   8 Jan  1 01:37 /dev/tty05
crw-------  1 root  wheel   31,  10 Oct  5 13:09 /dev/tty06
crw-------  1 root  wheel   31,  12 Oct  5 13:09 /dev/tty07

>Of course I can mknod them myself, but I'd rather not if there is a
>better documented way of doing it. Or, if I have to do it all by
>myself, I'd like to know if there is a "standard" or "proposed" way of
>naming the devices.

Use mknod for now.

Besides, I have a newer version of the driver available, but it wasn't
included in the 1.1 distribution (I don't know why).  Neither has a fix
for the Hydra Ethernet driver found its way to the tree.  Hrm.

  -jm

-- 

                I'm not lazy - I'm only selectively motivated

                     ---> http://www.jmp.fi/~jmarin/ <---