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 | 25eb846 | 2008-04-28 16:33:53 -0600 | [diff] [blame] | 3 | #define PNP_EISA_ID_MASK 0x7fffffff |
| 4 | void pnp_eisa_id_to_string(u32 id, char *str); |
Bjorn Helgaas | bda1e4e | 2008-04-28 16:33:54 -0600 | [diff] [blame] | 5 | struct pnp_dev *pnp_alloc_dev(struct pnp_protocol *, int id, char *pnpid); |
Bjorn Helgaas | 772defc | 2008-04-28 16:33:52 -0600 | [diff] [blame] | 6 | struct pnp_id *pnp_add_id(struct pnp_dev *dev, char *id); |
Bjorn Helgaas | e436675 | 2008-04-28 16:33:56 -0600 | [diff] [blame^] | 7 | struct pnp_id *pnp_add_card_id(struct pnp_card *card, char *id); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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); |