Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Dec 1998 16:49:11 -0600
From:      Chris Ficklin <Chris_Ficklin@serengeti.com>
To:        freebsd-hardware@FreeBSD.ORG
Subject:   accessing PCI memory under 2.2.2
Message-ID:  <3.0.32.19981209164910.00a3c9e0@prismnet.com>

next in thread | raw e-mail | index | archive | help
I'm having difficulty accessing the memory on a PCI adapter I'm writing a
driver for.  I map the memory with pci_map_mem and am using the pointer
returned to me in the va parameter.  When I try to to write the memory,
what I read back is not the same.  I'm using copyin/copyout to write/read
the memory from buffers passed from user space.  Also, if I try to access
the memory on the board directly (ie with a printf) the machine locks up.
Does anyone have any ideas what may be wrong.


Thanks,

Chris Ficklin
Serengeti Systems



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.32.19981209164910.00a3c9e0>