mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
only eval register 0x1c for modulator type 1
This commit is contained in:
parent
e415b6e203
commit
93e42deeaa
@ -308,6 +308,7 @@ static int __devinit ddb_probe(struct pci_dev *pdev,
|
|||||||
ddbwritel(dev, 0, DMA_BASE_WRITE);
|
ddbwritel(dev, 0, DMA_BASE_WRITE);
|
||||||
|
|
||||||
if (dev->link[0].info->type == DDB_MOD) {
|
if (dev->link[0].info->type == DDB_MOD) {
|
||||||
|
if (dev->link[0].info->version == 1)
|
||||||
if (ddbreadl(dev, 0x1c) == 4)
|
if (ddbreadl(dev, 0x1c) == 4)
|
||||||
dev->link[0].info->port_num = 4;
|
dev->link[0].info->port_num = 4;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user