svn commit: r188339 - user/thompsa/usb/sys/dev/usb2/wlan

Andrew Thompson thompsa at FreeBSD.org
Sun Feb 8 13:48:36 PST 2009


Author: thompsa
Date: Sun Feb  8 21:48:35 2009
New Revision: 188339
URL: http://svn.freebsd.org/changeset/base/188339

Log:
  Endpoint 0x83 is always a interrupt type, only 0x04 changes with FS/HS operation.

Modified:
  user/thompsa/usb/sys/dev/usb2/wlan/if_zyd2.c

Modified: user/thompsa/usb/sys/dev/usb2/wlan/if_zyd2.c
==============================================================================
--- user/thompsa/usb/sys/dev/usb2/wlan/if_zyd2.c	Sun Feb  8 21:47:08 2009	(r188338)
+++ user/thompsa/usb/sys/dev/usb2/wlan/if_zyd2.c	Sun Feb  8 21:48:35 2009	(r188339)
@@ -281,13 +281,12 @@ static const struct usb2_config zyd_conf
 	},
 
 	[ZYD_INTR_DT_RD] = {
-		.type = UE_BULK_INTR,
+		.type = UE_INTERRUPT,
 		.endpoint = UE_ADDR_ANY,
 		.direction = UE_DIR_IN,
 		.mh.bufsize = sizeof(struct zyd_cmd),
 		.mh.flags = {.pipe_bof = 1,.short_xfer_ok = 1,},
 		.mh.callback = zyd_intr_read_callback,
-		.ep_index = 1,
 	},
 
 	[ZYD_INTR_CS_WR] = {


More information about the svn-src-user mailing list