Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48056
b: refs/heads/master
c: cd792aa
h: refs/heads/master
v: v3
  • Loading branch information
Woody Suwalski authored and Linus Torvalds committed Feb 12, 2007
1 parent 10475ec commit 5e1cc67
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3a0991029b577125ac5b3eedbe366320c581d8d6
refs/heads/master: cd792aa896f281a224870eb5f2ee5b24682910a5
19 changes: 12 additions & 7 deletions trunk/drivers/video/cyber2000fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1539,16 +1539,21 @@ static int cyberpro_pci_enable_mmio(struct cfb_info *cfb)
/*
* Allow the CyberPro to accept PCI burst accesses
*/
val = cyber2000_grphr(EXT_BUS_CTL, cfb);
if (!(val & EXT_BUS_CTL_PCIBURST_WRITE)) {
printk(KERN_INFO "%s: enabling PCI bursts\n", cfb->fb.fix.id);
if (cfb->id == ID_CYBERPRO_2010) {
printk(KERN_INFO "%s: NOT enabling PCI bursts\n", cfb->fb.fix.id);
} else {
val = cyber2000_grphr(EXT_BUS_CTL, cfb);
if (!(val & EXT_BUS_CTL_PCIBURST_WRITE)) {
printk(KERN_INFO "%s: enabling PCI bursts\n",
cfb->fb.fix.id);

val |= EXT_BUS_CTL_PCIBURST_WRITE;
val |= EXT_BUS_CTL_PCIBURST_WRITE;

if (cfb->id == ID_CYBERPRO_5000)
val |= EXT_BUS_CTL_PCIBURST_READ;
if (cfb->id == ID_CYBERPRO_5000)
val |= EXT_BUS_CTL_PCIBURST_READ;

cyber2000_grphw(EXT_BUS_CTL, val, cfb);
cyber2000_grphw(EXT_BUS_CTL, val, cfb);
}
}

return 0;
Expand Down

0 comments on commit 5e1cc67

Please sign in to comment.