cvs commit: src/sys/dev/msk if_msk.c

John Baldwin jhb at freebsd.org
Fri Jan 12 02:28:01 PST 2007


On Sunday 07 January 2007 19:19, Pyun YongHyeon wrote:
> yongari     2007-01-08 00:19:53 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/msk          if_msk.c 
>   Log:
>   Initialize legacy SYS_RES_IRQ resources before attempting to use MSI.
>   This fixes legacy SYS_RES_IRQ resource allocation failure when MSI is
>   disabled.
>   
>   Reported by:    rrs
>   Tested by:      rrs

Gah, my bad.  I would prefer to set it down before the 'if (msic == 2...)' so 
all the logic for it is in one place, but anyways, you should remove the 
now-duplicate setting here:

                } else {
                        pci_release_msi(dev);
                        sc->msk_irq_spec = msk_irq_spec_legacy;
                }

-- 
John Baldwin
_______________________________________________
cvs-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe at freebsd.org"


More information about the cvs-src mailing list