Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2006 16:53:23 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        src-committers@freebsd.org
Cc:        cvs-src@freebsd.org, cvs-all@freebsd.org
Subject:   Re: 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
Message-ID:  <200611131653.24403.jhb@freebsd.org>
In-Reply-To: <200611132147.kADLlVok006575@repoman.freebsd.org>
References:  <200611132147.kADLlVok006575@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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