Subject: Re: is mmap on /dev/mem broken on sparc64?
To: None <port-sparc64@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: port-sparc64
Date: 03/12/2005 22:30:15
In article <20050312215700.GA7098@endersgame.net>,
	Sean Davis <dive-nb@endersgame.net> writes:
> Okay, I've tried about a million variations on this code... no luck with any
> of them. Basically, I'm trying to mmap a specific region of memory with the
> eventual goal of getting a ROM dump from an Adaptec 2940UW.

It looks like mem(4) does *not* support mmap() under NetBSD-sparc64.
Try using read(2) instead.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/