summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/dev/adb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/macppc/dev/adb.c')
-rw-r--r--sys/arch/macppc/dev/adb.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/sys/arch/macppc/dev/adb.c b/sys/arch/macppc/dev/adb.c
index c450035b714..e622198725d 100644
--- a/sys/arch/macppc/dev/adb.c
+++ b/sys/arch/macppc/dev/adb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adb.c,v 1.33 2011/06/16 10:50:16 mpi Exp $ */
+/* $OpenBSD: adb.c,v 1.34 2011/06/16 10:51:48 mpi Exp $ */
/* $NetBSD: adb.c,v 1.6 1999/08/16 06:28:09 tsubai Exp $ */
/* $NetBSD: adb_direct.c,v 1.14 2000/06/08 22:10:45 tsubai Exp $ */
@@ -186,19 +186,8 @@ struct ADBDevEntry {
};
/*
- * Used to hold ADB commands that are waiting to be sent out.
- */
-struct adbCmdHoldEntry {
- u_char outBuf[ADB_MAX_MSG_LENGTH]; /* our message */
- u_char *saveBuf; /* buffer to know where to save result */
- u_char *compRout; /* completion routine pointer */
- u_char *data; /* completion routine data pointer */
-};
-
-/*
* Eventually used for two separate queues, the queue between
* the upper and lower halves, and the outgoing packet queue.
- * TO DO: adbCommand can replace all of adbCmdHoldEntry eventually
*/
struct adbCommand {
u_char header[ADB_MAX_HDR_LENGTH]; /* not used yet */
@@ -227,7 +216,6 @@ int adbStarting = 1; /* doing adb_reinit so do polling differently */
u_char adbInputBuffer[ADB_MAX_MSG_LENGTH]; /* data input buffer */
u_char adbOutputBuffer[ADB_MAX_MSG_LENGTH]; /* data output buffer */
-struct adbCmdHoldEntry adbOutQueue; /* our 1 entry output queue */
int adbSentChars; /* how many characters we have sent */
@@ -238,10 +226,6 @@ struct adbCommand adbInbound[ADB_QUEUE]; /* incoming queue */
int adbInCount; /* how many packets in in queue */
int adbInHead; /* head of in queue */
int adbInTail; /* tail of in queue */
-struct adbCommand adbOutbound[ADB_QUEUE]; /* outgoing queue - not used yet */
-int adbOutCount; /* how many packets in out queue */
-int adbOutHead; /* head of out queue */
-int adbOutTail; /* tail of out queue */
int tickle_count; /* how many tickles seen for this packet? */
int tickle_serial; /* the last packet tickled */