Go to the documentation of this file.
13 #define PNP_EISA_ID_MASK 0x7fffffff
35 #define PNP_IRQ_NR 256
56 #define PNP_OPTION_DEPENDENT 0x80000000
57 #define PNP_OPTION_SET_MASK 0xffff
58 #define PNP_OPTION_SET_SHIFT 12
59 #define PNP_OPTION_PRIORITY_MASK 0xfff
60 #define PNP_OPTION_PRIORITY_SHIFT 0
62 #define PNP_RES_PRIORITY_PREFERRED 0
63 #define PNP_RES_PRIORITY_ACCEPTABLE 1
64 #define PNP_RES_PRIORITY_FUNCTIONAL 2
65 #define PNP_RES_PRIORITY_INVALID PNP_OPTION_PRIORITY_MASK
83 unsigned char map,
unsigned char flags);
103 static inline unsigned int pnp_option_priority(
struct pnp_option *option)
109 static inline unsigned int pnp_new_dependent_set(
struct pnp_dev *
dev,
115 dev_warn(&dev->
dev,
"invalid dependent option priority %d "
116 "clipped to %d", priority,
145 #ifdef CONFIG_ISA_DMA_API
178 #if defined(CONFIG_PNP_DEBUG_MESSAGES)
179 #define pnp_dbg(dev, format, arg...) \
180 ({ if (pnp_debug) dev_printk(KERN_DEBUG, dev, format, ## arg); 0; })
182 #define pnp_dbg(dev, format, arg...) \
183 ({ if (0) dev_printk(KERN_DEBUG, dev, format, ## arg); 0; })