summaryrefslogtreecommitdiff
path: root/sys/arch/arc/dev/asc.c
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1996-08-26 11:12:04 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1996-08-26 11:12:04 +0000
commitd839639afe6c5828f1e17b3a6b6762d250d49b68 (patch)
tree79af0d5d3081bd2b1b6eda7d5fc2c8752648865f /sys/arch/arc/dev/asc.c
parent42cd6d30a630d04191471afa01a3b396e7253b2d (diff)
Changes and bugfixes in memory handling system.
Sysmap too small. Alloc map page failure. Support for discontigous memory. Needs testing. Name changes. "Mach" removal. Kernel memory size increased.
Diffstat (limited to 'sys/arch/arc/dev/asc.c')
-rw-r--r--sys/arch/arc/dev/asc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/arc/dev/asc.c b/sys/arch/arc/dev/asc.c
index 0a8af5464b9..24780814358 100644
--- a/sys/arch/arc/dev/asc.c
+++ b/sys/arch/arc/dev/asc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: asc.c,v 1.1 1996/06/24 09:07:19 pefo Exp $ */
+/* $OpenBSD: asc.c,v 1.2 1996/08/26 11:11:59 pefo Exp $ */
/* $NetBSD: asc.c,v 1.10 1994/12/05 19:11:12 dean Exp $ */
/*-
@@ -642,7 +642,7 @@ asc_scsi_cmd(xs)
* Flush caches for any data buffer
*/
if(xs->datalen != 0) {
- MachHitFlushDCache(xs->data, xs->datalen);
+ R4K_HitFlushDCache(xs->data, xs->datalen);
}
/*
* The hack on the next few lines are to avoid buffers
@@ -1397,7 +1397,7 @@ asc_end(asc, status, ss, ir)
state->buf = (vm_offset_t)&scsicmd->sense;
state->buflen = sizeof(struct scsi_sense_data);
state->flags |= CHECK_SENSE;
- MachHitFlushDCache(state->buf, state->buflen);
+ R4K_HitFlushDCache(state->buf, state->buflen);
asc->cmd[target] = scsicmd;
asc_startcmd(asc, target);
return(0);