Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 207741 Details for
Bug 308201
rtl8139 NIC doesn't work in Windows Vista
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix checksum for Vista
rtl8139-vista.patch (text/plain), 1.51 KB, created by
Daniel Berrangé
on 2007-09-26 23:37:40 UTC
(
hide
)
Description:
Fix checksum for Vista
Filename:
MIME Type:
Creator:
Daniel Berrangé
Created:
2007-09-26 23:37:40 UTC
Size:
1.51 KB
patch
obsolete
>Index: hw/rtl8139.c >=================================================================== >RCS file: /sources/qemu/qemu/hw/rtl8139.c,v >retrieving revision 1.10 >retrieving revision 1.11 >diff -u -r1.10 -r1.11 >--- hw/rtl8139.c 11 Jul 2007 22:48:58 -0000 1.10 >+++ hw/rtl8139.c 1 Aug 2007 13:10:29 -0000 1.11 >@@ -53,9 +53,8 @@ > /* debug RTL8139 card C+ mode only */ > //#define DEBUG_RTL8139CP 1 > >-/* RTL8139 provides frame CRC with received packet, this feature seems to be >- ignored by most drivers, disabled by default */ >-//#define RTL8139_CALCULATE_RXCRC 1 >+/* Calculate CRCs properly on Rx packets */ >+#define RTL8139_CALCULATE_RXCRC 1 > > /* Uncomment to enable on-board timer interrupts */ > //#define RTL8139_ONBOARD_TIMER 1 >@@ -747,7 +746,7 @@ > int wrapped = MOD2(s->RxBufAddr + size, s->RxBufferSize); > > /* write packet data */ >- if (wrapped && s->RxBufferSize < 65536 && !rtl8139_RxWrap(s)) >+ if (wrapped && !(s->RxBufferSize < 65536 && rtl8139_RxWrap(s))) > { > DEBUG_PRINT((">>> RTL8139: rx packet wrapped in buffer at %d\n", size-wrapped)); > >@@ -1023,7 +1022,7 @@ > > /* write checksum */ > #if defined (RTL8139_CALCULATE_RXCRC) >- val = cpu_to_le32(crc32(~0, buf, size)); >+ val = cpu_to_le32(crc32(0, buf, size)); > #else > val = 0; > #endif >@@ -1129,7 +1128,7 @@ > > /* write checksum */ > #if defined (RTL8139_CALCULATE_RXCRC) >- val = cpu_to_le32(crc32(~0, buf, size)); >+ val = cpu_to_le32(crc32(0, buf, size)); > #else > val = 0; > #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 308201
: 207741