From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,3249900931dc7f88,start X-Google-Attributes: gid1164f8,public From: Matthias Subject: loadable PCI dev driver help wanted Date: 1996/01/18 Message-ID: <30FEA510.41C6@kfa-juelich.de>#1/1 X-Deja-AN: 135745650 organization: Forschungszentrum Juelich GmbH content-type: text/plain; charset=us-ascii mime-version: 1.0 newsgroups: comp.sys.dec x-mailer: Mozilla 2.0b5 (X11; I; OSF1 V3.2 alpha) 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