Correct wrong definition of PM timer mask and adjust L1/PM timer
authorMichael Neumann <mneumann@ntecs.de>
Tue, 5 Aug 2014 13:02:51 +0000 (15:02 +0200)
committerMichael Neumann <mneumann@ntecs.de>
Tue, 5 Aug 2014 13:16:23 +0000 (15:16 +0200)
commita45385fec09b660facc3bf5e0abcdfbef1ee216e
tree6f63b129799bb5bb6edbb8b00d395b645fe4a1c6
parent1151286fd5c5b043a98c7e8215ac5dd1c558677d
Correct wrong definition of PM timer mask and adjust L1/PM timer

value. While I'm here enable all clocks before initializing
controller. This change should fix lockup issue seen on AR8152
v1.1 PCIe Fast Ethernet controller.

This fixes: http://bugs.dragonflybsd.org/issues/2625

Obtained-From: FreeBSD (r217649 d7200f3f19ae70c6fc623456c4e7ceda8e6f631d)
sys/dev/netif/alc/if_alc.c
sys/dev/netif/alc/if_alcreg.h