diff options
Diffstat (limited to 'kernel/include/linux/vme.h')
-rw-r--r-- | kernel/include/linux/vme.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/include/linux/vme.h b/kernel/include/linux/vme.h index 79242e9c0..71e4a6dec 100644 --- a/kernel/include/linux/vme.h +++ b/kernel/include/linux/vme.h @@ -81,6 +81,9 @@ struct vme_resource { extern struct bus_type vme_bus_type; +/* Number of VME interrupt vectors */ +#define VME_NUM_STATUSID 256 + /* VME_MAX_BRIDGES comes from the type of vme_bus_numbers */ #define VME_MAX_BRIDGES (sizeof(unsigned int)*8) #define VME_MAX_SLOTS 32 @@ -120,6 +123,8 @@ void vme_free_consistent(struct vme_resource *, size_t, void *, dma_addr_t); size_t vme_get_size(struct vme_resource *); +int vme_check_window(u32 aspace, unsigned long long vme_base, + unsigned long long size); struct vme_resource *vme_slave_request(struct vme_dev *, u32, u32); int vme_slave_set(struct vme_resource *, int, unsigned long long, |