1 | Index: src/add-ons/kernel/bus_managers/firewire/fwohci_pci.c
|
---|
2 | ===================================================================
|
---|
3 | --- src/add-ons/kernel/bus_managers/firewire/fwohci_pci.c (revision 25471)
|
---|
4 | +++ src/add-ons/kernel/bus_managers/firewire/fwohci_pci.c (working copy)
|
---|
5 | @@ -57,10 +57,13 @@
|
---|
6 | #include "fwohcireg.h"
|
---|
7 | #include "fwohcivar.h"
|
---|
8 |
|
---|
9 | +#define PCIM_CMD_IOS 0x0001
|
---|
10 | #define PCIM_CMD_MEMEN 0x0002
|
---|
11 | #define PCIM_CMD_BUSMASTEREN 0x0004
|
---|
12 | #define PCIM_CMD_MWRICEN 0x0010
|
---|
13 | -#define PCIM_CMD_IOS 0x0001
|
---|
14 | +#define PCIM_CMD_PERRESPEN 0x0040
|
---|
15 | +#define PCIM_CMD_SERRESPEN 0x0100
|
---|
16 | +
|
---|
17 | extern pci_module_info *gPci;
|
---|
18 | extern pci_info *pciInfo[MAX_CARDS];
|
---|
19 | extern fwohci_softc_t *gFwohci_softc[MAX_CARDS];
|
---|
20 | @@ -149,6 +152,7 @@
|
---|
21 |
|
---|
22 | #if 1 /* for broken hardware */
|
---|
23 | val &= ~PCIM_CMD_MWRICEN;
|
---|
24 | + val &= ~(PCIM_CMD_SERRESPEN | PCIM_CMD_PERRESPEN);
|
---|
25 | #endif
|
---|
26 | gPci->write_pci_config(info->bus, info->device, info->function,
|
---|
27 | PCI_command, 2, val);
|
---|