Project

General

Profile

Feature #3129 ยป if_bge.diff.txt

if_bge patch - Andrew Yong, 08/03/2013 09:50 AM

 
1
--- if_bge.c.head	2013-07-30 21:01:07.000000000 +0800
2
+++ if_bge.c	2013-07-30 21:01:27.000000000 +0800
3
@@ -2030,7 +2030,7 @@
4
 	CSR_WRITE_4(sc, BGE_MAC_MODE, val);
5
 
6
 	/* Set misc. local control, enable interrupts on attentions */
7
-	CSR_WRITE_4(sc, BGE_MISC_LOCAL_CTL, BGE_MLC_INTR_ONATTN);
8
+	BGE_SETBIT(sc, BGE_MISC_LOCAL_CTL, BGE_MLC_INTR_ONATTN);
9
 
10
 #ifdef notdef
11
 	/* Assert GPIO pins for PHY reset */
    (1-1/1)