6 * Register a device as the default ISAPnP boot device. This code is
7 * called by the ISAPnP ROM prefix.
9 * Do not move this code to drivers/bus/isapnp.c, because it is
10 * i386-specific, and don't merge it with select_pci.c, because that
11 * would cause linker symbol pollution.
14 void i386_select_isapnp_device ( struct i386_all_regs *regs ) {
16 * PnP BIOS passes card select number in %bx and read port
21 struct bus_loc bus_loc;
22 struct isapnp_loc isapnp_loc;
25 /* Set ISAPnP read port */
26 isapnp_set_read_port ( regs->dx );
28 /* Select ISAPnP bus and specified CSN as first boot device */
29 memset ( &u, 0, sizeof ( u ) );
30 u.isapnp_loc.csn = regs->bx;
31 select_device ( &dev, &isapnp_driver, &u.bus_loc );