#include <netat/adsp.h>
#include <netat/adsp_internal.h>
-extern atlock_t adspgen_lock;
+static void InitContinue(CCBPtr, struct adspcmd *);
/*
* InitContinue
CCBPtr sp;
struct adspcmd *pb;
{
- int s;
/* Save connection's socket # in CCB */
sp->localSocket = pb->socket;
/*
* Link the new ccb onto queue. Must be done with interrupts off.
*/
- ATDISABLE(s, adspgen_lock);
- qAddToEnd(AT_ADSP_STREAMS, sp); /* Put on linked list of connections */
- ATENABLE(s, adspgen_lock);
+ qAddToEnd((struct qlink **)AT_ADSP_STREAMS, (struct qlink *)sp); /* Put on linked list of connections */
return;
}
}
+#if 0
/*
* AdspBad
*
ap->ioResult = controlErr; /* Unknown csCode in the param block */
return EINVAL;
}
+
+#endif