RT-AC66 3.0.0.4.374.130 core
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / include / asm-mips / inventory.h
blob92d90f75a63602867aa2c1fa32a7e94c862531a7
1 /*
2 * Miguel de Icaza
3 */
4 #ifndef __ASM_INVENTORY_H
5 #define __ASM_INVENTORY_H
7 #include <linux/compiler.h>
9 typedef struct inventory_s {
10 struct inventory_s *inv_next;
11 int inv_class;
12 int inv_type;
13 int inv_controller;
14 int inv_unit;
15 int inv_state;
16 } inventory_t;
18 extern int inventory_items;
20 extern void add_to_inventory (int class, int type, int controller, int unit, int state);
21 extern int dump_inventory_to_user (void __user *userbuf, int size);
22 extern int __init init_inventory(void);
24 #endif /* __ASM_INVENTORY_H */