Re: [PATCH v2 02/11] PCI: Add the pci_get_class_masked() helper

2023-08-11 Thread Ilpo Järvinen
On Thu, 10 Aug 2023, suijingfeng wrote: > Hi, > > > On 2023/8/9 22:01, Ilpo Järvinen wrote: > > On Wed, 9 Aug 2023, Sui Jingfeng wrote: > > > > > From: Sui Jingfeng > > > > > > Because there is no good way to get the mask member used to searching for > > > devices that conform to a specific

Re: [PATCH v2 02/11] PCI: Add the pci_get_class_masked() helper

2023-08-10 Thread suijingfeng
Hi, On 2023/8/9 22:01, Ilpo Järvinen wrote: On Wed, 9 Aug 2023, Sui Jingfeng wrote: From: Sui Jingfeng Because there is no good way to get the mask member used to searching for devices that conform to a specific PCI class code, an application needs to process all PCI display devices can

Re: [PATCH v2 02/11] PCI: Add the pci_get_class_masked() helper

2023-08-10 Thread Ilpo Järvinen
On Wed, 9 Aug 2023, Sui Jingfeng wrote: > From: Sui Jingfeng > > Because there is no good way to get the mask member used to searching for > devices that conform to a specific PCI class code, an application needs to > process all PCI display devices can achieve its goal as follows: This is

[PATCH v2 02/11] PCI: Add the pci_get_class_masked() helper

2023-08-08 Thread Sui Jingfeng
From: Sui Jingfeng Because there is no good way to get the mask member used to searching for devices that conform to a specific PCI class code, an application needs to process all PCI display devices can achieve its goal as follows: pdev = NULL; do { pdev =