[asterisk-dev] about driver wct4xxp

leexx leexx at atcom.com.cn
Mon Aug 10 03:37:19 CDT 2009


Hi all,

I have a question about wct4xxp PCI driver of base.c. You know there is a
parameter of WC_INTR in PCI driver base.c. And function __t4_pci_out(wc,
WC_INTR, 0x0c) can change the parameter WC_INTR, all base.c have one time to
change the parameter WC_INTR to 0x0c, and several times to 0x0. But in
interrupt sub program have functiong

status = __t4_pci_in(wc, WC_INTR);

if (likely(status & 0x2)) {}

if (unlikely(status & 0x1)) {}

from the program, I know WC_INTR= 0x2, but I don't know where can change
WC_INTR to 0x2.

Who can give me some suggest?

Thanks

 

 

Best Wishes,

 

Henry Lee

 

ATCOM Technology Co., Limited 

RM6AB, ShangTian Building No. 70, Nan Yuan Road, Shenzhen, 518031, China


Direct: +86 755 83018618 |Fax: +86 755 83018389 |Mobile: +86 13028878660
|Email: leexx at atcom.com.cn |MSN: leexx at hotmail.com
<mailto:leexx at leexx@hotmail.com> 

 <http://www.atcom.cn/> www.ATCOM.cn |
<file:///C:\Documents%20and%20Settings\leexx\Application%20Data\Microsoft\Si
gnatures\www.openippbx.org> www.openippbx.org

 <mailto:leexx at atcom.com.cn>  

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090810/c796fda4/attachment.htm 


More information about the asterisk-dev mailing list