Bug 168411

Summary: PCI ids should be matched with largest pattern first
Product: [Fedora] Fedora Reporter: Pierre Ossman <pierre-bugzilla>
Component: kudzuAssignee: Bill Nottingham <notting>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-16 16:14:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pierre Ossman 2005-09-15 19:59:57 UTC
Description of problem:
Brooktree 878 based video cards exists as analog and digital (DVB) versions.
These use the same PCI id but different subsystem id.

The problem with kudzu is that is matches the bt878 driver first (which only has
a PCI id pattern) instead of the most specific snd-bt87x driver. The logic
should be changed so that more specific patterns are given priority.

bt878:
alias:          pci:v0000109Ed00000878sv*sd*bc*sc*i*

snd-bt87x:
alias:          pci:v0000109Ed00000878sv00000070sd000013EBbc*sc*i*
alias:          pci:v0000109Ed00000879sv00000070sd000013EBbc*sc*i*
alias:          pci:v0000109Ed00000878sv00000070sd0000FF01bc*sc*i*

Comment 1 Bill Nottingham 2005-09-16 16:14:38 UTC

*** This bug has been marked as a duplicate of 166708 ***