murasaki.pci
Last modified: Mon Sep 29 23:01:10 PDT 2003

"murasaki.pci" is an Agent program which hotplug.murasaki calls when PCI(Cardbus) device event happens.

[Order of call]

Kernel(PCI event happens)
|
|
hotplug.murasaki
|
|
murasaki.pci

[Steps of execution]

looking for the adapted module in pcimap(1,2)
|
|
expanding the depended modules and aliases(3,4)
|
|
executing the sctipts using precall file(5,6)
|
|
loading/unloading the adapted modules(7)
|
|
executing the sctipts using call file(8,9)

  1. According to informations by "hotplug.murasaki" from Kernel, "murasaki.pci" picks up adapted modules from "murasaki.pcimap".
    case "add"
    The modules which is included in "murasaki.blacklist" is ignored.
    case "remove"
    The modules which is included in "murasaki.stickylist" is ignored.
  2. It picks up the adapted modules from "modules.pcimap" like above.
    case "add"
    The modules which is included in "murasaki.blacklist" is ignored.
    case "remove"
    The modules which is included in "murasaki.stickylist" is ignored.
  3. It figures out other modules which depend on the found modules in "murasaki.depend".
  4. 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)
  5. It finds out the scripts for modules in "murasaki.precall" and runs them.
  6. It runs the script which is specified as "[pci]" in "murasaki.precall".
  7. It loads or unloads the modules.
  8. It finds out the scripts for modules in "murasaki.call" and runs them.
  9. It runs the script which is specified as "[pci]" in "murasaki.call".
    (No script now)

[Relationship]


Back Go DotAster
Shuu Yamaguchi : shuu@dotAster.com