From owner-freebsd-questions Tue May 5 15:10:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA23152 for freebsd-questions-outgoing; Tue, 5 May 1998 15:10:24 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA23139 for ; Tue, 5 May 1998 15:10:15 -0700 (PDT) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id PAA24652; Tue, 5 May 1998 15:00:26 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd024631; Tue May 5 22:00:19 1998 Message-ID: <354F8BEB.446B9B3D@whistle.com> Date: Tue, 05 May 1998 15:00:12 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2.5-RELEASE i386) MIME-Version: 1.0 To: mcgovern@spoon.beta.com CC: questions@FreeBSD.ORG Subject: Re: ISA memory question... References: <199805052021.QAA01434@bmcgover-pc.cisco.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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