Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 May 1998 15:00:12 -0700
From:      Julian Elischer <julian@whistle.com>
To:        mcgovern@spoon.beta.com
Cc:        questions@FreeBSD.ORG
Subject:   Re: ISA memory question...
Message-ID:  <354F8BEB.446B9B3D@whistle.com>
References:  <199805052021.QAA01434@bmcgover-pc.cisco.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Brian McGovern wrote:
> 
> In my config file, I have a device that is configured as follows:
> 
> device mica0 at isa? port 0x310 tty irq5 iomem 0xd0000 iosiz 65536 vector
>         micaintr
> 
> Yes, its a custom device driver...
> 
> Anyhow, when in the driver, I see the memory as being at (pointer location)
> 0xf00d0000 (probe reports it at 0xd0000). Is this correct, or is there
> additional translations that have to get done to pointers? The reason I'm
> asking is that the memory is coming back as all-bits-on, even after I try
> to place a bit-pattern in, or zero-ize it, which smells to me like I'm working
> with a memory region that really isn't mapped there. However, I don't get
> seg faults, or other errors, so there isn't a "hole".
> 
> Comments? doof-slaps? Anyone?


the address you see there is the address of the kernel mapped version of
your physical  memory.. it does "what you want"
It's  a hack but it works for you..

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?354F8BEB.446B9B3D>