cvs commit: src/sys/dev/acpica acpi_pcib_acpi.c acpi_pcib_pci.c src/sys/dev/pci pci.c pci_if.m pci_pci.c pci_private.h pcib_if.m pcib_private.h pcireg.h pcivar.h

John Baldwin jhb at freebsd.org
Mon Nov 13 22:16:02 UTC 2006


On Monday 13 November 2006 16:47, John Baldwin wrote:
> jhb         2006-11-13 21:47:30 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/acpica       acpi_pcib_acpi.c acpi_pcib_pci.c 
>     sys/dev/pci          pci.c pci_if.m pci_pci.c pci_private.h 
>                          pcib_if.m pcib_private.h pcireg.h 
>                          pcivar.h 
>   Log:
>   First cut at MI support for PCI Message Signalled Interrupts (MSI):
>   - Add 3 new functions to the pci_if interface along with suitable wrappers
>     to provide the device driver visible API:

The patches I used for em, bce, and mpt are available at 
http://www.freebsd.org/~jhb/patches/msi_dev.patch

For devices that only support 1 message, the only change is to call 
pci_alloc_msi() and then use rid 1 instead of rid 0 for SYS_RES_IRQ.

-- 
John Baldwin


More information about the cvs-src mailing list