aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2010-03-19 00:39:07 +0100
committerStefan Richter <stefanr@s5r6.in-berlin.de>2010-03-24 22:01:47 +0100
commitfe43d6d9cf59d8f8cbfdcde2018de13ffd1285c7 (patch)
tree4eb14adaa43b7746cd8e0bc5416281b5d3839f9c /include
parentfirewire: core: fix Model_ID in modalias (diff)
downloadlinux-dev-fe43d6d9cf59d8f8cbfdcde2018de13ffd1285c7.tar.xz
linux-dev-fe43d6d9cf59d8f8cbfdcde2018de13ffd1285c7.zip
firewire: core: align driver match with modalias
The driver match strategy was: - Match vendor/model/specifier/version of the unit directory. - If that was a miss, match vendor from the root directory and model/specifier/version of the unit directory. This was inconsistent with how the modalias string was constructed until recently (take vendor/model from root directory and specifier/ version from unit directory). It was also inconsistent with how it is done since the parent commit: - Use vendor/model/specifier/version of the unit directory if possible, - fall back to one or more of vendor/model/specifier/version from the root directory depending on which ones are not present at the unit directory. Fix this inconsistency by sharing the ROM scanner function between modalias printer function and driver match function. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions