Re: [PATCH] PCI: move cfg space size (256/4096) macros to pci_regs.h

2016-11-11 Thread Wang Sheng-Hui
ci"; "kvm"; "linux-kernel"; Subject: Re: [PATCH] PCI: move cfg space size (256/4096) macros to pci_regs.h On Thu, Sep 22, 2016 at 09:05:46AM +0800, Wang Sheng-Hui wrote: > This is a cleanup that moves PCI configuration space size > macros (PCI_CFG_SPACE_SIZE an

Re: [PATCH] PCI: move cfg space size (256/4096) macros to pci_regs.h

2016-11-11 Thread Bjorn Helgaas
On Thu, Sep 22, 2016 at 09:05:46AM +0800, Wang Sheng-Hui wrote: > This is a cleanup that moves PCI configuration space size > macros (PCI_CFG_SPACE_SIZE and PCI_CFG_SPACE_EXP_SIZE) from > drivers/pci/pci.h to include/uapi/linux/pci_regs.h > > So that the macros can be used by more drivers and elim

[PATCH] PCI: move cfg space size (256/4096) macros to pci_regs.h

2016-09-21 Thread Wang Sheng-Hui
This is a cleanup that moves PCI configuration space size macros (PCI_CFG_SPACE_SIZE and PCI_CFG_SPACE_EXP_SIZE) from drivers/pci/pci.h to include/uapi/linux/pci_regs.h So that the macros can be used by more drivers and eliminate potential duplicate definition. Signed-off-by: Wang Sheng-Hui ---