Re: [PATCH v2] Fix breakage of enable_cnt in quirk_resource_alignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 06 Apr 2009 10:24:21 +0900
Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx> wrote:

> This patch fixes breakage of of enable_cnt in
> quirk_resource_alignment.
> 
> Current quirk_resource_alignment calls pci_disable_device.
> pci_disable_device decrements enable_cnt, so that enable_cnt becomes
> -1.
> 
> The patch disables memory decoding, writing command register directly.
> So enable_cnt is not broken.
> 

We may be able to do this more cleanly at some point, but I've applied
this patch for now.  Thanks.

-- 
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux