diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-03-12 15:12:50 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-03-12 15:12:50 +0000 |
commit | 114c14fc4960dbaeae88d8520456344feec75b84 (patch) | |
tree | 0781ec2fc5f2dd4da88f8102c0e5c09977b3f8cd /drivers/dahdi/xpp/init_card_1_30 | |
parent | 9edb2a384af2078f4769d2d3afbb7f7bb4939c25 (diff) |
xpp init_card_* scripts now less verbose
* Demote some messages to be debug messages.
* Rephrase the message about defaults for the PRI module (the driver's
defaults are used, which is OK)
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6135 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/init_card_1_30')
-rwxr-xr-x | drivers/dahdi/xpp/init_card_1_30 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/dahdi/xpp/init_card_1_30 b/drivers/dahdi/xpp/init_card_1_30 index fafd2c1..1356847 100755 --- a/drivers/dahdi/xpp/init_card_1_30 +++ b/drivers/dahdi/xpp/init_card_1_30 @@ -70,11 +70,11 @@ sub debug { # Arrange for error logging if (-t STDERR) { $unit_id = 'Interactive'; - main::debug "Interactive startup"; + debug "Interactive startup"; } else { $unit_id = "$ENV{XBUS_NAME}/UNIT-$ENV{UNIT_NUMBER}"; open (STDERR, "| logger -t $program -p kern.info") || die; - main::debug "Non Interactive startup"; + debug "Non Interactive startup"; foreach my $k (qw( XBUS_NAME XBUS_NUMBER @@ -385,14 +385,14 @@ sub auto_calibrate($$) { } sub calibrate_slics() { - main::logit "Calibrating '$0'"; + main::debug "Calibrating '$0'"; auto_calibrate(0x47, 0x1E); main::debug "after auto_calibrate"; manual_calibrate(); main::debug "after manul_calibrate"; auto_calibrate(0x40, 0x01); main::debug "after auto_calibrate 2"; - main::logit "Continue '$0'"; + main::debug "Continue '$0'"; } sub read_defaults() { @@ -405,7 +405,7 @@ sub read_defaults() { package main; -main::logit "Starting '$0'"; +main::debug "Starting '$0'"; FXS::read_defaults; main::debug "before init_indirect_registers"; @@ -431,7 +431,7 @@ while(<DATA>) { } close REG; -main::logit "Ending '$0'"; +main::debug "Ending '$0'"; close STDERR; exit 0; |