login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
openbsd-tech
»
2010
»
December
»
19
Re: usb: add missing autoconf activate functions
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [author]
[view in full thread]
From: Paul Irofti
Subject:
Re: usb: add missing autoconf activate functions
Date: Saturday, December 18, 2010 - 8:06 pm
On Sun, Dec 19, 2010 at 05:02:54AM +0200, Paul Irofti wrote:
quoted text
> On Sat, Dec 18, 2010 at 11:11:35PM +0000, Jacob Meuser wrote: > > this adds activate functions for drivers that don't have them. also > > add usbd_deactivate() in DVACT_DEACTIVATE for drivers that do have > > activate functions but don't have any dying flag. > > > > ok? > > About this interface, I looked around in the code and it seems to be > used mostly in activate functions and in failure cases inside attach. > > My question is if its not better to make usbd_deactivate() a function > similar to an activate() one. That way we can just add something like > ubdi_activate in the cfattach instead of a wrapper to it in each driver.
^^^^ That was supposed to be usbdi or usbd. 5am, probably time to go to bed.
quoted text
> > I don't know what the plan is for usbd_deactivate thus what I'm > proposing might not make sense. Just a thought. > > Otherwise it would sure get rid of a lot of redundant code in dev/usb/*. > > usbd_set_dying(dev, flag)? Don't know.
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [author]
Messages in current thread:
usb: add missing autoconf activate functions
, Jacob Meuser
, (Sat Dec 18, 4:11 pm)
Re: usb: add missing autoconf activate functions
, Paul Irofti
, (Sat Dec 18, 8:02 pm)
Re: usb: add missing autoconf activate functions
, Paul Irofti
, (Sat Dec 18, 8:06 pm)
Re: usb: add missing autoconf activate functions
, Jacob Meuser
, (Sat Dec 18, 10:11 pm)
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 `;'
Chuck Ebbert
Re: PCI: Unable to reserve mem region problem
Linus Torvalds
Linux 2.6.34-rc4
Mingming Cao
Re: [RFC 1/4] Large Blocksize support for Ext2/3/4
git
:
Ralf Wildenhues
[PATCH] Fix typos in the documentation
Len Brown
Re: fatal: unable to create '.git/index': File exists
Adeodato
Bazaar's patience diff as GIT_EXTERNAL_DIFF
Denis Bueno
Git clone error
Johannes Schindelin
Re: [PATCH 2/4] Add functions get_relative_cwd() and is_inside_dir()
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
V4L/DVB: gspca - sonixj: Adjust minor values of sensor ov7630. - set the color ga...
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Sam Fourman Jr.
Re: Help with Altell PC6700
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
linux-netdev
:
Kurt Van Dijck
Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
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
Colocation donated by:
Syndicate