[PATCH] Add MSI support to puc(9)
Ryan Stone
rysto32 at gmail.com
Tue Mar 11 21:33:34 UTC 2014
On Tue, Mar 11, 2014 at 5:22 PM, John Baldwin <jhb at freebsd.org> wrote:
> This generally looks good, but I don't really like abusing sc_irid as the
> count parameter. I would use a standalone count and only set sc_irid to 1 if
> it works:
>
> count = 1;
> if (pci_alloc_msi(dev, &count) == 0) {
> sc->sc_msi = 1;
> sc->sc_irid = 1;
> }
I've updated the patch again. I should be able to test it on hardware
with MSI support tomorrow morning.
More information about the freebsd-hackers
mailing list