4 #include <linux/ioctl.h>
8 /* IOCTRL(inode * ,file * ,cmd ,arg ) */
9 /* S means "set through a ptr" */
10 /* T means "tell by a arg value" */
11 /* G means "get by a ptr" */
12 /* Q means "get by return a value" */
13 /* X means "switch G and S atomically" */
14 /* H means "switch T and Q atomically" */
16 /*******************************************************************************
18 ********************************************************************************/
21 #define EEPROMIOC_S_WRITE _IOW(EEPROMAGIC, 0, stEEPROM_INFO_STRUCT)
23 #define EEPROMIOC_G_READ _IOWR(EEPROMAGIC, 5, stPEEPROM_INFO_STRUCT)
25 #endif /* _EEPROM_H */