Re: find struct pci_dev from struct net_device

David Woodhouse (dwmw2@infradead.org)
Thu, 13 Sep 2001 10:41:57 +0100


shmulik.hen@intel.com said:
> Take the value of dev->base_addr, mask it's lowest 4 bits, do a scan
> of all PCI net devices and in each PCI device try to match to each of
> the 6 address regs:

We have to assume this isn't a deliberate attempt to mislead, and that you
really do things like this in your own code.

I suspect that whatever chance there was of someone trying to help out some
poor user unfortunate or ignorant enough to use the binary-only modules that
you are working on has just bitten the dust.

--
dwmw2

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