Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | extern spinlock_t pnp_lock; |
| 2 | void *pnp_alloc(long size); |
Bjorn Helgaas | 1692b27b | 2008-04-28 16:33:51 -0600 | [diff] [blame^] | 3 | int pnp_add_id(struct pnp_id *id, struct pnp_dev *dev); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | int pnp_interface_attach_device(struct pnp_dev *dev); |
| 5 | void pnp_fixup_device(struct pnp_dev *dev); |
| 6 | void pnp_free_option(struct pnp_option *option); |
| 7 | int __pnp_add_device(struct pnp_dev *dev); |
| 8 | void __pnp_remove_device(struct pnp_dev *dev); |
| 9 | |
| 10 | int pnp_check_port(struct pnp_dev * dev, int idx); |
| 11 | int pnp_check_mem(struct pnp_dev * dev, int idx); |
| 12 | int pnp_check_irq(struct pnp_dev * dev, int idx); |
| 13 | int pnp_check_dma(struct pnp_dev * dev, int idx); |