diff options
author | sruffell <sruffell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2009-07-21 18:29:20 +0000 |
---|---|---|
committer | sruffell <sruffell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2009-07-21 18:29:20 +0000 |
commit | 7e7de3b94ca6799eb3637c3922463250fae471cc (patch) | |
tree | ea71925c0dbe37317655479eb54f4cf639a58122 | |
parent | 54e66b8cb829527f62732abc364d136037ae5568 (diff) |
Revert "wct4xxp, wcte11xp: Use the default configuration by default at startup."
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4665 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r-- | kernel/wct4xxp/base.c | 6 | ||||
-rw-r--r-- | kernel/wcte11xp.c | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/kernel/wct4xxp/base.c b/kernel/wct4xxp/base.c index ad8b7c6..e9bc1c2 100644 --- a/kernel/wct4xxp/base.c +++ b/kernel/wct4xxp/base.c @@ -6,7 +6,7 @@ * written by Jim Dixon <jim@lambdatel.com>. * * Copyright (C) 2001 Jim Dixon / Zapata Telephony. - * Copyright (C) 2001-2009, Digium, Inc. + * Copyright (C) 2001-2005, Digium, Inc. * * All rights reserved. * @@ -3500,10 +3500,6 @@ static int __devinit t4_launch(struct t4 *wc) return -1; } } - /* Start the first span on the card with the default configuration so - * that it may provide timing to Asterisk before being properly - * configured. */ - t4_startup(&wc->tspans[0]->span); set_bit(T4_CHECK_TIMING, &wc->checkflag); spin_lock_irqsave(&wc->reglock, flags); __t4_set_timing_source(wc,4, 0, 0); diff --git a/kernel/wcte11xp.c b/kernel/wcte11xp.c index 24d62a0..a50fd25 100644 --- a/kernel/wcte11xp.c +++ b/kernel/wcte11xp.c @@ -5,7 +5,7 @@ * Matthew Fredrickson <creslin@digium.com> * William Meadows <wmeadows@digium.com> * - * Copyright (C) 2004-2009, Digium, Inc. + * Copyright (C) 2004, Digium, Inc. * * All rights reserved. * @@ -1016,10 +1016,6 @@ static int t1xxp_software_init(struct t1 *wc) printk("Unable to register span with zaptel\n"); return -1; } - - /* Start off with the defaults so this card can provide timing to - * Asterisk before being properly configured. */ - t1xxp_startup(&wc->span); return 0; } |