Created
October 11, 2010 00:14
-
-
Save oraccha/619745 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
term% diff -c etherigbe.c.orig etherigbe.c | |
etherigbe.c.orig:1680,1686 - etherigbe.c:1680,1686 | |
} | |
break; | |
} | |
- snprint(rop, sizeof(rop), "S :%dDCc;", bits+3); | |
+ snprint(rop, sizeof(rop), "CcS :%dDCc;", bits+3); | |
for(addr = 0; addr < 0x40; addr++){ | |
/* | |
etherigbe.c.orig:1953,1959 - etherigbe.c:1953,1961 | |
break; | |
case 0x00: | |
case 0xFF: | |
- print("igbe: unusable CLS - %d\n", cls*4); | |
+ #define CACHELINESZ 32 | |
+ cls = CACHELINESZ / sizeof(long); | |
+ pcicfgw8(p, PciCLS, cls); | |
break; | |
case 0x08: | |
case 0x10: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment