Re: ISA memory space on != ia32

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Wed May 10 2000 - 17:07:19 EST


Geert Uytterhoeven wrote:
> 1. How to allocate ISA memory space?
>
> Some drivers do
>
> request_mem_region(0xA0000, 65535, ...)
>
> to mark ISA memory space busy, but this is not guaranteed to work on non-PC
> platforms because the VGA memory is not necessarily located at address
> 0xA0000 is (PCI) memory space. I think this justifies the addition of
>
> request_isa_region(start,n,name)
> release_isa_region(start,n)

See my other message on this subject -- request_xxx are really not
portable. Creating request_isa_region means you are overlapping
request_mem_region space on X86.

However... it is easiest enough to #define request_isa_region on X86
so I don't have a problem with this.

> 2. How to map ISA memory space?

> So we may need more general functions for mapping (parts of) ISA memory
> space:
>
> isa_ioremap(offset, size)
> isa_iounmap(addr)

Agreed, check out this message from Richard Henderson too, requesting
pci_ioremap:
http://www.uwsg.iu.edu/hypermail/linux/kernel/9908.0/0433.html

        Jeff

-- 
Jeff Garzik              | ILOVEYOU, Linux.
Building 1024            |
MandrakeSoft, Inc.       |

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:16 EST