Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci fix a typo



details:   https://anonhg.NetBSD.org/src/rev/2b9e7eefd1e3
branches:  trunk
changeset: 763858:2b9e7eefd1e3
user:      macallan <macallan%NetBSD.org@localhost>
date:      Tue Apr 05 23:05:06 2011 +0000

description:
fix a typo

diffstat:

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

diffs (27 lines):

diff -r b63c57127ffa -r 2b9e7eefd1e3 sys/dev/pci/pci.c
--- a/sys/dev/pci/pci.c Tue Apr 05 19:06:09 2011 +0000
+++ b/sys/dev/pci/pci.c Tue Apr 05 23:05:06 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci.c,v 1.136 2011/04/04 20:37:56 dyoung Exp $ */
+/*     $NetBSD: pci.c,v 1.137 2011/04/05 23:05:06 macallan Exp $       */
 
 /*
  * Copyright (c) 1995, 1996, 1997, 1998
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci.c,v 1.136 2011/04/04 20:37:56 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci.c,v 1.137 2011/04/05 23:05:06 macallan Exp $");
 
 #include "opt_pci.h"
 
@@ -325,7 +325,7 @@
                            &r->r_offset, &r->r_size, &r->r_flags) != 0)
                                break;
                        if ((PCI_VENDOR(id) == PCI_VENDOR_ATI) && (bar == 0x10)
-                           && (r->r_size = 0x1000000)) {
+                           && (r->r_size == 0x1000000)) {
                                struct pci_range *nr;
                                /*
                                 * this has to be a mach64



Home | Main Index | Thread Index | Old Index