| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * |
|---|
| 3 | 4 | * Support for the mpeg transport stream transfers |
|---|
| .. | .. |
|---|
| 6 | 7 | * (c) 2004 Jelle Foks <jelle@foks.us> |
|---|
| 7 | 8 | * (c) 2004 Chris Pascoe <c.pascoe@itee.uq.edu.au> |
|---|
| 8 | 9 | * (c) 2004 Gerd Knorr <kraxel@bytesex.org> |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 11 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 12 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 13 | | - * (at your option) any later version. |
|---|
| 14 | | - * |
|---|
| 15 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 16 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 17 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 18 | | - * GNU General Public License for more details. |
|---|
| 19 | 10 | */ |
|---|
| 20 | 11 | |
|---|
| 21 | 12 | #include "cx88.h" |
|---|
| .. | .. |
|---|
| 171 | 162 | cx_write(MO_TS_GPCNTRL, GP_COUNT_CONTROL_RESET); |
|---|
| 172 | 163 | q->count = 0; |
|---|
| 173 | 164 | |
|---|
| 165 | + /* clear interrupt status register */ |
|---|
| 166 | + cx_write(MO_TS_INTSTAT, 0x1f1111); |
|---|
| 167 | + |
|---|
| 174 | 168 | /* enable irqs */ |
|---|
| 175 | 169 | dprintk(1, "setting the interrupt mask\n"); |
|---|
| 176 | 170 | cx_set(MO_PCI_INTMSK, core->pci_irqmask | PCI_INT_TSINT); |
|---|