Date: Wed, 10 Oct 2012 02:21:36 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241390 - head/sys/dev/bge Message-ID: <201210100221.q9A2LarF032264@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yongari Date: Wed Oct 10 02:21:36 2012 New Revision: 241390 URL: http://svn.freebsd.org/changeset/base/241390 Log: Honor PHY type fiber for BCM5717/BCM5718/BCM5719/BCM5720. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c ============================================================================== --- head/sys/dev/bge/if_bge.c Wed Oct 10 01:59:53 2012 (r241389) +++ head/sys/dev/bge/if_bge.c Wed Oct 10 02:21:36 2012 (r241390) @@ -3381,7 +3381,7 @@ bge_attach(device_t dev) /* The SysKonnect SK-9D41 is a 1000baseSX card. */ if ((pci_read_config(dev, BGE_PCI_SUBSYS, 4) >> 16) == SK_SUBSYSID_9D41 || (hwcfg & BGE_HWCFG_MEDIA) == BGE_MEDIA_FIBER) { - if (BGE_IS_5714_FAMILY(sc)) + if (BGE_IS_5705_PLUS(sc)) sc->bge_flags |= BGE_FLAG_MII_SERDES; else sc->bge_flags |= BGE_FLAG_TBI;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210100221.q9A2LarF032264>