dahdi_genconf: Do not fail if pinned/assigned span utilities were not installed.

If you installed dahdi tools and did not specify DAHDI_PINNED=yes on the
makefile, when you run dahdi_genconf you would get an error like the following:

  # dahdi_genconf
  sh: span_types: command not found
  Command failed (status=32512): 'span_types dumpconfig > /etc/dahdi/span-types.conf' at ...

This change allows the generator for span-types.conf and span-assignements.conf
check for the existence of the utilities before attempting to call them.

Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Added support for WCTE43X and WCTE23X cards.

[sruffell: I fixed up a conflict in PCI.pm with the wctdm82x driver]
pinned-spans: fix configuration file names

* Install them as *.conf.sample -- that's what they are.
* Correctly rename spantype.conf to span-types.conf.

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
pinned-spans: fix examples inside config files

* Correctly use the new "location" attribute.
* Document the possibility to match against sysfs devpath.
* A simple wildcard match in span-types.conf.

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
udev scripts now read /etc/dahdi/init.conf

Added two override variables in init.conf to disable the specific
scripts:
* DAHDI_UDEV_DISABLE_DEVICES
* DAHDI_UDEV_DISABLE_SPANS

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
added udev rules and their install target

* Added missing Makefile install rule for dahdi.rules
* Pulled xpp.rules from dahdi-linux and added install rules for it

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
udev: restored legacy names /etc/dahdi/<channo>

Update dahdi.rules to create again the old fashioned device files
(/dev/dahdi/<channo>), as symlinks to modern names.

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
pinned-spans: remove '--enable-pinned' from configure

No point in the configure option:
* dahdi_genconf uses span_types and span_assignments.
* The udev hook handle_device does nothing if dahdi.auto_assign_spans is
  set.
* The udev hook span_config may be useful regardless of pinned-spans for
  a single-deivce configurations and should be harmless otherwise.

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
Re-generate configure to remove '--enable-pinned'

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
README: include pinned spans config files

Include pinned-spans.conf and span-types.conf in the generated
README.html. Reformat them to render properly.

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
Ignore generated documentation files

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>