diff options
author | Martyn Welch | 2009-08-06 10:43:07 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2009-09-15 21:02:10 +0200 |
commit | a37b0dad8b3d278fa64482ccd2381c947f432bf7 (patch) | |
tree | bc6c6227bc1b79c238e82401be9ce317c796b152 /drivers/staging/vme/vme.h | |
parent | Staging: vme: Correct tsi-148 VME interrupt free routine (diff) | |
download | kernel-qcow2-linux-a37b0dad8b3d278fa64482ccd2381c947f432bf7.tar.gz kernel-qcow2-linux-a37b0dad8b3d278fa64482ccd2381c947f432bf7.tar.xz kernel-qcow2-linux-a37b0dad8b3d278fa64482ccd2381c947f432bf7.zip |
Staging: vme: Extend VME core probing for special matches
Add the ability to define all slots and current slot in the VME buses bind
table.
Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vme/vme.h')
-rw-r--r-- | drivers/staging/vme/vme.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/vme/vme.h b/drivers/staging/vme/vme.h index 5291782a71eb..a092138e3a73 100644 --- a/drivers/staging/vme/vme.h +++ b/drivers/staging/vme/vme.h @@ -79,6 +79,9 @@ struct vme_resource { extern struct bus_type vme_bus_type; +#define VME_SLOT_CURRENT -1 +#define VME_SLOT_ALL -2 + struct vme_device_id { int bus; int slot; |