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,8 +308,9 @@ static int __devinit ddb_probe(struct pci_dev *pdev,
|
||||
ddbwritel(dev, 0, DMA_BASE_WRITE);
|
||||
|
||||
if (dev->link[0].info->type == DDB_MOD) {
|
||||
if (ddbreadl(dev, 0x1c) == 4)
|
||||
dev->link[0].info->port_num = 4;
|
||||
if (dev->link[0].info->version == 1)
|
||||
if (ddbreadl(dev, 0x1c) == 4)
|
||||
dev->link[0].info->port_num = 4;
|
||||
}
|
||||
|
||||
stat = ddb_irq_init(dev);
|
||||
|
Loading…
Reference in New Issue
Block a user