Date: Sat, 13 Mar 2010 04:55:47 +0000 (UTC) From: Juli Mallett <jmallett@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/mips/cavium/dev/rgmii octeon_rgmx.c Message-ID: <201003130455.o2D4tx5L082663@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jmallett 2010-03-13 04:55:47 UTC FreeBSD src repository Modified files: sys/mips/cavium/dev/rgmii octeon_rgmx.c Log: SVN rev 205115 on 2010-03-13 04:55:47Z by jmallett o) Use octeon_fpa_alloc_phys in a situation in which we don't need a usable pointer, rather than octeon_fpa_alloc. o) Report half duplex status properly. o) Do not unconditionally update the last known link status in the softc. If report_link isn't set, when octeon_rgmx_config_speed is called the first time it will tell the driver (essentially) that we have already marked the interface up. Likewise, don't change media speed and duplex if only the link status is at issue. [1] o) Remove manual changing of link state and let octeon_rgmx_config_speed do the heavy lifting. [1] Reviewed by: [1] imp Sponsored by: Packet Forensics Revision Changes Path 1.7 +88 -83 src/sys/mips/cavium/dev/rgmii/octeon_rgmx.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003130455.o2D4tx5L082663>