Re: [RFC 6/11] virtio_pci: don't use the legacy driver if we find the new PCI capabilities.

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

 



On Sat, 10 Dec 2011 23:18:38 +0200, Sasha Levin <levinsasha928@xxxxxxxxx> wrote:
> On Thu, 2011-12-08 at 21:08 +1030, Rusty Russell wrote:
> > With module option to override.  I assume I can call
> > pci_find_capability() before pci_request_regions? 
> 
> I don't think thats safe.

Actually, a number of drivers do it first thing in probe()
(eg. drivers/char/agp/intel-agp.c).

So I think it's easiest right at the start.  I've changed that.

Thanks,
Rusty.
_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/virtualization


[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux