new interface

This commit is contained in:
Karsten Keil 1998-04-15 16:47:17 +00:00
parent 2db2682946
commit 9e098196fb
2 changed files with 15 additions and 3 deletions

View File

@ -7,6 +7,9 @@
*
*
* $Log$
* Revision 1.1 1997/10/29 18:51:20 keil
* New files
*
*/
#define __NO_VERSION__
@ -15,15 +18,21 @@
#include "isac.h"
int
send_arcofi(struct IsdnCardState *cs, const u_char *msg) {
send_arcofi(struct IsdnCardState *cs, const u_char *msg, int bc) {
u_char val;
char tmp[32];
long flags;
int cnt=2;
int cnt=20;
cs->mon_txp = 0;
cs->mon_txc = msg[0];
memcpy(cs->mon_tx, &msg[1], cs->mon_txc);
switch(bc) {
case 1: break;
case 2: cs->mon_tx[1] |= 0x40;
break;
default: break;
}
cs->mocr &= 0x0f;
cs->mocr |= 0xa0;
test_and_clear_bit(HW_MON1_TX_END, &cs->HW_Flags);

View File

@ -7,8 +7,11 @@
*
*
* $Log$
* Revision 1.1 1997/10/29 18:51:20 keil
* New files
*
*/
#define ARCOFI_USE 1
extern int send_arcofi(struct IsdnCardState *cs, const u_char *msg);
extern int send_arcofi(struct IsdnCardState *cs, const u_char *msg, int bc);