Subject: pcvt
To: None <port-i386@NetBSD.ORG>
From: Patrick Welche <prlw1@cam.ac.uk>
List: port-i386
Date: 03/18/1997 19:25:47
Just compiling a new kernel, I get that
.../arch/i386/isa/pcvt/pcvt_hdr.h
has problems at lines 918 and 1191.
918: incompatible types in initialization, initializer element for
`vtcd.cd_class' is not constant, initialization makes integer from
pointer without a cast.
#if PCVT_NETBSD > 101
struct cfdriver vtcd = {
NULL, "vt", pcprobe, pcattach, DV_TTY, sizeof(struct vt_softc)
};
1191: confilicting types for `fillw' machine/cpu.h:140: previous
declaration of `fillw'
#if (PCVT_FREEBSD > 0 && PCVT_FREEBSD < 200) || (PCVT_NETBSD > 0 &&
PCVT_NETBSD <= 110)
extern void fillw(U_short value, void *addr, u_int length);
#endif
/usr/include/machine/cpu.h:
/* locore.s */
...
void fillw __P((short, void *, size_t));
So could .../arch/i386/isa/pcvt/pcvt_hdr.h be changed perhaps?
Cheers,
Patrick