Project

General

Profile

Feature #3129 ยป if_bge.diff.txt

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

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