From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262925AbVG2VsK (ORCPT ); Fri, 29 Jul 2005 17:48:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262900AbVG2Vrb (ORCPT ); Fri, 29 Jul 2005 17:47:31 -0400 Received: from zproxy.gmail.com ([64.233.162.197]:25740 "EHLO zproxy.gmail.com") by vger.kernel.org with ESMTP id S261452AbVG2Vq1 convert rfc822-to-8bit (ORCPT ); Fri, 29 Jul 2005 17:46:27 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RohMtUpHMTSH1wp+KI+nQhdf3AKkgn0qUlRjJNVkPa+5wl5TlCRzSUdUuCUAmA4y+CxfQn4oQXN9/kjtkDRKCTEQzDWWdS0uGLgfcj5QyawYxaQxBgldMcOjOfD0p769exZZuaXgwpUKHpTnXPhNv6Zem8sN/A0A85H4lJieyRo= Message-ID: Date: Fri, 29 Jul 2005 21:45:45 +0000 From: Erior To: romieu@fr.zoreil.com Subject: Re: sis190 driver Cc: linux-kernel@vger.kernel.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Content-Disposition: inline References: <095433EB6AB9634BB9524203BF7E303C99AA06@EXGBGMB02.europe.cellnetwork.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This will get the driver to aknowledge mii-tool reported mode, without this the drivers always says "100BaseTx-FD" while my switch shows 10BaseT-HD as the selected mode. /Lars --- sis190.new 2005-07-29 23:26:39.000000000 +0000 +++ sis190.c 2005-07-29 23:38:39.000000000 +0000 @@ -956,7 +956,8 @@ static void sis190_phy_task(void * data) val = mdio_read(ioaddr, phy_id, 0x1f); net_link(tp, KERN_INFO "%s: mii ext = %04x.\n", dev->name, val); - val = mdio_read(ioaddr, phy_id, MII_LPA); + val = mdio_read(ioaddr, phy_id, MII_LPA) + & mdio_read(ioaddr, phy_id, MII_ADVERTISE ); net_link(tp, KERN_INFO "%s: mii lpa = %04x.\n", dev->name, val); for (p = reg31; p->ctl; p++) { On 7/29/05, Erior wrote: > Hi > > Added PHY identifier for the Asus K8S-MX motherboard. > > --- sis190.old 2005-07-29 23:16:07.000000000 +0000 > +++ sis190.c 2005-07-29 23:15:37.000000000 +0000 > @@ -325,6 +325,7 @@ static struct mii_chip_info { > { "Broadcom PHY BCM5461", { 0x0020, 0x60c0 }, LAN }, > { "Agere PHY ET1101B", { 0x0282, 0xf010 }, LAN }, > { "Marvell PHY 88E1111", { 0x0141, 0x0cc0 }, LAN }, > + { "Realtek PHY RTL8201CL",{ 0x0000, 0x8200 }, LAN }, > { NULL, } > }; > > /Lars > > On 7/29/05, Lars Vahlenberg wrote: > > > > > > > > -----Original Message----- > > From: Francois Romieu [mailto:romieu@fr.zoreil.com] > > Sent: Fri 2005-07-29 00:11 > > To: linux-kernel@vger.kernel.org > > Cc: pascal.chapperon@wanadoo.fr; Lars Vahlenberg; Alexey Dobriyan; > > jgarzik@pobox.com > > Subject: [patch 2.6.13-rc3] sis190 driver > > > > Single file patch: > > > http://www.zoreil.com/~romieu/sis190/20050728-2.6.13-rc3-sis190-test.patch > > > > Patch-kit: > > http://www.zoreil.com/~romieu/sis190/20050728-2.6.13-rc3/patches > > > > Tarball: > > http://www.zoreil.com/~romieu/sis190/20050728-2.6.13-rc3.tar.bz2 > > > > Changes from previous version (20050722) > > o Add endian annotations (Alexey Dobriyan). > > > > o Hopefully fixed the build of the patch. > > > > o Minor round of mii/phy related changes. May crash. > > > > Testing reports/review/patches are always appreciated. > > > > Ok, now back to washing. > > > > -- > > Ueimor > > > > > > > > > > > -- > There is nothing that cannot be solved through sufficient application > of brute force and ignorance. > -- There is nothing that cannot be solved through sufficient application of brute force and ignorance.