Re: [PATCH 2.6.10-rc1 0/4] driver-model: manual device attach
From: Martin Waitz (tali_at_admingilde.org)
Date: 11/04/04
- Previous message: DervishD: "Re: is killing zombies possible w/o a reboot?"
- In reply to: Tejun Heo: "[PATCH 2.6.10-rc1 0/4] driver-model: manual device attach"
- Next in thread: Greg KH: "Re: [PATCH 2.6.10-rc1 0/4] driver-model: manual device attach"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 4 Nov 2004 11:27:52 +0100 To: Tejun Heo <tj@home-tj.org>
hoi :)
On Thu, Nov 04, 2004 at 04:43:30PM +0900, Tejun Heo wrote:
> Two files named attach and detach are created under each device's
> sysfs directory. Reading attach node shows the name of applicable
> drivers. Writing a driver name attaches the device to the driver.
> Also, per-device parameters can be specified when writing to an attach
> node. Writing anything to the write-only detach node detaches the
> driver from the currently associated driver.
perhaps it'll be simpler with only the attach file and using a special
magic value ("", "none", "detach", whatever) to manually detach a device
from the driver.
Is it possible (and worthwhile) to reattach a manually detached device
to the default driver? Perhaps using a magic value "auto" for attach.
Something like your dev.autoattach=2 rescan method, but for one
device only. (What is the use case to rescan all busses, anyway?)
-- Martin Waitz
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- application/pgp-signature attachment: stored
- Previous message: DervishD: "Re: is killing zombies possible w/o a reboot?"
- In reply to: Tejun Heo: "[PATCH 2.6.10-rc1 0/4] driver-model: manual device attach"
- Next in thread: Greg KH: "Re: [PATCH 2.6.10-rc1 0/4] driver-model: manual device attach"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|