From: Marc L. <Mar...@un...> - 2002-04-05 16:31:01
|
On Fri, 5 Apr 2002 09:43:59 -0600 (CST),=20 frank mori hess <fm...@st...> wrote : Dear Frank, thanks a lot for your quick answer and help. > Marc, >=20 > There are at least 3 different pci codes for ines pci boards, try looki= ng > 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 i= n > the ines package), also I remember the different boards used different You're right. In fact, I tried first their linux-2.2 driver, which had no source code with it. Indeed, the lab machine was running a 2.2 kernel. I then found about linux-gpib, and moved the board to a 2.4 machine for testing since there was apparently no 2.2 driver available. Thus, I did not look at the ines 2.4 driver because I thought there absolutely no source code of the driver available. It looks like there is now only ieksys.o whose source code is not available. > base address indexes for their gpib chip. There will probably also be > some interrupt-related issues depending on what kind of pci chip the bo= ard > you have is using (amcc5920 apparently). OK. I will have a look at their source code and try their 2.4 driver. After a quick look, they seem to do the pci_find_device with the same values as me so that call shoulsd succeed but you are right that they seem to different things with different boards. I guess I need to have a closer look at that. > By the way, the id numbers are given in hex, maybe you entered them > as decimal? I have fallen too often into that trap not to immune now :-) /* #define INES_VENDOR_ID 0x10b5 */ /* #define INES_DEV_ID 0x9050 */ /* #define INES_SUBID 0x107210b5L */ #define INES_VENDOR_ID 0x10e8 #define INES_DEV_ID 0x8259 >=20 > Frank By the way, I have got in touch with INES support this week. Their linux developer is on vacation this week, but should come back to me next week. Do you want me to suggest them that they should help you more ? Marc --=20 _____________________________________________________________ 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 _____________________________________________________________ |