11da177e4SLinus Torvalds extern struct bus_type pnp_bus_type; 21da177e4SLinus Torvalds extern spinlock_t pnp_lock; 31da177e4SLinus Torvalds void *pnp_alloc(long size); 41da177e4SLinus Torvalds int pnp_interface_attach_device(struct pnp_dev *dev); 51da177e4SLinus Torvalds void pnp_fixup_device(struct pnp_dev *dev); 61da177e4SLinus Torvalds void pnp_free_option(struct pnp_option *option); 71da177e4SLinus Torvalds int __pnp_add_device(struct pnp_dev *dev); 81da177e4SLinus Torvalds void __pnp_remove_device(struct pnp_dev *dev); 91da177e4SLinus Torvalds 101da177e4SLinus Torvalds int pnp_check_port(struct pnp_dev * dev, int idx); 111da177e4SLinus Torvalds int pnp_check_mem(struct pnp_dev * dev, int idx); 121da177e4SLinus Torvalds int pnp_check_irq(struct pnp_dev * dev, int idx); 131da177e4SLinus Torvalds int pnp_check_dma(struct pnp_dev * dev, int idx); 14