All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: dmfe/tulip kernel module poll
@ 2009-01-26  9:49 Josip Rodin
  2009-03-13 22:45 ` David Miller
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Josip Rodin @ 2009-01-26  9:49 UTC (permalink / raw)
  To: sparclinux


I'm just Cc:'ing this to the sparc kernel mailing list...

On Sun, Jan 25, 2009 at 08:21:56PM -0500, Brian Thompson wrote:
> 
> Hello,
> 
> I'd like to get some feedback as to whether anyone is actually using
> the dmfe Davicom kernel module on sparc for 10/100 ethernet.
> 
> To the best of my knowledge, Sun never manufactured any
> expansion cards that utilize the Davicom chip and the UltraAX-i2
> motherboard (Netra X1 and Sunfire V100) is the only Sun
> motherboard that uses the chip. That particular motherboard
> uses the tulip kernel module though, not the dmfe kernel module.
> 
> Since the PCI ID of the UltraAX-i2's onboard ethernet
> (1282:9102 - Davicom 9102) matches up with both the dmfe
> module and the tulip module, both modules attempt to load and
> end up causing the network interface to malfunction.
> 
> My question is - is anyone actually using the dmfe kernel module
> on sparc and/or would it be ok to set the default to not build the
> dmfe kernel module on sparc?
> 
> I presume that the only scenario where anyone would actually be
> using the dmfe kernel module on sparc would be if they've installed
> a PCI NIC originally intended for x86 machines into their sparc
> machine.
> 
> Any feedback would be greatly appreciated.
> 
> Thanks,
> Brian

-- 
     2. That which causes joy or happiness.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: dmfe/tulip kernel module poll
  2009-01-26  9:49 dmfe/tulip kernel module poll Josip Rodin
@ 2009-03-13 22:45 ` David Miller
  2009-03-13 23:25 ` Brian Thompson
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: David Miller @ 2009-03-13 22:45 UTC (permalink / raw)
  To: sparclinux

From: Josip Rodin <joy@entuzijast.net>
Date: Mon, 26 Jan 2009 10:49:11 +0100

> 
> I'm just Cc:'ing this to the sparc kernel mailing list...
> 
> On Sun, Jan 25, 2009 at 08:21:56PM -0500, Brian Thompson wrote:
> > I'd like to get some feedback as to whether anyone is actually using
> > the dmfe Davicom kernel module on sparc for 10/100 ethernet.
> > 
> > To the best of my knowledge, Sun never manufactured any
> > expansion cards that utilize the Davicom chip and the UltraAX-i2
> > motherboard (Netra X1 and Sunfire V100) is the only Sun
> > motherboard that uses the chip. That particular motherboard
> > uses the tulip kernel module though, not the dmfe kernel module.
> > 
> > Since the PCI ID of the UltraAX-i2's onboard ethernet
> > (1282:9102 - Davicom 9102) matches up with both the dmfe
> > module and the tulip module, both modules attempt to load and
> > end up causing the network interface to malfunction.
> > 
> > My question is - is anyone actually using the dmfe kernel module
> > on sparc and/or would it be ok to set the default to not build the
> > dmfe kernel module on sparc?
> > 
> > I presume that the only scenario where anyone would actually be
> > using the dmfe kernel module on sparc would be if they've installed
> > a PCI NIC originally intended for x86 machines into their sparc
> > machine.

Better would be to simply remove the conflicting device IDs
from the dmfe driver.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: dmfe/tulip kernel module poll
  2009-01-26  9:49 dmfe/tulip kernel module poll Josip Rodin
  2009-03-13 22:45 ` David Miller
@ 2009-03-13 23:25 ` Brian Thompson
  2009-03-13 23:28 ` David Miller
  2009-03-14  0:01 ` Brian Thompson
  3 siblings, 0 replies; 5+ messages in thread
From: Brian Thompson @ 2009-03-13 23:25 UTC (permalink / raw)
  To: sparclinux



David Miller wrote:
> From: Josip Rodin <joy@entuzijast.net>
> Date: Mon, 26 Jan 2009 10:49:11 +0100
>
>   
>> I'm just Cc:'ing this to the sparc kernel mailing list...
>>
>> On Sun, Jan 25, 2009 at 08:21:56PM -0500, Brian Thompson wrote:
>>     
>>> I'd like to get some feedback as to whether anyone is actually using
>>> the dmfe Davicom kernel module on sparc for 10/100 ethernet.
>>>
>>> To the best of my knowledge, Sun never manufactured any
>>> expansion cards that utilize the Davicom chip and the UltraAX-i2
>>> motherboard (Netra X1 and Sunfire V100) is the only Sun
>>> motherboard that uses the chip. That particular motherboard
>>> uses the tulip kernel module though, not the dmfe kernel module.
>>>
>>> Since the PCI ID of the UltraAX-i2's onboard ethernet
>>> (1282:9102 - Davicom 9102) matches up with both the dmfe
>>> module and the tulip module, both modules attempt to load and
>>> end up causing the network interface to malfunction.
>>>
>>> My question is - is anyone actually using the dmfe kernel module
>>> on sparc and/or would it be ok to set the default to not build the
>>> dmfe kernel module on sparc?
>>>
>>> I presume that the only scenario where anyone would actually be
>>> using the dmfe kernel module on sparc would be if they've installed
>>> a PCI NIC originally intended for x86 machines into their sparc
>>> machine.
>>>       
>
> Better would be to simply remove the conflicting device IDs
> from the dmfe driver.
>
>   
Something like the following in dmfe.c? I can test it if it makes sense 
to do so.

-static struct pci_device_id dmfe_pci_tbl[] = {
-         { 0x1282, 0x9132, PCI_ANY_ID, PCI_ANY_ID, 0, 0, PCI_DM9132_ID },
-         { 0x1282, 0x9102, PCI_ANY_ID, PCI_ANY_ID, 0, 0, PCI_DM9102_ID },
-         { 0x1282, 0x9100, PCI_ANY_ID, PCI_ANY_ID, 0, 0, PCI_DM9100_ID },
-         { 0x1282, 0x9009, PCI_ANY_ID, PCI_ANY_ID, 0, 0, PCI_DM9009_ID },
-         { 0, }
- };

+#ifdef sparc
+static struct pci_device_id dmfe_pci_tbl[] = {
+         { 0x1282, 0x9132, PCI_ANY_ID, PCI_ANY_ID, 0, 0, PCI_DM9132_ID },
+         { 0x1282, 0x9100, PCI_ANY_ID, PCI_ANY_ID, 0, 0, PCI_DM9100_ID },
+         { 0x1282, 0x9009, PCI_ANY_ID, PCI_ANY_ID, 0, 0, PCI_DM9009_ID },
+         { 0, }
+ };
+#else
+static struct pci_device_id dmfe_pci_tbl[] = {
+         { 0x1282, 0x9132, PCI_ANY_ID, PCI_ANY_ID, 0, 0, PCI_DM9132_ID },
+         { 0x1282, 0x9102, PCI_ANY_ID, PCI_ANY_ID, 0, 0, PCI_DM9102_ID },
+         { 0x1282, 0x9100, PCI_ANY_ID, PCI_ANY_ID, 0, 0, PCI_DM9100_ID },
+         { 0x1282, 0x9009, PCI_ANY_ID, PCI_ANY_ID, 0, 0, PCI_DM9009_ID },
+         { 0, }
+ };
+#endif



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: dmfe/tulip kernel module poll
  2009-01-26  9:49 dmfe/tulip kernel module poll Josip Rodin
  2009-03-13 22:45 ` David Miller
  2009-03-13 23:25 ` Brian Thompson
@ 2009-03-13 23:28 ` David Miller
  2009-03-14  0:01 ` Brian Thompson
  3 siblings, 0 replies; 5+ messages in thread
From: David Miller @ 2009-03-13 23:28 UTC (permalink / raw)
  To: sparclinux

From: Brian Thompson <brian@eng.wayne.edu>
Date: Fri, 13 Mar 2009 19:25:48 -0400

> 
> 
> David Miller wrote:
> > From: Josip Rodin <joy@entuzijast.net>
> > Date: Mon, 26 Jan 2009 10:49:11 +0100
> >
> >   
> >> I'm just Cc:'ing this to the sparc kernel mailing list...
> >>
> >> On Sun, Jan 25, 2009 at 08:21:56PM -0500, Brian Thompson wrote:
> >>     
> >>> I'd like to get some feedback as to whether anyone is actually using
> >>> the dmfe Davicom kernel module on sparc for 10/100 ethernet.
> >>>
> >>> To the best of my knowledge, Sun never manufactured any
> >>> expansion cards that utilize the Davicom chip and the UltraAX-i2
> >>> motherboard (Netra X1 and Sunfire V100) is the only Sun
> >>> motherboard that uses the chip. That particular motherboard
> >>> uses the tulip kernel module though, not the dmfe kernel module.
> >>>
> >>> Since the PCI ID of the UltraAX-i2's onboard ethernet
> >>> (1282:9102 - Davicom 9102) matches up with both the dmfe
> >>> module and the tulip module, both modules attempt to load and
> >>> end up causing the network interface to malfunction.
> >>>
> >>> My question is - is anyone actually using the dmfe kernel module
> >>> on sparc and/or would it be ok to set the default to not build the
> >>> dmfe kernel module on sparc?
> >>>
> >>> I presume that the only scenario where anyone would actually be
> >>> using the dmfe kernel module on sparc would be if they've installed
> >>> a PCI NIC originally intended for x86 machines into their sparc
> >>> machine.
> >>>       
> >
> > Better would be to simply remove the conflicting device IDs
> > from the dmfe driver.
> >
> >   
> Something like the following in dmfe.c? I can test it if it makes sense to do so.

I mean unconditionally, if all of the IDs are covered by tulip we
should delete the dmfe driver.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: dmfe/tulip kernel module poll
  2009-01-26  9:49 dmfe/tulip kernel module poll Josip Rodin
                   ` (2 preceding siblings ...)
  2009-03-13 23:28 ` David Miller
@ 2009-03-14  0:01 ` Brian Thompson
  3 siblings, 0 replies; 5+ messages in thread
From: Brian Thompson @ 2009-03-14  0:01 UTC (permalink / raw)
  To: sparclinux



David Miller wrote:
> From: Brian Thompson <brian@eng.wayne.edu>
> Date: Fri, 13 Mar 2009 19:25:48 -0400
>
>   
>> David Miller wrote:
>>     
>>> From: Josip Rodin <joy@entuzijast.net>
>>> Date: Mon, 26 Jan 2009 10:49:11 +0100
>>>
>>>   
>>>       
>>>> I'm just Cc:'ing this to the sparc kernel mailing list...
>>>>
>>>> On Sun, Jan 25, 2009 at 08:21:56PM -0500, Brian Thompson wrote:
>>>>     
>>>>         
>>>>> I'd like to get some feedback as to whether anyone is actually using
>>>>> the dmfe Davicom kernel module on sparc for 10/100 ethernet.
>>>>>
>>>>> To the best of my knowledge, Sun never manufactured any
>>>>> expansion cards that utilize the Davicom chip and the UltraAX-i2
>>>>> motherboard (Netra X1 and Sunfire V100) is the only Sun
>>>>> motherboard that uses the chip. That particular motherboard
>>>>> uses the tulip kernel module though, not the dmfe kernel module.
>>>>>
>>>>> Since the PCI ID of the UltraAX-i2's onboard ethernet
>>>>> (1282:9102 - Davicom 9102) matches up with both the dmfe
>>>>> module and the tulip module, both modules attempt to load and
>>>>> end up causing the network interface to malfunction.
>>>>>
>>>>> My question is - is anyone actually using the dmfe kernel module
>>>>> on sparc and/or would it be ok to set the default to not build the
>>>>> dmfe kernel module on sparc?
>>>>>
>>>>> I presume that the only scenario where anyone would actually be
>>>>> using the dmfe kernel module on sparc would be if they've installed
>>>>> a PCI NIC originally intended for x86 machines into their sparc
>>>>> machine.
>>>>>       
>>>>>           
>>> Better would be to simply remove the conflicting device IDs
>>> from the dmfe driver.
>>>
>>>   
>>>       
>> Something like the following in dmfe.c? I can test it if it makes sense to do so.
>>     
>
> I mean unconditionally, if all of the IDs are covered by tulip we
> should delete the dmfe driver.
>
>   

The dmfe driver covers a total of four PCI IDs, two of which are also
covered by tulip and the other two unique to dmfe.

If I understand the issue correctly though, there are situations outside
of sparc (DEC Alpha?) where dmfe is the preferred/proper driver
for one or both of the IDs that overlap, but I can't say first hand.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-03-14  0:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-26  9:49 dmfe/tulip kernel module poll Josip Rodin
2009-03-13 22:45 ` David Miller
2009-03-13 23:25 ` Brian Thompson
2009-03-13 23:28 ` David Miller
2009-03-14  0:01 ` Brian Thompson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.