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

From: Richard B. Johnson (root@chaos.analogic.com)
Date: Wed Feb 07 2001 - 15:30:07 EST


On Wed, 7 Feb 2001, Jeff Garzik wrote:

> "Richard B. Johnson" wrote:
> > A PCI device does not and should not be enabled to probe for resources!
>
> Some PCI devices do not -have- resources until pci_enable_device() is
> called, hence the rule.
>

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.

Cheers,
Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.

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



This archive was generated by hypermail 2b29 : Wed Feb 07 2001 - 21:00:27 EST