after r281874. While here, also update it to always write the parent's PCI bus number to the primary bus register.