Messages in this thread | ![/](/images/icornerl.gif) | | Subject | RE: PCI question | Date | Fri, 28 Mar 2003 15:40:14 -0600 | From | "Cameron, Steve" <> |
| |
I wrote: > Is it possible for a driver to know the size of each > the BARs which struct pci_dev->resource[x].start corresponds with? [...] > drivers/pci/pci.c:read_pci_bases() looks like it tests > to see if BARs are 32 or 64 bit, but does not save this > information in pci_dev->resource[x],[...]
Duh! Now I see where it saves it in resource[x]->flags... The low bits tell me this information. (Sorry about the noise.)
-- steve - 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/
| ![\](/images/icornerr.gif) |