* loadable PCI dev driver help wanted
@ 1996-01-18 5:00 Matthias
0 siblings, 0 replies; only message in thread
From: Matthias @ 1996-01-18 5:00 UTC (permalink / 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-01-18 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-01-18 5:00 loadable PCI dev driver help wanted Matthias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox