RE: [PATCH]2.6.7 MSI-X Update

From: Nguyen, Tom L
Date: Wed Jun 23 2004 - 12:03:27 EST


On Tuesday, June 22, 2004 Roland Dreier wrote:
>This looks good, a definite improvement over what's currently in the
>kernel. I do have one question about the whole msi.c file (and this
>applies to the code that's already in the tree, too). Why is config
>space being accessed via calls like
>
> dev->bus->ops->read(dev->bus, dev->devfn, ... )
>
>instead of just calling
>
> pci_read_config_word(dev, ... )
>
>The only difference seems to be that MSI is bypassing the locking in
>access.c. Is there some reason for this?

I think that the locking in access.c is not necessary. But I agree
with you that using pci_read_config_word() would be cleaner.

Thanks,
Long


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