public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.5.20 tulip bogosities
@ 2002-06-06 16:24 Mikael Pettersson
  2002-06-06 18:31 ` Jeff Garzik
  2002-06-07 17:04 ` Thunder from the hill
  0 siblings, 2 replies; 7+ messages in thread
From: Mikael Pettersson @ 2002-06-06 16:24 UTC (permalink / raw)
  To: jgarzik; +Cc: linux-kernel

With 2.5.19 tulip says the following for my 21143:

Linux Tulip driver version 1.1.13 (May 11, 2002)
PCI: Found IRQ 5 for device 02:0a.0
tulip0:  EEPROM default media type Autosense.
tulip0:  Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
tulip0:  MII transceiver #1 config 3000 status 782d advertising 01e1.
eth0: Digital DS21143 Tulip rev 65 at 0xd800, 00:40:C7:99:3A:5B, IRQ 5.

But 2.5.20 tulip now spews the following and then misidentifies
the NIC as a 21140:

Linux Tulip driver version 1.1.13 (May 11, 2002)
PCI: Found IRQ 5 for device 02:0a.0
tulip0:  EEPROM default media type Autosense.
tulip0:  Index #0 - Media 100baseTx (#3) described by a 21140 non-MII (0) block.
tulip0:  Index #1 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
...
[136 lines deleted]
...
tulip0:  Index #139 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
tulip0:  Index #140 - Media 10baseT (#0) described by a 21140 non-MII (0) block.
eth%d:  Invalid media table selection 255.
tulip0:  MII transceiver #1 config 3000 status 782d advertising 01e1.
eth0: Digital DS21140 Tulip rev 65 at 0xd800, 00:40:C7:99:3A:5B, IRQ 5.

Also note the obviously broken "eth%d" printk format string.

/Mikael

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: 2.5.20 tulip bogosities
@ 2002-06-06 20:26 Mikael Pettersson
  0 siblings, 0 replies; 7+ messages in thread
From: Mikael Pettersson @ 2002-06-06 20:26 UTC (permalink / raw)
  To: jgarzik, mochel; +Cc: linux-kernel

On Thu, 6 Jun 2002 11:41:55 -0700 (PDT), Patrick Mochel wrote:
>> Run 2.5.19 with the 2.5.20 tulip.  Just copy drivers/net/tulip/* from 
>> 2.5.20 into 2.5.19.
>> 
>> Nothing changed in 2.5.20 tulip that should cause that, AFAICS.  So I 
>> want to narrow down the problem before looking further.
>
>There was a bug in the PCI code that only passed the first device ID the 
>driver supported to the driver's probe callback. It caused a few other 
>oddities. A patch was posted to the list:
>
>http://marc.theaimsgroup.com/?l=linux-kernel&m=102316813812289&w=2
>
>and is now in Linus' tree. It should fix the problem, if you get a chance 
>to test it...
>
>	-pat

The patch Pat refers to above fixed my tulip problem in 2.5.20.

For completeness I also tested 2.5.19 with 2.5.20's tulip code,
and it worked fine, as expected.

Thanks,

/Mikael

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

end of thread, other threads:[~2002-06-07 17:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-06 16:24 2.5.20 tulip bogosities Mikael Pettersson
2002-06-06 18:31 ` Jeff Garzik
2002-06-06 18:41   ` Patrick Mochel
2002-06-07 12:08     ` Alessandro Suardi
2002-06-07 17:04 ` Thunder from the hill
2002-06-07 17:17   ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2002-06-06 20:26 Mikael Pettersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox