From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Bj=C3=B8rn_Mork?= Subject: Re: [PATCH] usbnet: Activate the halt interrupt endpoint to fix endless "XactErr" error Date: Mon, 11 Jun 2012 22:47:15 +0200 Message-ID: <87sje1podo.fsf@nemi.mork.no> References: <20120607.145438.1351539405712214173.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: David Miller , Ming Lei , Alan Stern , linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Huajun Li Return-path: In-Reply-To: (Huajun Li's message of "Mon, 11 Jun 2012 22:41:03 +0800") Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org Huajun Li writes: > diff --git a/include/linux/usb/usbnet.h b/include/linux/usb/usbnet.h > index 76f4396..c0bcb61 100644 > --- a/include/linux/usb/usbnet.h > +++ b/include/linux/usb/usbnet.h > @@ -62,13 +62,14 @@ struct usbnet { > unsigned long flags; > # define EVENT_TX_HALT 0 > # define EVENT_RX_HALT 1 > -# define EVENT_RX_MEMORY 2 > -# define EVENT_STS_SPLIT 3 > -# define EVENT_LINK_RESET 4 > -# define EVENT_RX_PAUSED 5 > -# define EVENT_DEV_WAKING 6 > -# define EVENT_DEV_ASLEEP 7 > -# define EVENT_DEV_OPEN 8 > +# define EVENT_STS_HALT 2 > +# define EVENT_RX_MEMORY 3 > +# define EVENT_STS_SPLIT 4 > +# define EVENT_LINK_RESET 5 > +# define EVENT_RX_PAUSED 6 > +# define EVENT_DEV_WAKING 7 > +# define EVENT_DEV_ASLEEP 8 > +# define EVENT_DEV_OPEN 9 > }; Why do you renumber all of these instead of adding the new EVENT_STS_HALT to the end of the list? Bj=C3=B8rn -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html