Accessing serial ports using device drivers.
jon e luntz
luntz at acsu.buffalo.edu
Thu Jun 13 23:24:12 AEST 1991
Hi,
We are using a motorola VME133xt board on a rack with no disk drive.
We are booting and loading the programs from rom. The VME133xt has a z8530
chip which controlls a RS232 and 432 port on the back. Normally, we would
fopen the proper /dev/scc0 or whatever file and read or write to that. However
since we do not have a disk connected, we would need to somehow open the serial
port directly through its kernel device driver. The problem is that there is
no major device number assigned to this device (it is just a "-" which means
that it is assigned automatically, whatever that means). The operating system
is VMEexec v1.2. We want not to have to program in assembly: we want to stick
to c. If anyone has had any experience with motorola systems or with using
device drivers in general, I'd appreciate any help I could get.
Thanks in advance,
Jon Luntz
Summer Student
Oak Ridge National Lab
Telerobotic Systems Section, EP&M.
More information about the Comp.unix.questions
mailing list