murasaki.pcmcia_socket
Last modified:
Mon Dec 1 19:52:40 PST 2003
"murasaki.pcmcia_socket" is an Agent program which hotplug.murasaki calls
when PCMCIA device event happens.
[Order of call]
Kernel(PCMCIA event happens)
|
|
hotplug.murasaki
|
|
murasaki.pcmcia_socket
[Steps of execution]
looking for the adapted module in pcmcia_socketmap(1)
|
|
expanding the depended modules and aliases(2,3)
|
|
executing the scripts using precall file(4,5)
|
|
loading/unloading the adapted modules(6)
|
|
executing the scripts using call file(7,8)
-
According to informations by "hotplug.murasaki" from Kernel,
"murasaki.pcmcia_socket" picks up adapted modules from "murasaki.pcmcia_socket".
- case "add"
- The modules which is included in "murasaki.blacklist" is ignored.
- case "remove"
- The modules which is included in "murasaki.stickylist" is ignored.
-
It figures out other modules which depend on the found modules
in "murasaki.depend".
-
It expands aliases into module names when they exist.
- case "add"
- The modules which is included in "murasaki.blacklist" is ignored again.
- case "remove"
- The modules which is included in "murasaki.stickylist" is ignored again.
(The list of all modules is built now)
-
It finds out the scripts for modules in "murasaki.precall" and
runs them.
-
It runs the script which is specified as "[pcmcia_socket]" in
"murasaki.precall".
-
It loads+binds or unloads+unbinds the modules.
# When modules are busy, it will not be unload.
-
It finds out the scripts for modules in "murasaki.call" and
runs them.
-
It runs the script which is specified as "[pcmcia_socket]" in
"murasaki.call".
[Relationship]
Shuu Yamaguchi :
shuu@dotAster.com