mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Erior <lars.vahlenberg@gmail.com>
To: romieu@fr.zoreil.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: sis190 driver
Date: Fri, 29 Jul 2005 22:08:47 +0000	[thread overview]
Message-ID: <cb755df905072915085552895b@mail.gmail.com> (raw)
In-Reply-To: <cb755df905072914452912d82b@mail.gmail.com>

Hi

I can change the speed with my changes however there is something wrong with
taking care of failures.

If we are sending something for example have a ping command running and change
the speed with mii-tool or disconnect the cable and connect it again, the count
on ifconfig says that we are sending packages though I don't know what because
nothing arrives to the destination machine..hmm.. I can try to dump
the the network traffic
on my 10Mbit hub if needed but I don't think we are sending anything
that makes sense.

Is there any kind of test or information I can provid to help you fixing this ?

/Lars

On 7/29/05, Erior <lars.vahlenberg@gmail.com> wrote:
> 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 <lars.vahlenberg@gmail.com> 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 <lars.vahlenberg@mandator.com> 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.
> 


-- 
There is nothing that cannot be solved through sufficient application
of brute force and ignorance.

  reply	other threads:[~2005-07-29 22:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <095433EB6AB9634BB9524203BF7E303C99AA06@EXGBGMB02.europe.cellnetwork.com>
2005-07-29 21:24 ` Erior
2005-07-29 21:45   ` Erior
2005-07-29 22:08     ` Erior [this message]
2005-07-29 23:06       ` Francois Romieu
2005-07-29 22:17   ` Francois Romieu
     [not found] <095433EB6AB9634BB9524203BF7E303C99AA04@EXGBGMB02.europe.cellnetwork.com>
2005-07-27 22:46 ` Francois Romieu
2005-07-21 23:09 Francois Romieu
2005-07-22  4:16 ` Alexey Dobriyan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cb755df905072915085552895b@mail.gmail.com \
    --to=lars.vahlenberg@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=romieu@fr.zoreil.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®