Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Since we poll around the `done' member of a usbd...



details:   https://anonhg.NetBSD.org/src/rev/c9d390a40277
branches:  trunk
changeset: 475893:c9d390a40277
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Aug 29 17:57:25 1999 +0000

description:
Since we poll around the `done' member of a usbd_request, make it volatile.

diffstat:

 sys/dev/usb/usbdivar.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3770d2c68f38 -r c9d390a40277 sys/dev/usb/usbdivar.h
--- a/sys/dev/usb/usbdivar.h    Sun Aug 29 17:50:09 1999 +0000
+++ b/sys/dev/usb/usbdivar.h    Sun Aug 29 17:57:25 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usbdivar.h,v 1.26 1999/08/28 21:42:35 augustss Exp $   */
+/*     $NetBSD: usbdivar.h,v 1.27 1999/08/29 17:57:25 thorpej Exp $    */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -150,7 +150,7 @@
        u_int32_t               timeout;
        usbd_status             status;
        usbd_callback           callback;
-       char                    done;
+       __volatile char         done;
 
        usb_device_request_t    request;
        char                    isreq;



Home | Main Index | Thread Index | Old Index