From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from duke.felloff.net ([216.126.196.34]) by ewsd; Thu Jun 11 08:15:17 EDT 2020 Message-ID: <531BA629AA191E2993A2C6A71C7D36E7@felloff.net> Date: Thu, 11 Jun 2020 14:15:07 +0200 From: cinap_lenrek@felloff.net To: 9front@9front.org Subject: Re: [9front] new nusb/serial driver In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: WEB2.0 enhancement extension why are you setting the maxpkt size? we (should have) already have setup the packet size from the endpoint descriptor when we created the endpoint. why are we overriding it here? is this in the CDC standard? > static int > cdcseteps(Serialport *p) > { > devctl(p->epin, "maxpkt 256"); > devctl(p->epout, "maxpkt 256"); > return 0; > } -- cinap