diff options
author | Martyn Welch <martyn.welch@ge.com> | 2013-11-08 11:58:34 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-03 11:15:58 -0800 |
commit | 978f47d64365fa1659178e54c5106154c315b595 (patch) | |
tree | 00df9ed48a7bd0d95ba9095134b7e21f3fdc682c /Documentation/vme_api.txt | |
parent | 49cf10c67bfbd68bc646390cd1f4cbe77aea12d5 (diff) | |
download | linux-978f47d64365fa1659178e54c5106154c315b595.tar.bz2 |
VME: Provide access to VME bus enumeration and fix vme_user match function
The match function for vme_user is completely wrong. It will blindly bind
against the first VME slot on each bus (at this point that would be just the
first bus as the driver can only handle one bus).
The original intention (before some major subsystem changes) was that the
driver bind against the slot to which the bridge was attached in the VME
system and to the bus(es) provided via the "bus" module parameter.
To do this cleanly (i.e. without poking arround in the subsystems internal
stuctures) a functionality has been added to provide access to the bus
enumeration.
Signed-off-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/vme_api.txt')
-rw-r--r-- | Documentation/vme_api.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/vme_api.txt b/Documentation/vme_api.txt index 856efa35f6e3..126a1f1d5151 100644 --- a/Documentation/vme_api.txt +++ b/Documentation/vme_api.txt @@ -394,3 +394,13 @@ Slot Detection This function returns the slot ID of the provided bridge. int vme_slot_get(struct vme_dev *dev); + + +Bus Detection +============= + +This function returns the bus ID of the provided bridge. + + int vme_bus_num(struct vme_dev *dev); + + |