Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Dec 2011 20:56:39 -0500
From:      <lixin.pang@emc.com>
To:        <freebsd-drivers@freebsd.org>
Subject:   pci_alloc_msi error
Message-ID:  <04C45E3CCE5E1B46AE8A29F585F6743A0221EE4B19@MX32A.corp.emc.com>

next in thread | raw e-mail | index | archive | help
I'm writing a PCI device driver for freebsd 7.3.  In the driver attach func=
tion,

pci_enable_busmaster(dev) returns 0,

pci_msi_count(dev) returns 1,

however, error =3D pci_alloc_msi(dev, &msi) failed with error =3D=3D 6 (dev=
ice not configured).

Am I missing any steps before calling pci_alloc_msi?

Thanks

Lixin




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?04C45E3CCE5E1B46AE8A29F585F6743A0221EE4B19>