#include <serial_io.h>
Several driver components need to associate a string name and a value generally they define an array of these and then perform a linear search. Used by the serial routing component in its /proc routing interface driver need to associate stings such as CCTALK_A and TTL_B with the bitpattern that make the routing happen. The /proc entries can be read to the system needs a reverse lookup as well
Data Fields | |
| const char * | name |
| unsigned long | value |
|
|
character string |
|
|
arbitary integer value most likely a register bit pattern |
1.3.6