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 |