PERFORCE change 163001 for review

Hans Petter Selasky hselasky at FreeBSD.org
Fri May 29 08:26:02 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=163001

Change 163001 by hselasky at 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
 };
 
 /*


More information about the p4-projects mailing list