use symbolic constants for 'magic' numbers in pcieportal