Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sun3/dev BUFQ_* fixes.
details: https://anonhg.NetBSD.org/src/rev/213d69d8282e
branches: trunk
changeset: 481407:213d69d8282e
user: jdc <jdc%NetBSD.org@localhost>
date: Fri Jan 28 11:30:22 2000 +0000
description:
BUFQ_* fixes.
diffstat:
sys/arch/sun3/dev/fd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 16588bfd87ac -r 213d69d8282e sys/arch/sun3/dev/fd.c
--- a/sys/arch/sun3/dev/fd.c Fri Jan 28 10:19:48 2000 +0000
+++ b/sys/arch/sun3/dev/fd.c Fri Jan 28 11:30:22 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fd.c,v 1.12 2000/01/21 23:39:55 thorpej Exp $ */
+/* $NetBSD: fd.c,v 1.13 2000/01/28 11:30:22 jdc Exp $ */
/*-
* Copyright (c) 1993, 1994, 1995 Charles M. Hannum.
@@ -504,7 +504,7 @@
else
printf(": density unknown\n");
- BUFQ_FIRST(&fd->sc_q);
+ bp = BUFQ_FIRST(&fd->sc_q);
fd->sc_cylin = -1;
fd->sc_drive = drive;
fd->sc_deftype = type;
@@ -683,7 +683,7 @@
}
bp->b_resid = fd->sc_bcount;
fd->sc_skip = 0;
- BUFQ_REMOVE(&fd->sc_q);
+ BUFQ_REMOVE(&fd->sc_q, bp);
biodone(bp);
/* turn off motor 5s from now */
Home |
Main Index |
Thread Index |
Old Index