projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce057f0
)
[TG3]: APE flag fix
author
Matt Carlson
<mcarlson@broadcom.com>
Tue, 13 Nov 2007 05:08:59 +0000
(21:08 -0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 13 Nov 2007 05:08:59 +0000
(21:08 -0800)
This patch corrects a bug where the ENABLE_APE flag was tested against
the wrong flag variable.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/tg3.c
b/drivers/net/tg3.c
index 82b1cf0e2d181e61ae8ba5024864aba5ab7dbd5f..833cb9b7f343e8db169088cd3f316bff5bab563e 100644
(file)
--- a/
drivers/net/tg3.c
+++ b/
drivers/net/tg3.c
@@
-10881,7
+10881,7
@@
static void __devinit tg3_read_fw_ver(struct tg3 *tp)
}
if (!(tp->tg3_flags & TG3_FLAG_ENABLE_ASF) ||
- (tp->tg3_flags & TG3_FLG3_ENABLE_APE))
+ (tp->tg3_flags
3
& TG3_FLG3_ENABLE_APE))
return;
for (offset = TG3_NVM_DIR_START;