mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 20:56:23 +00:00
[netdrvr] via-rhine: Use register offset definition for WOLcgClr
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>
This commit is contained in:
parent
d1e7fe4d92
commit
f11cf25ef3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue