SW2 support for ISA Memory Devices
This commit is contained in:
@@ -598,6 +598,8 @@ dev->frame_addr = 0xE0000;
|
||||
addr += t;
|
||||
}
|
||||
|
||||
isa_mem_size += dev->total_size - (k >> 10);
|
||||
|
||||
/* If EMS is enabled, use the remainder for EMS. */
|
||||
if (dev->flags & FLAG_EMS) {
|
||||
/* EMS 3.2 cannot have more than 2048KB per board. */
|
||||
@@ -1187,6 +1189,9 @@ isamem_reset(void)
|
||||
{
|
||||
int k, i;
|
||||
|
||||
/* We explicitly set to zero here or bad things happen */
|
||||
isa_mem_size = 0;
|
||||
|
||||
for (i = 0; i < ISAMEM_MAX; i++) {
|
||||
k = isamem_type[i];
|
||||
if (k == 0) continue;
|
||||
|
||||
Reference in New Issue
Block a user