Subject: more spasms...
To: None <port-sparc@NetBSD.ORG>
From: Matthew Jacob <mjacob@feral.com>
List: port-sparc
Date: 03/11/1997 16:41:34
Naturally things *would* have to change between 3-10 && today....
Apply this patch to isp_sbus.c so that it will compile with today's
moving target ...
*** arch/sparc/dev/isp_sbus.c Tue Mar 11 14:39:34 1997
--- /tmp/isp_sbus.c Tue Mar 11 16:47:55 1997
***************
*** 43,48 ****
--- 43,50 ----
#include <scsi/scsiconf.h>
#include <machine/autoconf.h>
+ #include <sparc/cpu.h>
+ #include <sparc/sparc/cpuvar.h>
#include <sparc/dev/sbusvar.h>
#include <dev/ic/ispreg.h>
***************
*** 288,294 ****
vm_offset_t kdvma;
if (xs->flags & SCSI_DATA_IN) {
! cache_flush(xs->data, xs->datalen - xs->resid);
}
if (handle >= RQUEST_QUEUE_LEN) {
--- 290,296 ----
vm_offset_t kdvma;
if (xs->flags & SCSI_DATA_IN) {
! cpuinfo.cache_flush(xs->data, xs->datalen - xs->resid);
}
if (handle >= RQUEST_QUEUE_LEN) {