Thanks, committed.
On Mon, Nov 28, 2011 at 09:37:41PM +0000, Jonathan Perkin wrote:
> Hi,
>
> The Kumeran lock loss workaround should only be applied on ICH8, with
> this patch my ICH9 correctly auto-negotiates to gig.
>
> Taken from the latest e1000 driver.
>
> Index: if_em_hw.c
> ===================================================================
> RCS file: /store/OpenBSD/cvs/src/sys/dev/pci/if_em_hw.c,v
> retrieving revision 1.67
> diff -u -r1.67 if_em_hw.c
> --- if_em_hw.c 19 Oct 2011 07:29:42 -0000 1.67
> +++ if_em_hw.c 28 Nov 2011 21:28:01 -0000
> @@ -3973,7 +3973,9 @@
> if (ret_val)
> return ret_val;
> }
> - if ((hw->phy_type == em_phy_igp_3) && (*speed == SPEED_1000)) {
> + if ((hw->mac_type == em_ich8lan) &&
> + (hw->phy_type == em_phy_igp_3) &&
> + (*speed == SPEED_1000)) {
> ret_val = em_kumeran_lock_loss_workaround(hw);
> if (ret_val)
> return ret_val;
>
> --
> Jonathan Perkin www.perkin.org.uk
> github.com/jperkin twitter.com/jperkin