Subject: Re: Dell Optiplex 745
To: Mark Davies <mark@mcs.vuw.ac.nz>
From: Phil Nelson <phil@cs.wwu.edu>
List: current-users
Date: 08/06/2007 13:59:15
--nextPart3928890.4IYQGFyM4S
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Friday 03 August 2007 2:36:15 pm Mark Davies wrote:
> After poking at our 745's off and on all year (see occasional previous=20
> threads on current-users and tech-net) I finally got the BCM5754=20
> working yesterday, thanks to a recent fix to the OpenBSD version of=20
> the driver.
>=20
> Patches are attached below.  Will commit over the weekend unless=20
> someone finds a problem.

I needed the following patch (found in the FreeBSD bge code) to get bge0
on my machine to not timeout on the firmware.   With this extra patch,
bge0 worked great.    But I still got the line:

  uhci0: host controller halted

when I did an "ifconfig bge0 192.168.0.10 netmask 0xffffff00"

I don't know if uhci0 is related, but it has happened consistently with the=
 ifconfig.

=2D-Phil

Index: if_bge.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/src/sys/dev/pci/if_bge.c,v
retrieving revision 1.133
diff -u -r1.133 if_bge.c
=2D-- if_bge.c    6 Aug 2007 12:29:36 -0000       1.133
+++ if_bge.c    6 Aug 2007 20:49:44 -0000
@@ -2812,7 +2812,9 @@
         * Disable the firmware fastboot feature on 5752 ASIC
         * to avoid firmware timeout.
         */
=2D       if (BGE_ASICREV(sc->bge_chipid) =3D=3D BGE_ASICREV_BCM5752)
+       if (BGE_ASICREV(sc->bge_chipid) =3D=3D BGE_ASICREV_BCM5752 ||
+           BGE_ASICREV(sc->bge_chipid) =3D=3D BGE_ASICREV_BCM5755 ||
+           BGE_ASICREV(sc->bge_chipid) =3D=3D BGE_ASICREV_BCM5787)
                CSR_WRITE_4(sc, BGE_FASTBOOT_PC, 0);
=20
        val =3D BGE_MISCCFG_RESET_CORE_CLOCKS | (65<<1);



=2D-=20
Phil Nelson (phil@cs.wwu.edu) http://www.cs.wwu.edu/nelson
NetBSD: http://www.NetBSD.org  Coda: http://www.coda.cs.cmu.edu


--nextPart3928890.4IYQGFyM4S
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iD8DBQBGt4ujzbodwsP3RI0RAr9yAKC0TV/pCYyr1qJBxrICBohm/emAEgCcCF02
l1D1BAtGvahoGad+7LlVzN0=
=KJ9f
-----END PGP SIGNATURE-----

--nextPart3928890.4IYQGFyM4S--