Skip to content

Instantly share code, notes, and snippets.

@oraccha
Created October 11, 2010 00:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oraccha/619745 to your computer and use it in GitHub Desktop.
Save oraccha/619745 to your computer and use it in GitHub Desktop.
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