[PATCH v2] 8250_pci.c: Update NI specific devices class to multi serial

2019-01-22 Thread Guan Yung Tseng
On, Jan 14, 2019 at 10:10:05PM +0800, Guan Yung Tseng wrote: >> Modified NI devices class to PCI_CLASS_COMMUNICATION_MULTISERIAL. >> The reason of doing this is because all NI multi port serial cards >> use PCI_CLASS_COMMUNICATION_OTHER class and thus fail the >> serial_pci_is_class_communication t

Re: [PATCH v2] 8250_pci.c: Update NI specific devices class to multi serial

2019-01-15 Thread Christoph Hellwig
On Tue, Jan 15, 2019 at 06:10:05PM +0800, Guan Yung Tseng wrote: > +/* > + * NI Serial devices incorrectly identify themselves > + * PCI_CLASS_COMMUNICATION_OTHER, instead of what > + * they really are: PCI_CLASS_COMMUNICATION_MULTISERIAL > + */ > +static int pci_ni_probe(struct pci_dev *dev) > +{

[PATCH v2] 8250_pci.c: Update NI specific devices class to multi serial

2019-01-15 Thread Guan Yung Tseng
Modified NI devices class to PCI_CLASS_COMMUNICATION_MULTISERIAL. The reason of doing this is because all NI multi port serial cards use PCI_CLASS_COMMUNICATION_OTHER class and thus fail the serial_pci_is_class_communication test added in the commit 7d8905d06405 ("serial: 8250_pci: Enable device af