<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Recently I use two boards of digium, but I dont know how to recgonize which card is the first and second? I set the two cards ident wheel as 0 and 1, but in the zttool shows the first card is the ident wheel =1? Why!? <BR>
I read the dirve of the cards, and found in the t4 struct <BR>
struct t4 {<BR> /* This structure exists one per card */<BR> struct pci_dev *dev; /* Pointer to PCI device */<BR> unsigned int intcount;<BR><FONT color=#e36c09><STRONG><EM><U> int num</U></EM></STRONG></FONT>; <FONT color=#ff0000><STRONG>/* Which card we are */</STRONG><BR> </FONT>int t1e1; /* T1/E1 select pins */<BR> int globalconfig; /* Whether global setup has been done */<BR> int syncsrc; /* active sync source */<BR> struct t4_span *tspans[4]; /* Individual spans */<BR> int numspans; /* Number of spans on the card */<BR> int blinktimer;<BR>#ifdef FANCY_ALARM<BR> int alarmpos;<BR>#endif<BR> int irq; /* IRQ used by device */<BR> <STRONG><EM><U><FONT color=#e36c09>int order</FONT></U></EM></STRONG>; <STRONG><FONT color=#ff0000> /* Order */</FONT></STRONG><BR>
....<BR>
}<BR>
What is the difference between num and order?<BR>
<BR>Can anybody tell me? Thanks very much!!<BR>                                            <br /><hr />Messenger保护盾2.0,更安全可靠的Messenger聊天! <a href='http://im.live.cn/safe/' target='_new'>现在就下载!</a></body>
</html>