On 1/21/2016 7:09 PM, Tetsuya Mukawa wrote:
> +#define PCI_CONFIG_ADDR(_bus, _device, _function, _offset) ( \
> +     (1 << 31) | ((_bus) & 0xff) << 16 | ((_device) & 0x1f) << 11 | \
> +     ((_function) & 0xf) << 8 | ((_offset) & 0xfc))

(_function) & 0x7 ?

Reply via email to