From: dave p. <dpe...@gm...> - 2023-08-29 13:05:10
|
Hi, There were no ines related changes between 4.3.3 and 4.3.4 so the problem might be elsewhere. Please send the gpib related dmesg output. On Tue, 29 Aug 2023 at 09:19, <tn...@gm...> wrote: > Hello, > > Since version 4.3.3, I am having problems with an INES GPIB-PCI board in > Debian 11.7 (gcc 10.2.1). > The GPIB communication works fine in ver. 4.3.3, but in all the versions > above it (4.3.4 to 4.3.6) the board is unresponsive. > The required drivers are nec7210 and ines, of which the first is unchanged > (hence OK). As for ines > (linux-gpib-4.3.6/linux-gpib-kernel-4.3.6/drivers/gpib/ines), there are > some changes from ver. 4.3.3 (working) to the following ones (not working) > - see below. > > Please check the modified code and, if possible, make it work again also > in versions 4.3.4+ > > =========================== > > The output of lspci -vv is: > > 05:01.0 Communication controller: Advantech Co., Ltd. INES GPIB-PCI > Subsystem: Advantech Co., Ltd. INES GPIB-PCI > Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- > ParErr- Stepping- SERR- FastB2B- DisINTx- > Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- INTx- > Interrupt: pin A routed to IRQ 21 > Region 0: Memory at df014000 (32-bit, non-prefetchable) [size=16K] > Region 1: I/O ports at b100 [size=32] > Kernel modules: ines_gpib > > > > $ diff > linux-gpib-4.3.6/linux-gpib-kernel-4.3.6/drivers/gpib/ines/ines_cs.c > linux-gpib-4.3.3/linux-gpib-kernel-4.3.3/drivers/gpib/ines/ines_cs.c > > 294c294 > < .name = "ines_gpib_cs", > --- > > .drv = { .name = "ines_gpib_cs", }, > > > > $ diff > linux-gpib-4.3.6/linux-gpib-kernel-4.3.6/drivers/gpib/ines/ines_init.c > linux-gpib-4.3.3/linux-gpib-kernel-4.3.3/drivers/gpib/ines/ines_init.c > > 675,684d674 > < static int ines_pci_probe(struct pci_dev *dev, const struct > pci_device_id *id) { > < return 0; > < } > < > < static struct pci_driver ines_pci_driver = { > < .name = "ines_gpib", > < .id_table = ines_pci_table, > < .probe = &ines_pci_probe > < }; > < > 689,694d678 > < err = pci_register_driver(&ines_pci_driver); > < if (err) { > < printk("ines_gpib: pci_driver_register failed!\n"); > < return err; > < } > < > 723,724d706 > < > < pci_unregister_driver(&ines_pci_driver); > > > > _______________________________________________ > Linux-gpib-general mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-gpib-general > |