Opened 14 years ago
Closed 13 years ago
#296 closed enhancement (fixed)
DDF should support pseudo-devices
Reported by: | Jiri Svoboda | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | helenos/unspecified | Version: | |
Keywords: | Cc: | vojtech.horky@… | |
Blocker for: | Depends on: | ||
See also: |
Description
Currently any devman-based device must come into existence by being enumerated by some nexus (bus) device. This is inconvenient for pseudo-devices such as {{file_bd}}.
The distinction here is that for these pseudo-devices, it would be better if the device lifecycle was not controlled by DDF, but rather by the pseudo-device driver itself.
Change History (4)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Cc: | added |
---|
comment:3 by , 14 years ago
Type: | defect → enhancement |
---|
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I consider this ticket as solved since introduction of the Location service in mainline,1144. Thanks to that (and also since drivers can now handle client connections by themselves), DDF drivers and other servers are indistinguishable for a client.
Thus a pseudo-driver now corresponds to a regular server. The only exception would be a pseudo-nexus driver (such as USB host controller connected over a network). Since we currently don't intend to implement such drivers, we can leave this case for now.
I propose for a pseudo-driver to have the following properties:
drv
directory, it is not started by devman. Pseudo-driver lifecycle is out of scope of the DDFI plan looking into this when I am done with ticket #295