Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101432
b: refs/heads/master
c: 8736595
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Bogendoerfer authored and Ralf Baechle committed Jul 15, 2008
1 parent 85ecff2 commit f0c6015
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f2bc713f15103372c0efab5fc09dd813655c5096
refs/heads/master: 8736595bb2b0ce6188ca31308c40921f3f02f35b
7 changes: 7 additions & 0 deletions trunk/arch/mips/pci/ops-mace.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ mace_pci_read_config(struct pci_bus *bus, unsigned int devfn,
/* ack possible master abort */
mace->pci.error &= ~MACEPCI_ERROR_MASTER_ABORT;
mace->pci.control = control;
/*
* someone forgot to set the ultra bit for the onboard
* scsi chips; we fake it here
*/
if (bus->number == 0 && reg == 0x40 && size == 4 &&
(devfn == (1 << 3) || devfn == (2 << 3)))
*val |= 0x1000;

DPRINTK("read%d: reg=%08x,val=%02x\n", size * 8, reg, *val);

Expand Down

0 comments on commit f0c6015

Please sign in to comment.