Subject: Re: "pmax autoconfig changes: please try out!" (Jan 29, 8:10pm)
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Yoseff francus <francus@yossi.com>
List: port-pmax
Date: 02/01/1996 00:31:02
Here are the fixes (sorry for no diffs but this should be enough).

The problem in the newest sup sources is that autoconf.h no longer has
BUS_MATCHNAME and BUS_CVTADDR defined. Some files, such as asc.c and
sfb.c still make use of those macros. Modifying those files to do what
sii.c and other files do (strncmp instead of BUS_MATCHNAME and use of 
ca->ca_addr instead of BUS_CVTADDR) solve the problem.

Also, casts need to be made in asc.c line 508 of (void *) 
and in sfb.c of (caddr_t)ca->ca_addr in the two places where base is
initialized to this. Otherwise they fail when -Werror is used.

yoseff