Re: [PATCH 2/2] vgacon: use request_region(), not request_resource(), to set BUSY

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

 



On Tuesday, May 18, 2010 04:06:28 pm Jesse Barnes wrote:
> On Tue, 18 May 2010 14:56:27 -0700
> "H. Peter Anvin" <hpa@xxxxxxxxx> wrote:
> 
> > 
> > Drivers normally use request_region() to mark the region busy so it won't
> > be used by anybody else.  Previously, we used request_resource(), which
> > doesn't mark the VGA regions busy.
> > 
> > Signed-off-by: Bjorn Helgaas <bjorn.helgaas@xxxxxx>
> 
> Thanks for the bounce, applied.

I've forgotten exactly where I was at with this, but I thought I
convinced myself that making vgacon use request_region() would
break something.

My preference would be to apply only the first patch, which just
sets the IORESOURCE_TYPE bit.

Bjorn
--
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