/[gentoo-x86]/net-misc/bcm4400/files/bcm4400-1.0.1-gcc33-fix.patch
Gentoo

Contents of /net-misc/bcm4400/files/bcm4400-1.0.1-gcc33-fix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download) (as text)
Thu Oct 2 08:24:16 2003 UTC (16 years, 8 months ago) by kumba
Branch: MAIN
File MIME type: text/x-diff
Added a patch that fixes a gcc-3.3.x compile issue. Closes Bug #28614

1 kumba 1.1 --- src/b44.h 2003-09-15 13:59:32.000000000 +0000
2     +++ src/b44.h.patched 2003-09-15 14:00:07.000000000 +0000
3     @@ -1079,10 +1079,10 @@
4     /******************************************************************************/
5    
6     #define REG_RD(pDevice, OffsetName) \
7     - __raw_readl(&((pDevice)->pMemView->##OffsetName))
8     + __raw_readl(&((pDevice)->pMemView->OffsetName))
9    
10     #define REG_WR(pDevice, OffsetName, Value32) \
11     - (void) __raw_writel(Value32, &((pDevice)->pMemView->##OffsetName))
12     + (void) __raw_writel(Value32, &((pDevice)->pMemView->OffsetName))
13    
14     #define REG_RD_OFFSET(pDevice, Offset) \
15     __raw_readl(((LM_UINT8 *) (pDevice)->pMemView + Offset))
16    

  ViewVC Help
Powered by ViewVC 1.1.20