diff options
author | Shaun Ruffell <sruffell@digium.com> | 2009-06-24 19:13:35 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2009-06-24 19:13:35 +0000 |
commit | 3fa30be7d8c1ef26a3d540a3471b7634ac77fdc5 (patch) | |
tree | 8636f282902b2398f72a9253e8f28e3540c68b34 /drivers/dahdi/wcte11xp.c | |
parent | db546d164febc2096c7d0f75b204a7808e834d5a (diff) |
wct4xxp, wcte11xp: Use the default configuration by default at startup.
This change allows hardware to provide timing to asterisk before normal
configuration. DAHDI-275.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6712 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcte11xp.c')
-rw-r--r-- | drivers/dahdi/wcte11xp.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/dahdi/wcte11xp.c b/drivers/dahdi/wcte11xp.c index 390c834..26f47fa 100644 --- a/drivers/dahdi/wcte11xp.c +++ b/drivers/dahdi/wcte11xp.c @@ -5,7 +5,7 @@ * Matthew Fredrickson <creslin@digium.com> * William Meadows <wmeadows@digium.com> * - * Copyright (C) 2004, Digium, Inc. + * Copyright (C) 2004-2009, Digium, Inc. * * All rights reserved. */ @@ -1013,6 +1013,11 @@ static int t1xxp_software_init(struct t1 *wc) printk(KERN_NOTICE "Unable to register span with DAHDI\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; } |