Versions Compared

Key

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

...

Anchor10937861093786 NameGet() Anchor11004481100448static const CPU_CHAR *FSDev_####_NameGet (void); Anchor11280061128006  

...

...

File

...

Called from

...

...

Code enabled by

...

fs_dev_####.c

...

various

...

...

N/A

...

11004511100451Device 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. Anchor10979391097939

Arguments

...

None. Anchor10986041098604

Returned Value

Anchor10937941093794Pointer to the device driver name. Anchor10992691099269

Notes/Warnings

...

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