Re: [PATCH] r8169: Add new device ID support

5 messages, 3 authors, 2018-10-25 · open the first message on its own page

Re: [PATCH] r8169: Add new device ID support

From: David Miller <davem@davemloft.net>
Date: 2018-10-24 11:21:56

From: Shawn Lin <shawn.lin@rock-chips.com>
Date: Wed, 24 Oct 2018 09:46:47 +0800
It's found my r8169 ethernet card at hand has a device ID
of 0x0000 which wasn't on the list of rtl8169_pci_tbl. Add
a new entry to make it work:
 ...
01:00.0 Class 0200: 10ec:0000
I don't know about this.

A value of zero could mean the device is mis-responding to
PCI config space requests or something like that.

Re: [PATCH] r8169: Add new device ID support

From: David Miller <davem@davemloft.net>
Date: 2018-10-24 14:21:20

From: Shawn Lin <shawn.lin@rock-chips.com>
Date: Wed, 24 Oct 2018 13:48:55 +0800
Hi David,

On 2018/10/24 10:19, David Miller wrote:
quoted
From: Shawn Lin <shawn.lin@rock-chips.com>
Date: Wed, 24 Oct 2018 09:46:47 +0800
quoted
It's found my r8169 ethernet card at hand has a device ID
of 0x0000 which wasn't on the list of rtl8169_pci_tbl. Add
a new entry to make it work:
  ...
quoted
01:00.0 Class 0200: 10ec:0000
I don't know about this.
A value of zero could mean the device is mis-responding to
PCI config space requests or something like that.
It was working fine on my retired Windows XP home PC with same devcice
ID listed, so I guess r8169 driver for windows system knows 0x0000 is
also valid.
It is also possible the device comes up in a different state.

Under windows does it show with that device ID of zero?

Re: [PATCH] r8169: Add new device ID support

From: Shawn Lin <shawn.lin@rock-chips.com>
Date: 2018-10-24 14:23:09

Hi David,

On 2018/10/24 10:19, David Miller wrote:
From: Shawn Lin <shawn.lin@rock-chips.com>
Date: Wed, 24 Oct 2018 09:46:47 +0800
quoted
It's found my r8169 ethernet card at hand has a device ID
of 0x0000 which wasn't on the list of rtl8169_pci_tbl. Add
a new entry to make it work:
  ...
quoted
01:00.0 Class 0200: 10ec:0000
I don't know about this.

A value of zero could mean the device is mis-responding to
PCI config space requests or something like that.
It was working fine on my retired Windows XP home PC with same devcice
ID listed, so I guess r8169 driver for windows system knows 0x0000 is
also valid.

Re: [PATCH] r8169: Add new device ID support

From: Shawn Lin <shawn.lin@rock-chips.com>
Date: 2018-10-24 14:56:25

On 2018/10/24 13:54, David Miller wrote:
From: Shawn Lin <shawn.lin@rock-chips.com>
Date: Wed, 24 Oct 2018 13:48:55 +0800
quoted
Hi David,

On 2018/10/24 10:19, David Miller wrote:
quoted
From: Shawn Lin <shawn.lin@rock-chips.com>
Date: Wed, 24 Oct 2018 09:46:47 +0800
quoted
It's found my r8169 ethernet card at hand has a device ID
of 0x0000 which wasn't on the list of rtl8169_pci_tbl. Add
a new entry to make it work:
   ...
quoted
01:00.0 Class 0200: 10ec:0000
I don't know about this.
A value of zero could mean the device is mis-responding to
PCI config space requests or something like that.
It was working fine on my retired Windows XP home PC with same devcice
ID listed, so I guess r8169 driver for windows system knows 0x0000 is
also valid.
It is also possible the device comes up in a different state.

Under windows does it show with that device ID of zero?
yup. More precisely, I checked how BIOS enumerate it by PCIe analyzer
and see it does report 0x0000 as device ID.

Re: [PATCH] r8169: Add new device ID support

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2018-10-25 00:15:56

On Wed, 24 Oct 2018 14:29:34 +0800
Shawn Lin [off-list ref] wrote:
On 2018/10/24 13:54, David Miller wrote:
quoted
From: Shawn Lin <shawn.lin@rock-chips.com>
Date: Wed, 24 Oct 2018 13:48:55 +0800
  
quoted
Hi David,

On 2018/10/24 10:19, David Miller wrote:  
quoted
From: Shawn Lin <shawn.lin@rock-chips.com>
Date: Wed, 24 Oct 2018 09:46:47 +0800
 
quoted
It's found my r8169 ethernet card at hand has a device ID
of 0x0000 which wasn't on the list of rtl8169_pci_tbl. Add
a new entry to make it work:  
   ...  
quoted
01:00.0 Class 0200: 10ec:0000  
I don't know about this.
A value of zero could mean the device is mis-responding to
PCI config space requests or something like that.  
It was working fine on my retired Windows XP home PC with same devcice
ID listed, so I guess r8169 driver for windows system knows 0x0000 is
also valid.  
It is also possible the device comes up in a different state.

Under windows does it show with that device ID of zero?  
yup. More precisely, I checked how BIOS enumerate it by PCIe analyzer
and see it does report 0x0000 as device ID.
quoted

  
Look at device manager properties of the device in Windows?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help