forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
V4L/DVB (7077): bt878: remove handcrafted PCI subsystem ID check
This patch moves the subsystem ID and subsystem vendor ID check from probing function to the PCI generic function by describing subsystem IDs in pci_device_id table. This enables to add new PCI IDs to a device driver pci_ids table at runtime by new_id file in sysfs pci driver tree. Signed-off-by: Akinobu Mita <[email protected]> Signed-off-by: Manu Abraham <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
- Loading branch information
Showing
3 changed files
with
45 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,6 +78,18 @@ Example: | |
For a full list of card ID's please see Documentation/video4linux/CARDLIST.bttv. | ||
In case of further problems please subscribe and send questions to the mailing list: [email protected]. | ||
|
||
2c) Probing the cards with broken PCI subsystem ID | ||
-------------------------------------------------- | ||
There are some TwinHan cards that the EEPROM has become corrupted for some | ||
reason. The cards do not have correct PCI subsystem ID. But we can force | ||
probing the cards with broken PCI subsystem ID | ||
|
||
$ echo 109e 0878 $subvendor $subdevice > \ | ||
/sys/bus/pci/drivers/bt878/new_id | ||
|
||
109e: PCI_VENDOR_ID_BROOKTREE | ||
0878: PCI_DEVICE_ID_BROOKTREE_878 | ||
|
||
Authors: Richard Walker, | ||
Jamie Honan, | ||
Michael Hunold, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters