summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2001-06-27 01:55:29 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2001-06-27 01:55:29 +0000
commita166c5a77b5363a65f22a5b6ff2992280535ded7 (patch)
treea1538244696d008daec3c267619c3ef3171c0403
parent10be5462b8b0fce3329a0640d773ac9d35609426 (diff)
Pastos from the inception
-rw-r--r--sys/dev/ic/aac.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/aac.c b/sys/dev/ic/aac.c
index 6de5a326f0a..68c1511dcc2 100644
--- a/sys/dev/ic/aac.c
+++ b/sys/dev/ic/aac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aac.c,v 1.4 2001/04/06 04:42:06 csapuntz Exp $ */
+/* $OpenBSD: aac.c,v 1.5 2001/06/27 01:55:28 niklas Exp $ */
/*-
* Copyright (c) 2000 Michael Smith
@@ -632,7 +632,7 @@ aac_scsi_cmd(xs)
lock = AAC_LOCK(sc);
- /* Don't double enqueue if we came from gdt_chain. */
+ /* Don't double enqueue if we came from aac_chain. */
if (xs != LIST_FIRST(&sc->sc_queue))
aac_enqueue(sc, xs, 0);
@@ -1222,8 +1222,8 @@ aacminphys(bp)
#if 1
#if 0 /* As this is way more than MAXPHYS it's really not necessary. */
- if (bp->b_bcount > ((GDT_MAXOFFSETS - 1) * PAGE_SIZE))
- bp->b_bcount = ((GDT_MAXOFFSETS - 1) * PAGE_SIZE);
+ if (bp->b_bcount > ((AAC_MAXOFFSETS - 1) * PAGE_SIZE))
+ bp->b_bcount = ((AAC_MAXOFFSETS - 1) * PAGE_SIZE);
#endif
#else
for (off = PAGE_SIZE, pa = vtophys(buf); off < bp->b_bcount;