Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arc/dev fix typo in timeout -> callout transition.
details: https://anonhg.NetBSD.org/src/rev/deebade58163
branches: trunk
changeset: 484176:deebade58163
user: soda <soda%NetBSD.org@localhost>
date: Mon Mar 27 11:22:51 2000 +0000
description:
fix typo in timeout -> callout transition.
diffstat:
sys/arch/arc/dev/fd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e8d7e5e47ae3 -r deebade58163 sys/arch/arc/dev/fd.c
--- a/sys/arch/arc/dev/fd.c Mon Mar 27 11:03:47 2000 +0000
+++ b/sys/arch/arc/dev/fd.c Mon Mar 27 11:22:51 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fd.c,v 1.18 2000/03/23 06:34:23 thorpej Exp $ */
+/* $NetBSD: fd.c,v 1.19 2000/03/27 11:22:51 soda Exp $ */
/* $OpenBSD: fd.c,v 1.6 1998/10/03 21:18:57 millert Exp $ */
/* NetBSD: fd.c,v 1.78 1995/07/04 07:23:09 mycroft Exp */
@@ -872,7 +872,7 @@
fd->sc_skip = 0;
fd->sc_bcount = bp->b_bcount;
fd->sc_blkno = bp->b_blkno / (FDC_BSIZE / DEV_BSIZE);
- callout_stop(&fd->fd_motor_ch);
+ callout_stop(&fd->sc_motor_ch);
if ((fd->sc_flags & FD_MOTOR_WAIT) != 0) {
fdc->sc_state = MOTORWAIT;
return 1;
@@ -881,7 +881,7 @@
/* Turn on the motor, being careful about pairing. */
struct fd_softc *ofd = fdc->sc_fd[fd->sc_drive ^ 1];
if (ofd && ofd->sc_flags & FD_MOTOR) {
- callout_stop(&ofd->fd_motor_ch);
+ callout_stop(&ofd->sc_motor_ch);
ofd->sc_flags &= ~(FD_MOTOR | FD_MOTOR_WAIT);
}
fd->sc_flags |= FD_MOTOR | FD_MOTOR_WAIT;
Home |
Main Index |
Thread Index |
Old Index