Re: [PATCH] Hamachi not doing pci_enable before reading resources

Alan Cox (alan@redhat.com)
Wed, 7 Feb 2001 15:42:20 -0500 (EST)


> I stand by my statement. PCI devices that require resources are
> required to provide read/write registers indicating these resources
> whether or not the enable bits are set. This is mandatory.

And the assignment of those resources is done by pci_enable_device. So
looking at the irq data or the BAR assignment until pci_enable_device
has done its work doesnt tell you anything meaningful

It doesnt just flip the IO and MEM bits

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/