summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2008-11-12 17:33:36 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2008-11-12 17:33:36 +0000
commit174894b615465781c0398d6ec4a67dc2e2f8e594 (patch)
treef888e444790bdeeb1376d9530b126e45e28e03e0 /sys
parent4a55cb2c83832b1192955805b185f52b8bc9b103 (diff)
downloadFreeBSD-src-174894b615465781c0398d6ec4a67dc2e2f8e594.zip
FreeBSD-src-174894b615465781c0398d6ec4a67dc2e2f8e594.tar.gz
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.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/adb/adb_bus.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud