projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1e7fe4
)
[netdrvr] via-rhine: Use register offset definition for WOLcgClr
author
Laura Garcia
<nevola@gmail.com>
Sat, 23 Feb 2008 17:56:35 +0000
(18:56 +0100)
committer
Jeff Garzik
<jeff@garzik.org>
Sun, 24 Feb 2008 05:07:37 +0000
(
00:07
-0500)
Use register offset definition for WOLcgClr, rather than a magic
number.
This patch does not change the driver behaviour.
Signed-off-by: Laura Garcia Liebana <nevola@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/via-rhine.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/via-rhine.c
b/drivers/net/via-rhine.c
index 7c851b1e6daa4ba99e4d107213fca4abb34c76b4..8c9d6ae2bb31dae8eab737ae1105649aecde7336 100644
(file)
--- a/
drivers/net/via-rhine.c
+++ b/
drivers/net/via-rhine.c
@@
-1893,7
+1893,7
@@
static void rhine_shutdown (struct pci_dev *pdev)
/* Make sure we use pattern 0, 1 and not 4, 5 */
if (rp->quirks & rq6patterns)
- iowrite8(0x04, ioaddr +
0xA7
);
+ iowrite8(0x04, ioaddr +
WOLcgClr
);
if (rp->wolopts & WAKE_MAGIC) {
iowrite8(WOLmagic, ioaddr + WOLcrSet);