Re: [PATCH 1/2] pci: Block config access during BIST

From: Greg KH
Date: Fri Nov 19 2004 - 16:45:26 EST


On Fri, Nov 19, 2004 at 02:23:22PM -0600, brking@xxxxxxxxxx wrote:
> -static inline int pci_read_config_byte(struct pci_dev *dev, int where, u8 *val)
> -{
> - return pci_bus_read_config_byte (dev->bus, dev->devfn, where, val);
> -}

Well, as much as I despise this patch, you should at least get it
correct :)

You need to block the pci_bus_* functions too, otherwise the parts of
the kernel that use them will stomp all over your device, right?

thanks,

greg k-h
-
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/