Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2009 08:26:01 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 163001 for review
Message-ID:  <200905290826.n4T8Q1Cr092553@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=163001

Change 163001 by hselasky@hselasky_laptop001 on 2009/05/29 08:25:54

	
	USB CORE:
	 - add missing #if #endif for linux compat layer.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/usb_device.h#24 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/usb_device.h#24 (text+ko) ====

@@ -105,6 +105,7 @@
 	uint8_t	alt_index;
 	uint8_t	parent_iface_index;
 
+#if USB_HAVE_COMPAT_LINUX
 	/* Linux compat */
 	struct usb_host_interface *altsetting;
 	struct usb_host_interface *cur_altsetting;
@@ -112,6 +113,7 @@
 	void   *bsd_priv_sc;		/* device specific information */
 	uint8_t	num_altsetting;		/* number of alternate settings */
 	uint8_t	bsd_iface_index;
+#endif
 };
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905290826.n4T8Q1Cr092553>