[tulip] Kingston KNE111TX Full Duplex LED
Fri, 2 Mar 2001 18:55:44 -0500 (EST)
On Fri, 2 Mar 2001, John Connett wrote:
> Donald Becker wrote:
> > There isn't a general patch that will work for all boards, but please
> > try adding the following two lines around line 780
> > /* BugFixes: The 21143-TD hangs with PCI Write-and-Invalidate cycles.
> > And the ASIX must have a burst limit or horrible things happen. */
> > if (chip_idx == DC21143 && chip_rev == 65)
> > tp->csr0 &= ~0x01000000;
> > else if (tp->flags & IS_ASIX)
> > tp->csr0 |= 0x2000;
> > + else if (chip_idx == PNIC2)
> > + outl(0xf0000000, ioaddr + CSR9);
> > If this setting isn't somewhere in the EEPROM I'll have to add a new
> > subsystem ID specific flag for this board.
> Thanks for the swift reply. I have tried this change applied to the
> v0.92t driver and it appears to have no effect. The Full Duplex LED
> still flashes in time with the Activity LED but with a slight delay.
OK, better spot: just after start_link(dev) around line 848 in tulip.c
+ outl(0xf0000000, ioaddr + CSR9);
This worked on the PNIC2 card here.
I'm still playing with the CSR9 register to understand the semantics.
It's not as simple as just setting the upper four bits -- something
interaction is going on with the lower bits in the CSR9 register.
Donald Becker firstname.lastname@example.org
Scyld Computing Corporation http://www.scyld.com
410 Severn Ave. Suite 210 Second Generation Beowulf Clusters
Annapolis MD 21403 410-990-9993