diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2008-06-11 17:21:47 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2008-06-11 17:21:47 +0000 |
commit | c8924fbd078f7370d6fd3fa4c77e097dfc754585 (patch) | |
tree | 89b1673472475b075b40e2d8d93a7d8dcdfde88b /sys/dev/pci | |
parent | 518385c7479f708311cbbb6f5c066047903eb767 (diff) |
Move a debug printf into #ifdef DEBUG. ok todd@, millert@.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/agp_i810.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/agp_i810.c b/sys/dev/pci/agp_i810.c index 1b9d4388123..9bf30ef4e15 100644 --- a/sys/dev/pci/agp_i810.c +++ b/sys/dev/pci/agp_i810.c @@ -1,4 +1,4 @@ -/* $OpenBSD: agp_i810.c,v 1.36 2008/05/16 19:47:54 reyk Exp $ */ +/* $OpenBSD: agp_i810.c,v 1.37 2008/06/11 17:21:46 matthieu Exp $ */ /* $NetBSD: agp_i810.c,v 1.15 2003/01/31 00:07:39 thorpej Exp $ */ /*- @@ -641,7 +641,9 @@ agp_i810_alloc_memory(struct agp_softc *sc, int type, vsize_t size) * Bogus mapping of 1 or 4 pages for the hardware cursor. */ if (size != AGP_PAGE_SIZE && size != 4 * AGP_PAGE_SIZE) { +#ifdef DEBUG printf("agp: trying to map %lu for hw cursor\n", size); +#endif return (NULL); } } |