test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1] framework/crb:get FreeBSD pci info
@ 2021-11-24 16:26 Lewei Yang
  2021-11-30  3:30 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Lewei Yang @ 2021-11-24 16:26 UTC (permalink / raw)
  To: dts; +Cc: Lewei Yang

The change of FreeBSD system version will change the display of PCI
info,Now change the script adaptation.

Signed-off-by: Lewei Yang <leweix.yang@intel.com>
---
 framework/crb.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/crb.py b/framework/crb.py
index c9909add..bd4f565d 100755
--- a/framework/crb.py
+++ b/framework/crb.py
@@ -336,7 +336,7 @@ class Crb(object):
         Look for the NIC's information (PCI Id and card type).
         """
         out = self.send_expect("pciconf -l", "# ", alt_session=True)
-        rexp = r"pci0:([\da-f]{1,3}:[\da-f]{1,2}:\d{1}):\s*class=0x020000.*chip=0x([\da-f]{4})8086"
+        rexp = r"pci0:([\da-f]{1,3}:[\da-f]{1,2}:\d{1}):\s*class=0x020000.*0x([\da-f]{4}).*8086"
         pattern = re.compile(rexp)
         match = pattern.findall(out)
 
-- 
2.33.1


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

* RE: [dts][PATCH V1] framework/crb:get FreeBSD pci info
  2021-11-24 16:26 [dts][PATCH V1] framework/crb:get FreeBSD pci info Lewei Yang
@ 2021-11-30  3:30 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2021-11-30  3:30 UTC (permalink / raw)
  To: Yang, LeweiX, dts; +Cc: Yang, LeweiX

> -----Original Message-----
> From: Lewei Yang <leweix.yang@intel.com>
> Sent: 2021年11月25日 0:26
> To: dts@dpdk.org
> Cc: Yang, LeweiX <leweix.yang@intel.com>
> Subject: [dts][PATCH V1] framework/crb:get FreeBSD pci info
> 
> The change of FreeBSD system version will change the display of PCI info,Now
> change the script adaptation.
> 
> Signed-off-by: Lewei Yang <leweix.yang@intel.com>

Applied

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

end of thread, other threads:[~2021-11-30  3:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-24 16:26 [dts][PATCH V1] framework/crb:get FreeBSD pci info Lewei Yang
2021-11-30  3:30 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).