From 174894b615465781c0398d6ec4a67dc2e2f8e594 Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Wed, 12 Nov 2008 17:33:36 +0000 Subject: Probe ADB miscellaneous devices (ID 7) instead of stopping at ID 6. This allows us to probe the brightness and volume control buttons on PPC Apple laptops, though there is not yet a driver to do anything useful with them. --- sys/dev/adb/adb_bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/adb/adb_bus.c') diff --git a/sys/dev/adb/adb_bus.c b/sys/dev/adb/adb_bus.c index 9a2a7fa..9c00144 100644 --- a/sys/dev/adb/adb_bus.c +++ b/sys/dev/adb/adb_bus.c @@ -134,7 +134,7 @@ adb_bus_enumerate(void *xdev) /* Enumerate bus */ next_free = 8; - for (i = 1; i < 7; i++) { + for (i = 1; i <= 7; i++) { int8_t first_relocated = -1; int reply = 0; -- cgit v1.1