Date: Wed, 13 Aug 2003 11:39:25 +0200 (CEST) From: Tobias Roth <ports@fsck.ch> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/55535: [patch] include missing in dev/usb/usbdivar.h (current) Message-ID: <200308130939.h7D9dPsu028011@secure.socket.ch> Resent-Message-ID: <200308130950.h7D9oJPV055394@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 55535
>Category: kern
>Synopsis: [patch] include missing in dev/usb/usbdivar.h (current)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 13 02:50:18 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Tobias Roth <ports@fsck.ch>
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD angel-one.fsck.ch 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Aug 12 15:02:35 CEST 2003 roth@angel-one.fsck.ch:/usr/obj/usr/src/sys/ANGEL-ONE i386
>Description:
With the last cvs commit of usbdivar.h (1.39 to 1.40), bus_dma
awareness was added. But an #include seems to have been forgotten,
resulting in a syntax error when including usbdivar.h.
>How-To-Repeat:
Compile anything that includes dev/usb/usbdivar.h, for example
Maksim Evmenkins Bluetooth stack.
>Fix:
The patch below fixes things for me, however I have no idea
if this is the correct way to fix thing or if it breaks something
else. Someone with more insight please review it and take
appropriate measures.
--- /usr/src/sys/dev/usb/usbdivar.h Wed Aug 13 11:25:50 2003
+++ sys/dev/usb/usbdivar.h Wed Aug 13 11:07:38 2003
@@ -42,6 +42,8 @@
#include <sys/callout.h>
#endif
+#include <machine/bus.h>
+
/* From usb_mem.h */
DECLARE_USB_DMA_T;
>Release-Note:
>Audit-Trail:
>Unformatted:
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308130939.h7D9dPsu028011>
