Browse Source

Merge commit '42521df' into bfgminer

Luke Dashjr 12 years ago
parent
commit
56872ab6be
1 changed files with 6 additions and 5 deletions
  1. 6 5
      HACKING

+ 6 - 5
HACKING

@@ -26,11 +26,12 @@ struct device_drv basics
 ------------------------
 ------------------------
 
 
 Every driver defines a `struct device_drv`. The `dname` field contains a
 Every driver defines a `struct device_drv`. The `dname` field contains a
-short name of the driver. This should be the same name used in the source file:
-driver-foobar.c defines `dname` "foobar". The `name` field contains a three-
-letter abbreviation for the device, used in the representation of devices. For
-example, `dname` "FOO" would result in devices represented as "FOO 0", "FOO 1",
-etc and processors represented as "FOO 0a", "FOO 0b", etc.
+short name of the driver. This should consist only of lowercase alphabetic
+characters, and be the same name used in the source file: driver-foobar.c
+defines `dname` "foobar". The `name` field contains a three-letter abbreviation
+for the device, used in the representation of devices. For example, `dname`
+"FOO" would result in devices represented as "FOO 0", "FOO 1", etc and
+processors represented as "FOO 0a", "FOO 0b", etc.
 
 
 Drivers must define a function `drv_detect`, which is run at startup to detect
 Drivers must define a function `drv_detect`, which is run at startup to detect
 devices. For each device (note: NOT each processor), it should allocate a
 devices. For each device (note: NOT each processor), it should allocate a