Re: sis190 driver

From: Erior
Date: Fri Jul 29 2005 - 17:16:56 EST


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@xxxxxxxxx> 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@xxxxxxxxx> 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@xxxxxxxxxxxx> wrote:
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Francois Romieu [mailto:romieu@xxxxxxxxxxxxx]
> > > Sent: Fri 2005-07-29 00:11
> > > To: linux-kernel@xxxxxxxxxxxxxxx
> > > Cc: pascal.chapperon@xxxxxxxxxx; Lars Vahlenberg; Alexey Dobriyan;
> > > jgarzik@xxxxxxxxx
> > > 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/