chiark / gitweb /
[PATCH] fix comment about how the "dev" file is made up.
authorgreg@kroah.com <greg@kroah.com>
Tue, 21 Oct 2003 03:31:24 +0000 (20:31 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:01:42 +0000 (21:01 -0700)
udev-add.c

index d158c41b1d54adbc138a28d9ea098f1e855c9a95..aa93a0c018c25d7610f85753472e2bb63a647b9f 100644 (file)
  * Right now the major/minor of a device is stored in a file called
  * "dev" in sysfs.
  * The number is stored as:
- *     MMmm
+ *     MM:mm
  *             MM is the major
  *             mm is the minor
- *             The value is in hex.
- * Yes, this will probably change when we go to a bigger major/minor
- * range, and will have to be changed at that time.
+ *             The value is in decimal.
  */
 static int get_major_minor(struct sysfs_class_device *class_dev, int *major, int *minor)
 {