Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 40452 Details for
Bug 58483
rt2500-1.4.1.0-r1.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for amd64 compatibility
rt2500-1.4.3.0-amd64.patch (text/plain), 1.89 KB, created by
Alexander M. Turek
on 2004-09-26 07:52:57 UTC
(
hide
)
Description:
Patch for amd64 compatibility
Filename:
MIME Type:
Creator:
Alexander M. Turek
Created:
2004-09-26 07:52:57 UTC
Size:
1.89 KB
patch
obsolete
>diff -ru RT2500-Linux-STA-1.4.3.0.orig/STA/Module/rtmp_main.c RT2500-Linux-STA-1.4.3.0/STA/Module/rtmp_main.c >--- RT2500-Linux-STA-1.4.3.0.orig/STA/Module/rtmp_main.c 2004-09-15 05:46:42.000000000 +0200 >+++ RT2500-Linux-STA-1.4.3.0/STA/Module/rtmp_main.c 2004-09-26 18:19:30.892326832 +0200 >@@ -101,7 +101,7 @@ > RTMP_ADAPTER *pAd; > CHAR *print_name; > INT chip_id = (int) ent->driver_data; >- ULONG csr_addr; >+ unsigned long csr_addr; > CSR3_STRUC StaMacReg0; > CSR4_STRUC StaMacReg1; > INT Status; >@@ -128,7 +128,7 @@ > net_dev->irq = pPci_Dev->irq; > > // map physical address to virtual address for accessing register >- csr_addr = (ULONG) ioremap(pci_resource_start(pPci_Dev, 0), pci_resource_len(pPci_Dev, 0)); >+ csr_addr = (unsigned long) ioremap(pci_resource_start(pPci_Dev, 0), pci_resource_len(pPci_Dev, 0)); > if (!csr_addr) > { > DBGPRINT(RT_DEBUG_TRACE, "ioremap failed for device %s, region 0x%X @ 0x%lX\n", >@@ -139,7 +139,7 @@ > // Save CSR virtual address and irq to device structure > net_dev->base_addr = csr_addr; > pAd = net_dev->priv; >- pAd->CSRBaseAddress = csr_addr; >+ pAd->CSRBaseAddress = net_dev->base_addr; > pAd->net_dev = net_dev; > > // Set DMA master >diff -ru RT2500-Linux-STA-1.4.3.0.orig/STA/Module/rtmp_tkip.c RT2500-Linux-STA-1.4.3.0/STA/Module/rtmp_tkip.c >--- RT2500-Linux-STA-1.4.3.0.orig/STA/Module/rtmp_tkip.c 2004-09-15 05:46:42.000000000 +0200 >+++ RT2500-Linux-STA-1.4.3.0/STA/Module/rtmp_tkip.c 2004-09-26 18:21:29.819247192 +0200 >@@ -124,7 +124,7 @@ > M = pTkip->M; > > // Alignment case >- if((nBytesInM == 0) && ((((ULONG)pSrc) & 0x3) == 0)) >+ if((nBytesInM == 0) && ((((unsigned long)pSrc) & 0x3) == 0)) > { > while(nBytes >= 4) > {
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 58483
:
36236
|
36237
|
36251
|
36721
|
39197
|
39198
|
39439
|
39733
|
40452
|
40466
|
45304
|
45545
|
45611
|
45631
|
49316
|
49319
|
49351