# #Comment lines in this file start with the pound character # #Format: # # can be -1 if the itself is enough to uniquely identify the # device # can be -1 if & uniquely identify the device # can be -1 in which case ioconfig ignores it # can be -1 in which case ioconfig takes the basename of the canonical # name of the device that it is looking at # can be -1 in which case ioconfig doesnot make the devicedriver # specific ioctl # # For a particular device the more generic entries should appear first in # the corresponding device file. # Eg:- For a network device consider the entries # # INV_NETWORK IGNORE IGNORE ....... # INV_NETWORK INV_ETHER_EF IGNORE ....... # #since is more specific than in the sense that is also #specified MUST appear before for to have any effect. # #**************************************************************************** # INV_CLASS INV_TYPE INV_STATE SUFFIX PATTERN START_NUM IOCTL_NUM #**************************************************************************** #Eg:- #1. Entry for tty device # # INV_SERIAL INV_IOC3_DMA IGNORE "d" "tty" 2 SIOC_MKHWG # ('z' << 8 | 15) # 4 16 -1 d tty 2 0x7a05 # # #2. Entry for mouse device # # INV_MISC INV_MISC_PCKM MS IGNORE IGNORE 2 IGNORE # # 14 1 0 -1 -1 2 -1 # #