From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9fab10367d3a7bb2,start X-Google-Attributes: gidfee84,public From: drochner@zelux6 (Matthias Drochner) Subject: loadable PCI dev driver help wanted Date: 1996/01/18 Message-ID: <4o20oxz72q.fsf@zelux6>#1/1 X-Deja-AN: 135627106 sender: drochner@zelux6 organization: KFA Juelich newsgroups: comp.unix.osf.osf1 I tried to make a dynamically loadable driver for a PCI card on OSF/1 3.2c. At configure time, it calls ldbl_stanza_resolver("mist", "pci", &mistdrv, (caddr_t*)mistcfdata); to become included into the autoconfiguration data structs (as done in the examples). This call always generates a console message "LDBL: Failure to config resolve bus pci0, status = 22" and returns EINVAL. The pci_option definition is: struct pci_option mistcfdata[]={ {0x210, 0x1234, 0x5678, 0,0,0,0,0,0, 1, 1, 0,0,0,0,0,0, "mist", 'C', 0}, {0x210, PCI_VID_INVALID, 0, 0,0,0,0,0,0, 1, 1, 0,0,0,0,0,0, "", '', 0}, }; (modelled after /sys/data/pci_option_data.c) This data structure changed between OSF/1 releases 3.2b and 3.2c. This is the new format (use of the old format caused a crash). What am I doing wrong? best regards Matthias Drochner -- drochner@zelux6.zel.kfa-juelich.de