Browse Source

Add ISA_PROBE_ADDRS list.

tags/v0.9.3
Michael Brown 19 years ago
parent
commit
f25383f4c4
1 changed files with 18 additions and 0 deletions
  1. 18
    0
      src/core/config.c

+ 18
- 0
src/core/config.c View File

@@ -110,6 +110,7 @@ void print_config ( void ) {
110 110
  * At least one of the CONSOLE_xxx has to be set.  CONSOLE_DUAL sets
111 111
  * both CONSOLE_FIRMWARE and CONSOLE_SERIAL for legacy compatibility.
112 112
  * If no CONSOLE_xxx is set, CONSOLE_FIRMWARE is assumed.
113
+ *
113 114
  */
114 115
 
115 116
 #ifdef CONSOLE_CRT
@@ -149,8 +150,25 @@ REQUIRE_OBJECT ( pc_kbd );
149 150
 
150 151
 /*
151 152
  * Drag in relocate.o if required
153
+ *
152 154
  */
153 155
 
154 156
 #ifndef NORELOCATE
155 157
 REQUIRE_OBJECT ( relocate );
156 158
 #endif
159
+
160
+/*
161
+ * Allow ISA probe address list to be overridden
162
+ *
163
+ */
164
+#include "isa.h"
165
+#ifndef ISA_PROBE_ADDRS
166
+#define ISA_PROBE_ADDRS
167
+#endif
168
+
169
+isa_probe_addr_t isa_extra_probe_addrs[] = {
170
+	ISA_PROBE_ADDRS
171
+};
172
+
173
+unsigned int isa_extra_probe_addr_count
174
+      = sizeof ( isa_extra_probe_addrs ) / sizeof ( isa_extra_probe_addrs[0] );

Loading…
Cancel
Save