Re: [-next 1/5] PCI: Add the pci_is_vga() helper

2023-10-06 Thread Maciej W. Rozycki
On Fri, 6 Oct 2023, Sui Jingfeng wrote: > > I think this makes sense per the spec, but there's always a risk of > > breaking something, so it's nice if the change actually *fixes* > > something to make that risk worthwhile. > > > Maciej mentioned that PCI_CLASS_NOT_DEFINED_VGA device should also

Re: [-next 1/5] PCI: Add the pci_is_vga() helper

2023-10-06 Thread Sui Jingfeng
Hi, On 2023/10/6 06:51, Bjorn Helgaas wrote: On Wed, Aug 30, 2023 at 07:15:28PM +0800, Sui Jingfeng wrote: From: Sui Jingfeng The PCI code and ID assignment specification defined four types of display controllers for the display base class(03h), and the devices with 0x00h sub-class code are

Re: [-next 1/5] PCI: Add the pci_is_vga() helper

2023-10-05 Thread Bjorn Helgaas
On Wed, Aug 30, 2023 at 07:15:28PM +0800, Sui Jingfeng wrote: > From: Sui Jingfeng > > The PCI code and ID assignment specification defined four types of > display controllers for the display base class(03h), and the devices > with 0x00h sub-class code are VGA devices. VGA devices with programmin

[-next 1/5] PCI: Add the pci_is_vga() helper

2023-08-30 Thread Sui Jingfeng
From: Sui Jingfeng The PCI code and ID assignment specification defined four types of display controllers for the display base class(03h), and the devices with 0x00h sub-class code are VGA devices. VGA devices with programming interface 0x00 is VGA-compatible, VGA devices with programming interfa