Re: [PATCH] add pci revision id to struct pci_dev

From: Conke Hu
Date: Mon Nov 06 2006 - 09:10:49 EST


On 11/6/06, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
Ar Llu, 2006-11-06 am 20:40 +0800, ysgrifennodd Conke Hu:
> Hi all,
> PCI revision id had better be added to struct pci_dev and
> initialized in pci_scan_device.

You can read the revision any time you like, we don't need to cache a
copy as we don't reference it very often



I've searched the kernel soruce code and it seems that the revision id
is widely used in pci drivers.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/