ite_polling -> adb_polling
This commit is contained in:
parent
c827b513ac
commit
ad43c94436
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: adb.c,v 1.29 1999/11/05 18:27:11 scottr Exp $ */
|
||||
/* $NetBSD: adb.c,v 1.30 1999/11/07 00:12:53 scottr Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1994 Bradley A. Grantham
|
||||
|
@ -64,6 +64,7 @@ extern void adb_jadbproc __P((void));
|
|||
/*
|
||||
* Global variables.
|
||||
*/
|
||||
int adb_polling = 0; /* Are we polling? (Debugger mode) */
|
||||
int adb_initted = 0; /* adb_init() has completed successfully */
|
||||
#ifdef ADB_DEBUG
|
||||
int adb_debug = 0; /* Output debugging messages */
|
||||
|
@ -150,6 +151,7 @@ adb_config_interrupts(self)
|
|||
JADBProc = adb_jadbproc;
|
||||
|
||||
/* Initialize ADB */
|
||||
adb_polling = 1;
|
||||
#ifdef ADB_DEBUG
|
||||
if (adb_debug)
|
||||
printf("adb: calling ADBAlternateInit.\n");
|
||||
|
@ -190,6 +192,7 @@ adb_config_interrupts(self)
|
|||
|
||||
(void)config_found(self, &aa_args, adbprint);
|
||||
}
|
||||
adb_polling = 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: adb_direct.c,v 1.28 1999/11/06 23:50:29 scottr Exp $ */
|
||||
/* $NetBSD: adb_direct.c,v 1.29 1999/11/07 00:12:54 scottr Exp $ */
|
||||
|
||||
/* From: adb_direct.c 2.02 4/18/97 jpw */
|
||||
|
||||
|
@ -265,8 +265,6 @@ int tickle_serial = 0; /* the last packet tickled */
|
|||
int adb_cuda_serial = 0; /* the current packet */
|
||||
|
||||
extern struct mac68k_machine_S mac68k_machine;
|
||||
extern int adb_initted;
|
||||
extern int ite_polling; /* Are we polling? (Debugger mode) */
|
||||
|
||||
void pm_setup_adb __P((void));
|
||||
void pm_hw_setup __P((void));
|
||||
|
@ -1716,7 +1714,7 @@ adb_pass_up(struct adbCommand *in)
|
|||
* If the debugger is running, call upper half manually.
|
||||
* Otherwise, trigger a soft interrupt to handle the rest later.
|
||||
*/
|
||||
if (ite_polling)
|
||||
if (adb_polling)
|
||||
adb_soft_intr();
|
||||
else
|
||||
setsoftadb();
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: adbsys.c,v 1.40 1999/02/11 06:41:08 ender Exp $ */
|
||||
/* $NetBSD: adbsys.c,v 1.41 1999/11/07 00:12:54 scottr Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 1994 Bradley A. Grantham
|
||||
|
@ -361,7 +361,6 @@ adb_init()
|
|||
int adbindex, adbaddr;
|
||||
int error, cmd, count, devtype = 0;
|
||||
u_char buffer[9];
|
||||
extern int adb_initted;
|
||||
|
||||
#ifdef MRG_ADB
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue