11da177e4SLinus Torvalds extern spinlock_t pnp_lock; 21da177e4SLinus Torvalds void *pnp_alloc(long size); 325eb8461SBjorn Helgaas #define PNP_EISA_ID_MASK 0x7fffffff 425eb8461SBjorn Helgaas void pnp_eisa_id_to_string(u32 id, char *str); 5772defc6SBjorn Helgaas struct pnp_id *pnp_add_id(struct pnp_dev *dev, char *id); 61da177e4SLinus Torvalds int pnp_interface_attach_device(struct pnp_dev *dev); 71da177e4SLinus Torvalds void pnp_fixup_device(struct pnp_dev *dev); 81da177e4SLinus Torvalds void pnp_free_option(struct pnp_option *option); 91da177e4SLinus Torvalds int __pnp_add_device(struct pnp_dev *dev); 101da177e4SLinus Torvalds void __pnp_remove_device(struct pnp_dev *dev); 111da177e4SLinus Torvalds 121da177e4SLinus Torvalds int pnp_check_port(struct pnp_dev * dev, int idx); 131da177e4SLinus Torvalds int pnp_check_mem(struct pnp_dev * dev, int idx); 141da177e4SLinus Torvalds int pnp_check_irq(struct pnp_dev * dev, int idx); 151da177e4SLinus Torvalds int pnp_check_dma(struct pnp_dev * dev, int idx); 16