aboutsummaryrefslogblamecommitdiffstats
path: root/drivers/pnp/base.h
blob: 6b8c4cfd02a697a5f8e8f6dc68ab4ae7ed890b0d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                     
extern struct bus_type pnp_bus_type;
extern spinlock_t pnp_lock;
void *pnp_alloc(long size);
int pnp_interface_attach_device(struct pnp_dev *dev);
void pnp_fixup_device(struct pnp_dev *dev);
void pnp_free_option(struct pnp_option *option);
int __pnp_add_device(struct pnp_dev *dev);
void __pnp_remove_device(struct pnp_dev *dev);

int pnp_check_port(struct pnp_dev * dev, int idx);
int pnp_check_mem(struct pnp_dev * dev, int idx);
int pnp_check_irq(struct pnp_dev * dev, int idx);
int pnp_check_dma(struct pnp_dev * dev, int idx);