Date: Fri, 8 Jan 2010 22:28:54 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/vge if_vge.c if_vgevar.h Message-ID: <201001082229.o08MT8MW039394@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2010-01-08 22:28:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/vge if_vge.c if_vgevar.h Log: SVN rev 201841 on 2010-01-08 22:28:54Z by yongari MFC r200538,200540-200541,200543,200545,200548 r200538: Introduce vge_flags member in softc. The vge_flags member will record device specific bits. Remove vge_link and use vge_flags. While here, move clearing link state before mii_mediachg() as mii_mediachg() may affect link state. r200540: Save PHY address by reading VGE_MIICFG register. For PCIe controllers(VT613x), we assume the PHY address is 1. Use the saved PHY address in MII register access routines and remove accessing VGE_MIICFG register. While I'm here save PCI express capability register which will be used in near future. r200541: Add MSI support for VT613x controllers. r200543: Increase output queue size from 64 to 255. r200545: We don't have to reload EEPROM in vge_reset(). Because vge_reset() is called in vge_init_lock(), vge(4) always used to reload EEPROM. Also add more comment why vge(4) clears VGE_CHIPCFG0_PACPI bit. While I'm here add missing new line in vge_reset(). r200548: Sort function prototyes. Revision Changes Path 1.31.2.7 +109 -80 src/sys/dev/vge/if_vge.c 1.4.10.4 +6 -3 src/sys/dev/vge/if_vgevar.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001082229.o08MT8MW039394>