me8100.h
changeset 24 24a49943680f
parent 22 7b722739e329
child 27 4516904df6b3
equal deleted inserted replaced
23:8675c3e5d914 24:24a49943680f
   208   unsigned short ctrl_reg;
   208   unsigned short ctrl_reg;
   209   unsigned long last_change;
   209   unsigned long last_change;
   210 
   210 
   211   unsigned short ctrl_wflags;		    /* flags the writer(s) (re)set */
   211   unsigned short ctrl_wflags;		    /* flags the writer(s) (re)set */
   212   unsigned short ctrl_rflags;		    /* flags the reader(s) (re)set */
   212   unsigned short ctrl_rflags;		    /* flags the reader(s) (re)set */
       
   213   unsigned short icsr_flags;		    /* flags added to the icsr */
   213 
   214 
   214   int num_writer;
   215   int num_writer;
   215   int num_reader;
   216   int num_reader;
   216 
   217 
   217   int int_seen;
   218   int int_seen;
   238   int pci_func_no;                  /* PCI function number                   */
   239   int pci_func_no;                  /* PCI function number                   */
   239   char int_line;                    /* IRQ assigned from the PCI BIOS        */
   240   char int_line;                    /* IRQ assigned from the PCI BIOS        */
   240   int board_in_use;                 /* Indicates if board is already in use  */
   241   int board_in_use;                 /* Indicates if board is already in use  */
   241   struct file *file_ptr;            /* Pointer to file structure of path     */
   242   struct file *file_ptr;            /* Pointer to file structure of path     */
   242   struct me8100_subinfo subinfo[MAX_SUBDEVICES];   /* .hs */
   243   struct me8100_subinfo subinfo[MAX_SUBDEVICES];   /* .hs */
       
   244   int num_reader;		    /* per board number of readers */
   243 } me8100_info_t;
   245 } me8100_info_t;
   244 
   246 
   245 /* private data: data that are to be stored in the file pointer we
   247 /* private data: data that are to be stored in the file pointer we
   246  * get from the calling process. */
   248  * get from the calling process. */
   247 typedef struct me8100_private_data {
   249 typedef struct me8100_private_data {
   248   unsigned long last_read;	    /* jiffies */
   250   unsigned long last_read;	    /* jiffies */
   249   me8100_info_t *info;	    /* for faster access */
   251   me8100_info_t *info;		    /* for faster access */
   250   struct me8100_subinfo *subinfo;   /* for faster access */
   252   struct me8100_subinfo *subinfo;   /* for faster access */
   251 } me8100_private_data_t;
   253 } me8100_private_data_t;
   252 
   254 
   253 #endif	/* __KERNEL__ */
   255 #endif	/* __KERNEL__ */
   254 
   256