Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci For the unbind code to work the bind code must s...



details:   https://anonhg.NetBSD.org/src/rev/a0209bac7022
branches:  trunk
changeset: 797599:a0209bac7022
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 23 14:48:06 2014 +0000

description:
For the unbind code to work the bind code must set the offset.

diffstat:

 sys/dev/pci/agp_i810.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r b26081dd1bde -r a0209bac7022 sys/dev/pci/agp_i810.c
--- a/sys/dev/pci/agp_i810.c    Wed Jul 23 14:38:08 2014 +0000
+++ b/sys/dev/pci/agp_i810.c    Wed Jul 23 14:48:06 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: agp_i810.c,v 1.109 2014/07/23 14:38:08 riastradh Exp $ */
+/*     $NetBSD: agp_i810.c,v 1.110 2014/07/23 14:48:06 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2000 Doug Rabson
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.109 2014/07/23 14:38:08 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: agp_i810.c,v 1.110 2014/07/23 14:48:06 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1328,6 +1328,7 @@
                if (error)
                        goto fail0;
        }
+       mem->am_offset = offset;
 
        /* Success!  */
        return 0;



Home | Main Index | Thread Index | Old Index