Revert "modify function check_pcibios"

This reverts commit 1e325e2b66d1d225600d6701cce65d62d10cc678.