diff options
| author | Gavin Atkinson <gavin@FreeBSD.org> | 2012-09-19 12:27:23 +0000 |
|---|---|---|
| committer | Gavin Atkinson <gavin@FreeBSD.org> | 2012-09-19 12:27:23 +0000 |
| commit | e935190a33f7a00291fa9cdfae3338cd99590826 (patch) | |
| tree | 3f394f93c5ea4f518737a9e08fd86e7af882dc69 /sys/dev/e1000 | |
| parent | 26e76e98efe5d5d7bf50766061c3de5de53508b1 (diff) | |
Notes
Diffstat (limited to 'sys/dev/e1000')
| -rw-r--r-- | sys/dev/e1000/if_em.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index a4f43e7840e0..60e670865d03 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -5119,7 +5119,7 @@ em_disable_aspm(struct adapter *adapter) return; reg = base + PCIER_LINK_CTL; link_ctrl = pci_read_config(dev, reg, 2); - link_ctrl &= 0xFFFC; /* turn off bit 1 and 2 */ + link_ctrl &= ~PCIEM_LINK_CTL_ASPMC; pci_write_config(dev, reg, link_ctrl, 2); return; } |
