1 diff -ruN rt61-cvs-2007060307-old/Module/rt_config.h rt61-cvs-2007060307-new/Module/rt_config.h
2 --- rt61-cvs-2007060307-old/Module/rt_config.h 2007-06-03 14:35:29.000000000 +0200
3 +++ rt61-cvs-2007060307-new/Module/rt_config.h 2007-08-25 20:45:36.000000000 +0200
8 -#warning Compiling for big endian machine.
9 #define BIG_ENDIAN TRUE
10 #endif /* __BIG_ENDIAN */
12 diff -ruN rt61-cvs-2007060307-old/Module/rtmp.h rt61-cvs-2007060307-new/Module/rtmp.h
13 --- rt61-cvs-2007060307-old/Module/rtmp.h 2007-05-19 19:19:17.000000000 +0200
14 +++ rt61-cvs-2007060307-new/Module/rtmp.h 2007-08-25 20:44:27.000000000 +0200
15 @@ -1617,14 +1617,8 @@
16 VOID RTMPFreeDMAMemory(IN PRTMP_ADAPTER pAdapter);
17 // Enable & Disable NIC interrupt via writing interrupt mask register
18 // Since it use ADAPTER structure, it have to be put after structure definition.
22 - VOID NICDisableInterrupt(IN PRTMP_ADAPTER pAdapter);
26 - VOID NICEnableInterrupt(IN PRTMP_ADAPTER pAdapter);
27 +VOID NICDisableInterrupt(IN PRTMP_ADAPTER pAdapter);
28 +VOID NICEnableInterrupt(IN PRTMP_ADAPTER pAdapter);
29 VOID NICInitTxRxRingAndBacklogQueue(IN PRTMP_ADAPTER pAdapter);
30 VOID NICReadEEPROMParameters(IN PRTMP_ADAPTER pAd);
31 VOID NICInitAsicFromEEPROM(IN PRTMP_ADAPTER pAd);
32 diff -ruN rt61-cvs-2007060307-old/Module/rtmp_init.c rt61-cvs-2007060307-new/Module/rtmp_init.c
33 --- rt61-cvs-2007060307-old/Module/rtmp_init.c 2007-05-23 14:14:23.000000000 +0200
34 +++ rt61-cvs-2007060307-new/Module/rtmp_init.c 2007-08-25 20:43:51.000000000 +0200
37 // By removing 'inline' directive from the function definitions.
38 // Then Driverloader is compiled and runs smooth after kernel 2.6.9
44 -NICDisableInterrupt(IN PRTMP_ADAPTER pAdapter)
45 +VOID NICDisableInterrupt(IN PRTMP_ADAPTER pAdapter)
47 RTMP_IO_WRITE32(pAdapter, INT_MASK_CSR, 0xffffff7f); // 0xffffff7f
48 RTMP_IO_WRITE32(pAdapter, MCU_INT_MASK_CSR, 0xffffffff);
49 RTMP_CLEAR_FLAG(pAdapter, fRTMP_ADAPTER_INTERRUPT_ACTIVE);
57 -NICEnableInterrupt(IN PRTMP_ADAPTER pAdapter)
58 +VOID NICEnableInterrupt(IN PRTMP_ADAPTER pAdapter)
61 // Flag "fOP_STATUS_DOZE" On, means ASIC put to sleep, else means ASIC WakeUp