summaryrefslogtreecommitdiffstats
path: root/sys/dev/adb/adbvar.h
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2008-10-30 15:27:13 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2008-10-30 15:27:13 +0000
commit5c55d9c1df94b43c6addfdaa79a82e6f779b6cd1 (patch)
tree809d8cc03b1cf718c388d7e5d5e3820507adf952 /sys/dev/adb/adbvar.h
parent1f332d86bf5e4cfc63df682d8859c4f4fac21026 (diff)
downloadFreeBSD-src-5c55d9c1df94b43c6addfdaa79a82e6f779b6cd1.zip
FreeBSD-src-5c55d9c1df94b43c6addfdaa79a82e6f779b6cd1.tar.gz
Fix some possible infinite loops in the ADB code, and remove some hacks
that were inserted in desperation during bring-up. In addition, move ADB bus enumeration and child attachment to when interrupts are available.
Diffstat (limited to 'sys/dev/adb/adbvar.h')
-rw-r--r--sys/dev/adb/adbvar.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/adb/adbvar.h b/sys/dev/adb/adbvar.h
index da0965d..e70aa75 100644
--- a/sys/dev/adb/adbvar.h
+++ b/sys/dev/adb/adbvar.h
@@ -37,16 +37,15 @@ enum {
struct adb_softc {
device_t sc_dev;
-
device_t parent;
+ struct intr_config_hook enum_hook;
struct mtx sc_sync_mtx;
volatile int sync_packet;
volatile int packet_reply;
uint16_t autopoll_mask;
-
uint8_t syncreg[8];
device_t children[16];
OpenPOWER on IntegriCloud