]> err.no Git - linux-2.6/blob - drivers/pnp/base.h
PNP: make pnp_add_card_id() internal to PNP core
[linux-2.6] / drivers / pnp / base.h
1 extern spinlock_t pnp_lock;
2 void *pnp_alloc(long size);
3 #define PNP_EISA_ID_MASK 0x7fffffff
4 void pnp_eisa_id_to_string(u32 id, char *str);
5 struct pnp_dev *pnp_alloc_dev(struct pnp_protocol *, int id, char *pnpid);
6 struct pnp_id *pnp_add_id(struct pnp_dev *dev, char *id);
7 int pnp_add_card_id(struct pnp_id *id, struct pnp_card *card);
8 int pnp_interface_attach_device(struct pnp_dev *dev);
9 void pnp_fixup_device(struct pnp_dev *dev);
10 void pnp_free_option(struct pnp_option *option);
11 int __pnp_add_device(struct pnp_dev *dev);
12 void __pnp_remove_device(struct pnp_dev *dev);
13
14 int pnp_check_port(struct pnp_dev * dev, int idx);
15 int pnp_check_mem(struct pnp_dev * dev, int idx);
16 int pnp_check_irq(struct pnp_dev * dev, int idx);
17 int pnp_check_dma(struct pnp_dev * dev, int idx);