mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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]>
This commit is contained in:
parent
4a2b108379
commit
3869007812
3 changed files with 45 additions and 49 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue