svn commit: r184890 - head/sys/dev/adb
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Wed Nov 12 09:33:38 PST 2008
Author: nwhitehorn
Date: Wed Nov 12 17:33:36 2008
New Revision: 184890
URL: http://svn.freebsd.org/changeset/base/184890
Log:
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.
Modified:
head/sys/dev/adb/adb_bus.c
Modified: head/sys/dev/adb/adb_bus.c
==============================================================================
--- head/sys/dev/adb/adb_bus.c Wed Nov 12 15:49:11 2008 (r184889)
+++ head/sys/dev/adb/adb_bus.c Wed Nov 12 17:33:36 2008 (r184890)
@@ -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;
More information about the svn-src-head
mailing list