diff --git a/sys/dev/ieee1394/fwohci.c b/sys/dev/ieee1394/fwohci.c index 82c6f6e2aab4..cbcce2c2c176 100644 --- a/sys/dev/ieee1394/fwohci.c +++ b/sys/dev/ieee1394/fwohci.c @@ -1,4 +1,4 @@ -/* $NetBSD: fwohci.c,v 1.84 2005/02/27 00:27:17 perry Exp $ */ +/* $NetBSD: fwohci.c,v 1.85 2005/03/26 04:37:04 christos Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -49,7 +49,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: fwohci.c,v 1.84 2005/02/27 00:27:17 perry Exp $"); +__KERNEL_RCSID(0, "$NetBSD: fwohci.c,v 1.85 2005/03/26 04:37:04 christos Exp $"); #define FWOHCI_WAIT_DEBUG 1 @@ -5050,7 +5050,7 @@ fwohci_ir_read(struct device *dev, ieee1394_ir_tag_t tag, struct uio *uio, } #endif /* USEDRAIN */ - fd = irc->irc_readtop; + fdprev = fd = irc->irc_readtop; #if 0 if ((irc->irc_status & IRC_STATUS_RECEIVE) == 0 @@ -5058,7 +5058,6 @@ fwohci_ir_read(struct device *dev, ieee1394_ir_tag_t tag, struct uio *uio, unsigned int s; int i = 0; - fdprev = fd; while (fd->fd_status != 0) { s = data[14] << 8; s |= data[15];