···11#ifndef _VME_BRIDGE_H_22#define _VME_BRIDGE_H_3344+#include <linux/vme.h>55+46#define VME_CRCSR_BUF_SIZE (508*1024)57/*68 * Resource structures···90889189struct vme_irq {9290 int count;9393- struct vme_callback callback[255];9191+ struct vme_callback callback[VME_NUM_STATUSID];9492};95939694/* Allow 16 characters for name (including null character) */
+3
include/linux/vme.h
···81818282extern struct bus_type vme_bus_type;83838484+/* Number of VME interrupt vectors */8585+#define VME_NUM_STATUSID 2568686+8487/* VME_MAX_BRIDGES comes from the type of vme_bus_numbers */8588#define VME_MAX_BRIDGES (sizeof(unsigned int)*8)8689#define VME_MAX_SLOTS 32