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