X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=kernel%2Fdrivers%2Ffirewire%2Fohci.c;fp=kernel%2Fdrivers%2Ffirewire%2Fohci.c;h=c2f5117fd8cb00c48f42784dcef9c97ebaa92080;hb=e09b41010ba33a20a87472ee821fa407a5b8da36;hp=f51d376d10ba64e9bc5c8e2ecb953582011f90e9;hpb=f93b97fd65072de626c074dbe099a1fff05ce060;p=kvmfornfv.git diff --git a/kernel/drivers/firewire/ohci.c b/kernel/drivers/firewire/ohci.c index f51d376d1..c2f5117fd 100644 --- a/kernel/drivers/firewire/ohci.c +++ b/kernel/drivers/firewire/ohci.c @@ -3675,6 +3675,11 @@ static int pci_probe(struct pci_dev *dev, reg_write(ohci, OHCI1394_IsoXmitIntMaskSet, ~0); ohci->it_context_support = reg_read(ohci, OHCI1394_IsoXmitIntMaskSet); + /* JMicron JMB38x often shows 0 at first read, just ignore it */ + if (!ohci->it_context_support) { + ohci_notice(ohci, "overriding IsoXmitIntMask\n"); + ohci->it_context_support = 0xf; + } reg_write(ohci, OHCI1394_IsoXmitIntMaskClear, ~0); ohci->it_context_mask = ohci->it_context_support; ohci->n_it = hweight32(ohci->it_context_mask);