Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Matthias <M.Drochner@kfa-juelich.de>
Subject: loadable PCI dev driver help wanted
Date: 1996/01/18	[thread overview]
Message-ID: <30FEA510.41C6@kfa-juelich.de> (raw)

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



                 reply	other threads:[~1996-01-18  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox