NET: remove support for Davicom 9102 from the Tulip driver
Subsystems (2)
Meelis Roos
NAKCE> We have two reports that agree the tulip driver doesn't work for CE> the Davicom 9102 (PCI id 1282:9102). The dmfe driver does work CE> and also claims the same PCI ID.
NAK, dmfe does not work on some Sparc64 machines but tulip does.
I happent to have a Sun Fire V100 with 2 Davicom NICs (1282:9102 (rev 31)).
tulip driver works for them, dmfe doesn't. Tried with 2.6.25-rc7, first it
gets MAC addresses all zeroed and second, it only results in Tx timeouts.
This issue was debugged somemonths ago on sparclinux mailing list. DaveM fixed some bugs IIRC but it still does not work.
Sun Netra X1 is a similar Sun system with dmfe's.
Signature · 1 line
Meelis Roos ([email protected])
Quoted 9 lines · Meelis Roos
CE> We have two reports that agree the tulip driver doesn't work for CE> the Davicom 9102 (PCI id 1282:9102). The dmfe driver does work CE> and also claims the same PCI ID.
NAK, dmfe does not work on some Sparc64 machines but tulip does.
I happent to have a Sun Fire V100 with 2 Davicom NICs (1282:9102 (rev 31)). tulip driver works for them, dmfe doesn't. Tried with 2.6.25-rc7, first it gets MAC addresses all zeroed and second, it only results in Tx timeouts.
At the very least, it sounds like some SROM parsing problems on dmfe's part -- assuming a standard SROM when sparc64 provides a more complicated one.
Quoted 2 lines
This issue was debugged somemonths ago on sparclinux mailing list. DaveM fixed some bugs IIRC but it still does not work.
URL to more info?
Overall we need someone to either (a) work on tulip to get it working with popular 9102's, or (b) work on dmfe to get it working on sparc64...
Installers and users will continue to be confused by the present
situation, where the same PCI ID is claimed by two different drivers, and you just sorta haveta "know" which one is right.
Jeff
David Miller
maintainerFrom: Jeff Garzik <[email protected]>
Date: Fri, 04 Apr 2008 17:38:06 -0400
Quoted 14 lines
Quoted 4 lines · Meelis Roos
CE> We have two reports that agree the tulip driver doesn't work for CE> the Davicom 9102 (PCI id 1282:9102). The dmfe driver does work CE> and also claims the same PCI ID.
Quoted 8 lines
NAK, dmfe does not work on some Sparc64 machines but tulip does.
I happent to have a Sun Fire V100 with 2 Davicom NICs (1282:9102 (rev 31)).
tulip driver works for them, dmfe doesn't. Tried with 2.6.25-rc7, first it
gets MAC addresses all zeroed and second, it only results in Tx timeouts.
Quoted 3 lines
At the very least, it sounds like some SROM parsing problems on dmfe's part -- assuming a standard SROM when sparc64 provides a more complicated one.
With the onboard Sparc64 davicoms, the SROM is essentially empty.
Quoted 8 lines · David Miller
From: Jeff Garzik <[email protected]>
Date: Fri, 04 Apr 2008 17:38:06 -0400Quoted 5 lines
Quoted 4 lines · Meelis Roos
CE> We have two reports that agree the tulip driver doesn't work for CE> the Davicom 9102 (PCI id 1282:9102). The dmfe driver does work CE> and also claims the same PCI ID.
Quoted 8 lines
Quoted 6 lines
Quoted 5 lines
NAK, dmfe does not work on some Sparc64 machines but tulip does.
I happent to have a Sun Fire V100 with 2 Davicom NICs (1282:9102 (rev 31)). tulip driver works for them, dmfe doesn't. Tried with 2.6.25-rc7, first it gets MAC addresses all zeroed and second, it only results in Tx timeouts.
At the very least, it sounds like some SROM parsing problems on dmfe's part -- assuming a standard SROM when sparc64 provides a more complicated one.
With the onboard Sparc64 davicoms, the SROM is essentially empty.
In this case, should dmfe be retrieving the MAC address via
addr = of_get_property(dp, "local-mac-address", &len);
as tulip is doing?
One thing that seems quite obvious is that dmfe is missing all the CONFIG_SPARC goodies that tulip has.
Jeff
David Miller
maintainerFrom: Jeff Garzik <[email protected]>
Date: Fri, 04 Apr 2008 18:06:17 -0400
Quoted 5 lines
In this case, should dmfe be retrieving the MAC address via
addr = of_get_property(dp, "local-mac-address", &len);as tulip is doing?
That's right.
Quoted 2 lines
One thing that seems quite obvious is that dmfe is missing all the
CONFIG_SPARCgoodies that tulip has.
Yep.
Quoted 5 lines · Jeff Garzik
Quoted 4 lines · Meelis Roos
CE> We have two reports that agree the tulip driver doesn't work for CE> the Davicom 9102 (PCI id 1282:9102). The dmfe driver does work CE> and also claims the same PCI ID.
NAK, dmfe does not work on some Sparc64 machines but tulip does.
jeff and davem already answered the basic SROM/MAC address issue. Patches to fix this are associated with
http://bugzilla.kernel.org/show_bug.cgi?id=9106
There is another "dmfe" issue reported in:
http://bugzilla.kernel.org/show_bug.cgi?id=9094
But I think this one is related to something newer gcc versions (early 4.2 and current gcc-4.3. I've seen the same behavior with tulip driver on parisc as described in bug #9094.
Quoted 3 lines
Quoted 3 lines
I happent to have a Sun Fire V100 with 2 Davicom NICs (1282:9102 (rev 31)).
tulip driver works for them, dmfe doesn't.
This experience doesn't agree with the bug report.
Meelis, can you please take a look at the bug report and add comments?
Quoted 11 lines
Quoted 2 lines
Tried with 2.6.25-rc7, first it
gets MAC addresses all zeroed and second, it only results in Tx timeouts.At the very least, it sounds like some SROM parsing problems on dmfe's part -- assuming a standard SROM when sparc64 provides a more complicated one.
Quoted 2 lines
This issue was debugged somemonths ago on sparclinux mailing list. DaveM fixed some bugs IIRC but it still does not work.
URL to more info?
http://bugzilla.kernel.org/show_bug.cgi?id=9106
Quoted 2 lines
Overall we need someone to either (a) work on tulip to get it working with popular 9102's, or (b) work on dmfe to get it working on sparc64...
We tried (b) but didn't get it working on V100 previously. Several patches are attached to the bug report.
Quoted 3 lines
Installers and users will continue to be confused by the present situation, where the same PCI ID is claimed by two different drivers, and you just sorta haveta "know" which one is right.
Agreed. But I don't have consistent evidence that one is better than the other. I'm open to reports of evidence for remove specific PCI IDs from either driver.
thanks for adding me to the CC list.
grant
Quoted 10 lines
jeff and davem already answered the basic SROM/MAC address issue. Patches to fix this are associated with
http://bugzilla.kernel.org/show_bug.cgi?id=9106Quoted 3 lines
Quoted 3 lines
I happent to have a Sun Fire V100 with 2 Davicom NICs (1282:9102 (rev 31)).
tulip driver works for them, dmfe doesn't.This experience doesn't agree with the bug report.
Meelis, can you please take a look at the bug report and add comments?
Comments added.
Quoted 2 lines
We tried (b) but didn't get it working on V100 previously. Several patches are attached to the bug report.
There was one patch (for getting the MAC from OpenFirmware) but as people reported that the Tx timeouts still happen, I didn't try it. Any reason to try?
Signature · 1 line
Meelis Roos ([email protected])
Quoted 4 lines · Meelis Roos
Quoted 3 lines
jeff and davem already answered the basic SROM/MAC address issue. Patches to fix this are associated with
http://bugzilla.kernel.org/show_bug.cgi?id=9106
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
I happent to have a Sun Fire V100 with 2 Davicom NICs (1282:9102 (rev 31)).
tulip driver works for them, dmfe doesn't.This experience doesn't agree with the bug report.
Meelis, can you please take a look at the bug report and add comments?Comments added.
thanks!
I saw the comments were added but haven't read them yet.
Quoted 6 lines
Quoted 2 lines
We tried (b) but didn't get it working on V100 previously. Several patches are attached to the bug report.
There was one patch (for getting the MAC from OpenFirmware) but as people reported that the Tx timeouts still happen, I didn't try it. Any reason to try?
Documenting the configuration that does work is the only reason. I don't think pursueing dmfe is worthwhile if in general tulip driver is expected to work.
thanks,
grant
Quoted 3 lines
Signature · 2 lines
-- Meelis Roos ([email protected])