> Date: Wed, 4 Jul 2012 03:40:26 -0400 > From: Brad Smith <b...@comstyle.com> > > Set the 10_100_ONLY flag for the BCM57791/BCM57795 chipsets > as they're FastE chipsets. So ifconfig media doesn't list > GigE for FastE-only capable PHY. > > OK?
Right, the programmers reference guide for those chips quite clearly states so. Committed. Thanks. > Index: if_bge.c > =================================================================== > RCS file: /home/cvs/src/sys/dev/pci/if_bge.c,v > retrieving revision 1.309 > diff -u -p -r1.309 if_bge.c > --- if_bge.c 28 Jun 2012 11:52:15 -0000 1.309 > +++ if_bge.c 1 Jul 2012 03:49:04 -0000 > @@ -1991,6 +1991,8 @@ bge_attach(struct device *parent, struct > PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_BCM5753F || > PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_BCM5787F)) || > PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_BCM57790 || > + PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_BCM57791 || > + PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_BROADCOM_BCM57795 || > BGE_ASICREV(sc->bge_chipid) == BGE_ASICREV_BCM5906) > sc->bge_flags |= BGE_10_100_ONLY; > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean.