Subject: Re: New snapshot
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Erik Bertelsen <>
List: port-pmax
Date: 05/28/1997 13:10:53
On Tue, 27 May 1997, Jonathan Stone wrote:

.. Both -current and the kernel also include changes to the configuration
.. of the dc serial driver that allow the DS3100 config to build cleanly
.. (without undefined references to ds_ioasic code).  I don't yet have a
.. 3100. If someone could verify that -current kernel works on 3100s both
.. with and without serial consoles, that'd be great.

With todays SUP, i get a couple of compilation errors with my custom
DS3100 kernel (this is without serial console).

My q&d patches are:

Index: dev/dcvar.h
RCS file: /sw/cvs-base/src/sys/arch/pmax/dev/dcvar.h,v
retrieving revision
diff -r1.1.1.1 dcvar.h
< void dc_consinit __P((dev_t dev, dcregs *dcaddr));

This is to remove the following problem (this is not a suggested
solution !!)
cc  -O2 -Werror -mno-abicalls -mno-half-pic -I. -I../../../../arch
-DMAXUSERS=16 -D_KERNEL  -Dpmax -G 0  -c
In file included from ../../../../arch/pmax/dev/qvss_compat.c:107:
../../../../arch/pmax/dev/dcvar.h:40: syntax error before `dcregs'
*** Error code 1

Index: dev/qvss_compat.c
RCS file: /sw/cvs-base/src/sys/arch/pmax/dev/qvss_compat.c,v
retrieving revision
diff -r1.1.1.3 qvss_compat.c
> extern void   (*dcMouseButtons) __P((int)); 
> extern void       (*dcMouseEvent) __P((int)); 
> extern void       (*dcDivertXInput) __P((int));

These function pointers are used, at least when NDC_IOASIC > 0. Again
this this patch is not a solution, just a quick hack to get it to compile
here & now.

Otherwise I'm running with this kernel.

Erik Bertelsen