From f91881f24a8dd77c1dae7da818924d8304e5912c Mon Sep 17 00:00:00 2001 From: thorpej Date: Sun, 29 Aug 1999 17:57:25 +0000 Subject: [PATCH] Since we poll around the `done' member of a usbd_request, make it volatile. --- sys/dev/usb/usbdivar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/usb/usbdivar.h b/sys/dev/usb/usbdivar.h index a1faec69eed3..2c8ee1b380ef 100644 --- a/sys/dev/usb/usbdivar.h +++ b/sys/dev/usb/usbdivar.h @@ -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 @@ struct usbd_request { u_int32_t timeout; usbd_status status; usbd_callback callback; - char done; + __volatile char done; usb_device_request_t request; char isreq;