Date: Wed, 2 Sep 1998 00:05:04 +0200 (CEST) From: Wilko Bulte <wilko@yedi.iaf.nl> To: FreeBSD-hackers@FreeBSD.ORG (FreeBSD hackers list) Subject: pci memory mapping Message-ID: <199809012205.AAA29093@yedi.iaf.nl>
next in thread | raw e-mail | index | archive | help
Hi there,
I'm trying to get a Mylex DAC960PD to work with a driver skeleton Ulf
wrote. As I have a different Mylex board than Ulf (a PD iso a PG) I need
to make some changes.
For some reason the followin code in attach() fails:
if (!pci_map_mem(config_id, PCI_MAP_REG_START, &mp->vbase,
&mp->pbase)) {
printf("myx%d: couldn't map memory\n", unit);
goto fail;
}
>From a previous post by Bill Paul I get the impression (...) that I might need
to enable memory mapping by doing a pci_conf_write(). But what params
do I feed pci_conf_write()?
This is all new to me, I could really use some advise here.
Interestingly enough for Ulf's board things work OK.
Wilko
_ ______________________________________________________________________
| / o / / _ Bulte email: wilko@yedi.iaf.nl
|/|/ / / /( (_) Arnhem, The Netherlands WWW : http://www.tcja.nl
______________________________________________ Powered by FreeBSD __________
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809012205.AAA29093>
