Skip to contentSkip to conversation

dmfe/tulip kernel module poll

DISCUSSION Josip Rodin 3 participants 5 messages Jan 26, 2009 – Mar 14, 2009

lore
Share & tools
lore
#0 lore raw

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

Quoted 30 lines · Brian Thompson

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

Signature · 1 line
     2. That which causes joy or happiness.
#1 lore raw

From: Josip Rodin <[email protected]>
Date: Mon, 26 Jan 2009 10:49:11 +0100

Quoted 26 lines

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

Quoted 22 lines · Brian Thompson

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.

#2 lore raw
In reply to Josip Rodin
Quoted 26 lines · David Miller

From: Josip Rodin <[email protected]>
Date: Mon, 26 Jan 2009 10:49:11 +0100

Quoted 22 lines

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

Quoted 18 lines · Brian Thompson

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?

Quoted 10 lines
Quoted 5 lines
Quoted 5 lines

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

#3 lore raw
In reply to Josip Rodin

From: Brian Thompson <[email protected]>
Date: Fri, 13 Mar 2009 19:25:48 -0400

Quoted 35 lines
Quoted 32 lines · David Miller

From: Josip Rodin <[email protected]>
Date: Mon, 26 Jan 2009 10:49:11 +0100

Quoted 27 lines

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

Quoted 23 lines · Brian Thompson

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.

Quoted 5 lines
Quoted 4 lines

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.

#4 lore raw
In reply to Josip Rodin
Quoted 45 lines · David Miller

From: Brian Thompson <[email protected]>
Date: Fri, 13 Mar 2009 19:25:48 -0400

Quoted 41 lines
Quoted 39 lines · David Miller

From: Josip Rodin <[email protected]>
Date: Mon, 26 Jan 2009 10:49:11 +0100

Quoted 29 lines

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

Quoted 24 lines · Brian Thompson

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.

Quoted 7 lines
Quoted 2 lines

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.