aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-12 19:32:57 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-12 19:32:57 -0800
commitdbda961be73329e4fc4b1dbc7335ddb70a625c5d (patch)
treec6f4aae48ddac66b977c09f0be552ab37b2f54b3 /Documentation
parent717abc98fe8ba4fcb2c02eb1609c6a68fe7d9c4f (diff)
parent95e475c924efd3b429df1ca3af2accf8eeac90cf (diff)
downloadhistory-dbda961be73329e4fc4b1dbc7335ddb70a625c5d.tar.gz
Merge bk://kernel.bkbits.net/gregkh/linux/i2c-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/i2c/dev-interface4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/i2c/dev-interface b/Documentation/i2c/dev-interface
index 4fe882cb401eeb..09d6cda2a1fb6e 100644
--- a/Documentation/i2c/dev-interface
+++ b/Documentation/i2c/dev-interface
@@ -3,7 +3,7 @@ possible to access all devices on an adapter from userspace, through
the /dev interface. You need to load module i2c-dev for this.
Each registered i2c adapter gets a number, counting from 0. You can
-examine /proc/bus/i2c to see what number corresponds to which adapter.
+examine /sys/class/i2c-dev/ to see what number corresponds to which adapter.
I2C device files are character device files with major device number 89
and a minor device number corresponding to the number assigned as
explained above. They should be called "i2c-%d" (i2c-0, i2c-1, ...,
@@ -19,7 +19,7 @@ Yes, I know, you should never include kernel header files, but until glibc
knows about i2c, there is not much choice.
Now, you have to decide which adapter you want to access. You should
-inspect /proc/bus/i2c to decide this. Adapter numbers are assigned
+inspect /sys/class/i2c-dev/ to decide this. Adapter numbers are assigned
somewhat dynamically, so you can not even assume /dev/i2c-0 is the
first adapter.