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_isapnp.c 541B

1234567891011121314151617181920
  1. #include "isapnp.h"
  2. #include "registers.h"
  3. /*
  4. * Register a device as the default ISAPnP boot device. This code is
  5. * called by the ISAPnP ROM prefix.
  6. *
  7. * Do not move this code to drivers/bus/isapnp.c, because it is
  8. * i386-specific, and don't merge it with select_pci.c, because that
  9. * would cause linker symbol pollution.
  10. *
  11. */
  12. void i386_select_isapnp_device ( struct i386_all_regs *regs ) {
  13. /*
  14. * PnP BIOS passes card select number in %bx and read port
  15. * address in %dx.
  16. *
  17. */
  18. select_isapnp_device ( regs->dx, regs->bx );
  19. }