Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci AGP registers are in memory space on the AMD-751.
details: https://anonhg.NetBSD.org/src/rev/dc914b895238
branches: trunk
changeset: 515053:dc914b895238
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun Sep 16 03:42:12 2001 +0000
description:
AGP registers are in memory space on the AMD-751.
diffstat:
sys/dev/pci/agp_amd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r bf644acee0c2 -r dc914b895238 sys/dev/pci/agp_amd.c
--- a/sys/dev/pci/agp_amd.c Sun Sep 16 03:20:01 2001 +0000
+++ b/sys/dev/pci/agp_amd.c Sun Sep 16 03:42:12 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: agp_amd.c,v 1.2 2001/09/15 00:25:00 thorpej Exp $ */
+/* $NetBSD: agp_amd.c,v 1.3 2001/09/16 03:42:12 thorpej Exp $ */
/*-
* Copyright (c) 2000 Doug Rabson
@@ -178,10 +178,10 @@
}
memset(asc, 0, sizeof *asc);
- error = pci_mapreg_map(pa, AGP_AMD751_REGISTERS, PCI_MAPREG_TYPE_IO, 0,
+ error = pci_mapreg_map(pa, AGP_AMD751_REGISTERS, PCI_MAPREG_TYPE_MEM, 0,
&asc->iot, &asc->ioh, NULL, NULL);
if (error != 0) {
- printf(": can't map i/o space\n");
+ printf(": can't map AGP registers\n");
agp_generic_detach(sc);
return error;
}
Home |
Main Index |
Thread Index |
Old Index