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

Eric "ManxPower" Wieling eric at fnords.org
Fri Jul 23 19:19:52 CDT 2010


What would happen when you move the card to a different slot?

On 07/23/2010 05:01 PM, Russ Meyerriecks wrote:
> 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
>



More information about the asterisk-dev mailing list