From: frank m. h. <fm...@st...> - 2002-04-05 15:44:09
|
Marc, There are at least 3 different pci codes for ines pci boards, try looking through the driver provided by ines. There are a few source code files, and I remember the pci ids are listed in one of them (driver/ie_pci.c in the ines package), also I remember the different boards used different base address indexes for their gpib chip. There will probably also be some interrupt-related issues depending on what kind of pci chip the board you have is using (amcc5920 apparently). By the way, the id numbers are given in hex, maybe you entered them as decimal? Frank On 5 Apr 2002, Marc Lefranc wrote: > On 05 Apr 2002 16:59:08 +0200, > Marc Lefranc <Mar...@un...> wrote : > > Looking in driver/ines/ines_init.c, I see that the init code looks for > > a board that has vendor_id and device_id INES_VENDOR_ID and > > INES_DEV_ID, but my Ines board does not advertise itself as such : > > > > /sbin/lspci -vv : > > > > 00:0b.0 PIC: Applied Micro Circuits Corporation: Unknown device 8507 (p= rog-if 00 [8259]) > [...] > > I will try to replace the INES_VENDOR_ID and INES_DEV_ID with the > > values obtained with lspci and see what happens. > > Well, this didn't help : I still get the same error message... > > I am quite surprised that pci_find_device does not find the vendor and > device id listed by lspci ?? > > Marc > > If that helps, here is the output ls lspci -vvx : > > 00:0b.0 PIC: Applied Micro Circuits Corporation: Unknown device 8507 (pro= g-if 00 [8259]) > =09Subsystem: Applied Micro Circuits Corporation: Unknown device 1072 > =09Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- St= epping- SERR- FastB2B- > =09Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=3Dmedium >TAbort- <TA= bort- <MAbort- >SERR- <PERR- > =09Interrupt: pin A routed to IRQ 5 > =09Region 0: I/O ports at e400 [size=3D128] > =09Region 1: I/O ports at e800 [size=3D32] > 00: e8 10 07 85 03 00 80 02 00 00 00 08 00 00 00 00 > 10: 01 e4 00 00 01 e8 00 00 00 00 00 00 00 00 00 00 > 20: 00 00 00 00 00 00 00 00 00 00 00 00 e8 10 72 10 > 30: 00 00 00 00 00 00 00 00 00 00 00 00 05 01 00 00 > > > > -- > _____________________________________________________________ > Marc Lefranc, Charg=E9 de Recherche au CNRS > Laboratoire de Physique des Lasers, Atomes, Mol=E9cules > Bat P5, UFR de Physique > Universit=E9 des Sciences et Technologies de Lille > F-59655 Villeneuve d'Ascq CEDEX (FRANCE) > e-mail: Mar...@un... > Tel : +33 (0)3 20 33 64 50 ; FAX : +33 (0)3 20 33 70 20 > _____________________________________________________________ > > _______________________________________________ > Linux-gpib-general mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-gpib-general > |