You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

select_pci.c 472B

12345678910111213141516171819
  1. #include "pci.h"
  2. #include "registers.h"
  3. /*
  4. * Register a device as the default PCI boot device. This code is
  5. * called by the PCI ROM prefix.
  6. *
  7. * Do not move this code to drivers/bus/pci.c, because it is
  8. * i386-specific, and don't merge it with select_isapnp.c, because
  9. * that would cause linker symbol pollution.
  10. *
  11. */
  12. void i386_select_pci_device ( struct i386_all_regs *regs ) {
  13. /*
  14. * PCI BIOS passes busdevfn in %ax
  15. *
  16. */
  17. select_pci_device ( regs->ax );
  18. }