[PATCH v4 20/24] PCI: Add macros for legacy I/O and memory address space sizes

Krzysztof Wilczyński kwilczynski at kernel.org
Fri Apr 17 20:46:58 AEST 2026


Hello,

> > +/* PCI legacy I/O port and memory address space sizes. */
> > +#define PCI_LEGACY_IO_SIZE	(SZ_64K - 1)
> > +#define PCI_LEGACY_MEM_SIZE	SZ_1M
> > +
> >  extern unsigned int pci_flags;
> >  
> >  static inline void pci_set_flags(int flags) { pci_flags = flags; }
> > 
> 
> Shouldn't this also convert the use in pci-sysfs.c (which you now mixed 
> into the static attrs conversion patch)?

I took care of this in v5.

Thank you!

	Krzysztof


More information about the Linuxppc-dev mailing list