cvs commit: src/sys/dev/pci pci_pci.c

John Baldwin jhb at freebsd.org
Wed May 23 18:09:13 UTC 2007


On Wednesday 23 May 2007 11:31:01 am Andrew Gallatin wrote:
> gallatin    2007-05-23 15:31:01 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/pci          pci_pci.c 
>   Log:
>   Fix a typo in pcib_alloc_msi{x} which resulted in the
>   device's, not the bridge's, softc to be used to check the
>   PCIB_DISABLE_MSI flag.  This resulted in randomly allowing
>   or denying MSI interrupts based on whatever value the driver
>   happened to store at sizeof(device_t) bytes into its softc.
>   
>   I noticed this when I stopped getting MSI interrupts
>   after slighly re-arranging mxge's softc yesterday.

Doh, thanks for fixing!

-- 
John Baldwin


More information about the cvs-src mailing list