diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2008-01-21 10:15:19 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:05:22 -0500 |
commit | 386900781205d203c1141d3e2dae759f1b531193 (patch) | |
tree | 2bad1d976d3ce0cfb33766b3ed4cf9613a131a70 /Documentation/dvb | |
parent | 4a2b108379743405bc488eaef6a75080aa1bbba4 (diff) |
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 <akinobu.mita@gmail.com>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'Documentation/dvb')
-rw-r--r-- | Documentation/dvb/bt8xx.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/dvb/bt8xx.txt b/Documentation/dvb/bt8xx.txt index ecb47adda063..b7b1d1b1da46 100644 --- a/Documentation/dvb/bt8xx.txt +++ b/Documentation/dvb/bt8xx.txt | |||
@@ -78,6 +78,18 @@ Example: | |||
78 | For a full list of card ID's please see Documentation/video4linux/CARDLIST.bttv. | 78 | For a full list of card ID's please see Documentation/video4linux/CARDLIST.bttv. |
79 | In case of further problems please subscribe and send questions to the mailing list: linux-dvb@linuxtv.org. | 79 | In case of further problems please subscribe and send questions to the mailing list: linux-dvb@linuxtv.org. |
80 | 80 | ||
81 | 2c) Probing the cards with broken PCI subsystem ID | ||
82 | -------------------------------------------------- | ||
83 | There are some TwinHan cards that the EEPROM has become corrupted for some | ||
84 | reason. The cards do not have correct PCI subsystem ID. But we can force | ||
85 | probing the cards with broken PCI subsystem ID | ||
86 | |||
87 | $ echo 109e 0878 $subvendor $subdevice > \ | ||
88 | /sys/bus/pci/drivers/bt878/new_id | ||
89 | |||
90 | 109e: PCI_VENDOR_ID_BROOKTREE | ||
91 | 0878: PCI_DEVICE_ID_BROOKTREE_878 | ||
92 | |||
81 | Authors: Richard Walker, | 93 | Authors: Richard Walker, |
82 | Jamie Honan, | 94 | Jamie Honan, |
83 | Michael Hunold, | 95 | Michael Hunold, |