Subject: Re: CVS commit: src/sys/dev/mii
To: Jason Thorpe <thorpej@shagadelic.org>
From: Chris Gilbert <chris@dokein.co.uk>
List: source-changes
Date: 08/07/2005 15:21:41
On Sat, 6 Aug 2005 20:31:07 -0700
Jason Thorpe <thorpej@shagadelic.org> wrote:

> 
> On Aug 6, 2005, at 4:40 PM, Chris Gilbert wrote:
> 
> >
> > Module Name: src
> > Committed By: chris
> > Date: Sat Aug  6 23:40:39 UTC 2005
> >
> > Modified Files:
> > src/sys/dev/mii: mii_bitbang.c
> >
> > Log Message:
> > Check in cats specific tweak to make older de cards work as tlp  
> > devices.
> 
> Can you please describe this cats specific tweak?

When sending the synchronise message to the MII, first send the change in direction, then 32 MDO bits required to synchronise.   Rather than the change of direction happening on the first MDO bit.

This makes seems to make the synchronisation more reliable on older de devices on a cats system.  I would note that the same card worked fine in x86 hardware, so this is potentially something cats specific that I've  (although I note that there are reports of the same issue on alpha, see PR kern/12307)

I'll update/add a comment to the file, so it's clear whats going on.

Thanks,
Chris