[asterisk-dev] Sysfs udev /dev/dahdi/span-names/ population

Russ Meyerriecks rmeyerriecks at digium.com
Fri Jul 23 17:01:02 CDT 2010


Tzafrir,
   What do you think about removing the "location" and using just 
"span_id" as a global unique span identifier? This can be filled in by 
the lower level drivers on a case-by-case basis. For an example, the 
quad span driver would probably fill it in as 
"<pci_bus_id>:<span_number>". Then the udev script could simply populate 
a single level directory tree under /dev/dahdi/span-names/<span_id>

eg:
/dev/dahdi/span-names/PCI_Bus_03_Slot02:1

-- 
Russ Meyerriecks
Digium | Linux Kernel Developer



More information about the asterisk-dev mailing list