[rt2x00-users] [PATCH 2/8] rt2x00: set pci mwi

Henning Heinold heinold at inf.fu-berlin.de
Thu Nov 29 20:04:36 AEDT 2012


On Wed, Nov 28, 2012 at 08:03:57PM +0200, Daniel Golle wrote:
> Fixes https://dev.openwrt.org/ticket/6538
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I think upstream does not accept such commit message, if the patch
is really needed.


> 
> diff --git a/drivers/net/wireless/rt2x00/rt2x00pci.c b/drivers/net/wireless/rt2x00/rt2x00pci.c
> index fa20add..0e0e8f2 100644
> --- a/drivers/net/wireless/rt2x00/rt2x00pci.c
> +++ b/drivers/net/wireless/rt2x00/rt2x00pci.c
> @@ -273,8 +273,10 @@ int rt2x00pci_probe(struct pci_dev *pci_dev, const struct rt2x00_ops *ops)
>  
>  	pci_set_master(pci_dev);
>  
> +#ifdef CONFIG_PCI_SET_MWI
>  	if (pci_set_mwi(pci_dev))
>  		ERROR_PROBE("MWI not available.\n");
> +#endif
>  
>  	if (dma_set_mask(&pci_dev->dev, DMA_BIT_MASK(32))) {
>  		ERROR_PROBE("PCI DMA not supported.\n");
> -- 
> 1.8.0.1

Bye Henning




More information about the users mailing list