On Sat, 10 Dec 2011 23:18:38 +0200, Sasha Levin <[email protected]> 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
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Reply via email to