Skip to contentSkip to conversation

NET: remove support for Davicom 9102 from the Tulip driver

PATCH Meelis Roos 3 participants 5 messages Apr 4, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
Quoted 4 lines
Quoted 2 lines

- { 0x1282, 0x9102, PCI_ANY_ID, PCI_ANY_ID, 0, 0, DM910X },

applied

Hmm, did you see my yesterdays answer to that patch - that dmfe should first be fixed to work on all cards with this PCI ID? Currenty dmfe fails to work on at least Sun Fire V100 and Sun Netra X1 boxes, only tulip works.

Signature · 1 line
Meelis Roos ([email protected])
maintainer
#1 lore raw

From: Meelis Roos <[email protected]>
Date: Fri, 4 Apr 2008 11:56:44 +0300 (EEST)

Quoted 9 lines
Quoted 4 lines
Quoted 2 lines

- { 0x1282, 0x9102, PCI_ANY_ID, PCI_ANY_ID, 0, 0, DM910X },

applied

Hmm, did you see my yesterdays answer to that patch - that dmfe should first be fixed to work on all cards with this PCI ID? Currenty dmfe fails to work on at least Sun Fire V100 and Sun Netra X1 boxes, only tulip works.

Don't worry I won't pull from Jeff's tree until this issue is resolved.

#2 lore raw
In reply to Meelis Roos
Quoted 5 lines · Meelis Roos
Quoted 3 lines
Quoted 1 line

- { 0x1282, 0x9102, PCI_ANY_ID, PCI_ANY_ID, 0, 0, DM910X },

applied

Hmm, did you see my yesterdays answer to that patch - that dmfe should first be fixed to work on all cards with this PCI ID? Currenty dmfe fails to work on at least Sun Fire V100 and Sun Netra X1 boxes, only tulip works.

I didn't see that, no... thanks for poking me.

Jeff

#3 lore raw
In reply to Meelis Roos
Quoted 6 lines · Meelis Roos
Quoted 3 lines
Quoted 1 line

- { 0x1282, 0x9102, PCI_ANY_ID, PCI_ANY_ID, 0, 0, DM910X },

applied

Hmm, did you see my yesterdays answer to that patch - that dmfe should first be fixed to work on all cards with this PCI ID? Currenty dmfe fails to work on at least Sun Fire V100 and Sun Netra X1 boxes, only tulip works.

Maybe this tulip_core.c code needs to be applied to dmfe.c?

        if (tulip_uli_dm_quirk(pdev)) {
                csr0 &= ~0x01f100ff;
#if defined(CONFIG_SPARC)
                csr0 = (csr0 & ~0xff00) | 0xe000;
#endif
        }

A zeroed MAC address leads me to believe that dmfe's SROM parsing isn't quite as capable as tulip's, though that's just a guess.

Just checked dmfe with sparse and it reports clean, though looking at the code it could use some cleanups.

Jeff

maintainer
#4 lore raw

From: Jeff Garzik <[email protected]>
Date: Fri, 04 Apr 2008 17:59:56 -0400

Quoted 5 lines

A zeroed MAC address leads me to believe that dmfe's SROM parsing isn't quite as capable as tulip's, though that's just a guess.

Just checked dmfe with sparse and it reports clean, though looking at the code it could use some cleanups.

The sparc64 onboard davicoms don't indicate anything in the SROM area.

Properties such as MAC addresses need to be obtained via openfirmware probing methods.