Init function: tor2_init
This function registers a pci driver. The driver structure is a global variable "tor2_driver". It has a probe function called "tor2_probe" and a function to remove the driver "tor2_remove".
Probe function: tor2_probe
- Does card specific PCI initialization
- Calls init_spans(tor);
- Calls tor2_launch(cards[x]);
This function populates the spans structure within tor structure.
Register with zaptel: tor2_launch
This function registers the spans with the zaptel driver.
And then... the action begins...
No comments:
Post a Comment