login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
openbsd-misc
»
2010
»
December
»
15
Re: [PATCH] uticom driver fix
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [author]
[view in full thread]
From: Daniel Gracia
Subject:
Re: [PATCH] uticom driver fix
Date: Wednesday, December 15, 2010 - 1:10 am
Yep! That's enough for my adapters. El 14/12/2010 21:54, Jonathan Gray escribis:
quoted text
> > such things should be seperate diffs, and these should go to tech. > > is the following enough to make it work? > > Index: uticom.c > =================================================================== > RCS file: /cvs/src/sys/dev/usb/uticom.c,v > retrieving revision 1.7 > diff -u -p -r1.7 uticom.c > --- uticom.c 3 Dec 2010 17:02:29 -0000 1.7 > +++ uticom.c 14 Dec 2010 20:52:23 -0000 > @@ -209,7 +209,6 @@ uticom_attach(struct device *parent, str > struct uticom_softc *sc = (struct uticom_softc *)self; > struct usb_attach_arg *uaa = aux; > usbd_device_handle dev = uaa->device; > - usbd_interface_handle iface; > usb_config_descriptor_t *cdesc; > usb_interface_descriptor_t *id; > usb_endpoint_descriptor_t *ed; > @@ -381,7 +380,7 @@ fwload_done: > sc->sc_iface_number = id->bInterfaceNumber; > > for (i = 0; i< id->bNumEndpoints; i++) { > - ed = usbd_interface2endpoint_descriptor(iface, i); > + ed = usbd_interface2endpoint_descriptor(sc->sc_iface, i); > if (ed == NULL) { > printf("%s: no endpoint descriptor for %d\n", > sc->sc_dev.dv_xname, i); > @@ -419,7 +418,7 @@ fwload_done: > uca.obufsize = UTICOM_OBUFSZ; > uca.ibufsizepad = UTICOM_IBUFSZ; > uca.device = dev; > - uca.iface = iface; > + uca.iface = sc->sc_iface; > uca.opkthdrlen = 0; > uca.methods =&uticom_methods; > uca.arg = sc;
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [author]
Messages in current thread:
[PATCH] uticom driver fix
, Daniel Gracia
, (Tue Dec 7, 2:06 am)
Re: [PATCH] uticom driver fix
, Jonathan Gray
, (Sat Dec 11, 4:13 pm)
Re: [PATCH] uticom driver fix
, Daniel Gracia
, (Tue Dec 14, 8:43 am)
Re: [PATCH] uticom driver fix
, Jonathan Gray
, (Tue Dec 14, 1:54 pm)
Re: [PATCH] uticom driver fix
, Daniel Gracia
, (Wed Dec 15, 1:10 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Linus Torvalds
Linux 2.6.34-rc4
Colin Cross
[PATCH 12/21] ARM: tegra: Add suspend and hotplug support
Chuck Ebbert
Re: PCI: Unable to reserve mem region problem
git
:
Ralf Wildenhues
[PATCH] Fix typos in the documentation
Wink Saville
How-to combine several separate git repos?
Denis Bueno
Git clone error
pradeep singh
git-update-server-info may be required,cannot clone and pull from a remote reposit...
Steven Grimm
Re: Git User's Survey 2007 unfinished summary continued
linux-netdev
:
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Kurt Van Dijck
Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
David Miller
Re: [PATCH v2] net: typos in comments in include/linux/igmp.h
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
git-commits-head
:
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
nfsd41: sanity check client drc maxreqs
Linux Kernel Mailing List
bnx2x: Moving includes
Linux Kernel Mailing List
Linux 2.6.26-rc3
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
frantisek holop
Re: splassert: vwakeup: and friends
Colocation donated by:
Syndicate