diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2010-03-19 00:39:07 +0100 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2010-03-24 22:01:47 +0100 |
commit | fe43d6d9cf59d8f8cbfdcde2018de13ffd1285c7 (patch) | |
tree | 4eb14adaa43b7746cd8e0bc5416281b5d3839f9c /crypto | |
parent | 5ae73518cb39dd81e641dfa7ce20751c853579e0 (diff) |
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 'crypto')
0 files changed, 0 insertions, 0 deletions