]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - drivers/staging/vme/vme_bridge.h
staging: vme: make match() driver specific to improve non-VME64x support
[mirror_ubuntu-hirsute-kernel.git] / drivers / staging / vme / vme_bridge.h
index 6dd2f4cf8b68913a66b627da5299ce854a2065b2..c2deda2c38df10f1fb901b984ee42709a9251f61 100644 (file)
@@ -2,7 +2,6 @@
 #define _VME_BRIDGE_H_
 
 #define VME_CRCSR_BUF_SIZE (508*1024)
-#define VME_SLOTS_MAX 32
 /*
  * Resource structures
  */
@@ -108,15 +107,13 @@ struct vme_bridge {
        struct list_head lm_resources;
 
        struct list_head vme_errors;    /* List for errors generated on VME */
+       struct list_head devices;       /* List of devices on this bridge */
 
        /* Bridge Info - XXX Move to private structure? */
        struct device *parent;  /* Parent device (eg. pdev->dev for PCI) */
        void *driver_priv;      /* Private pointer for the bridge driver */
        struct list_head bus_list; /* list of VME buses */
 
-       struct vme_dev *dev[VME_SLOTS_MAX];     /* Device registered
-                                                * on VME bus */
-
        /* Interrupt callbacks */
        struct vme_irq irq[7];
        /* Locking for VME irq callback configuration */