Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Device drivers are identified by unique names, on which device names are based. For example, the unique name for the NAND flash driver is “nand”; the NAND devices will be named “nand:0:”, “nand:1:”, etc.

Arguments

None.

Returned Value

Pointer to the device driver name.

Notes/Warnings

  • The name must not include the ‘:’ character.
  • The name must be constant; each time this function is called, the same name must be returned.
  • The device driver NameGet() function is called while the caller holds the FS lock.