Bug 168411 - PCI ids should be matched with largest pattern first
Summary: PCI ids should be matched with largest pattern first
Keywords:
Status: CLOSED DUPLICATE of bug 166708
Alias: None
Product: Fedora
Classification: Fedora
Component: kudzu
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-09-15 19:59 UTC by Pierre Ossman
Modified: 2014-03-17 02:55 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-09-16 16:14:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.