Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Use an unsigned value to hold the pci_class



details:   https://anonhg.NetBSD.org/src/rev/973de22f6f87
branches:  trunk
changeset: 778290:973de22f6f87
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Mar 21 10:14:19 2012 +0000

description:
Use an unsigned value to hold the pci_class

diffstat:

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

diffs (27 lines):

diff -r fee27ec085ce -r 973de22f6f87 sys/dev/pci/pci_subr.c
--- a/sys/dev/pci/pci_subr.c    Wed Mar 21 10:11:34 2012 +0000
+++ b/sys/dev/pci/pci_subr.c    Wed Mar 21 10:14:19 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_subr.c,v 1.90 2012/01/29 11:31:38 drochner Exp $   */
+/*     $NetBSD: pci_subr.c,v 1.91 2012/03/21 10:14:19 matt Exp $       */
 
 /*
  * Copyright (c) 1997 Zubin D. Dittia.  All rights reserved.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.90 2012/01/29 11:31:38 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v 1.91 2012/03/21 10:14:19 matt Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_pci.h"
@@ -71,7 +71,7 @@
  */
 struct pci_class {
        const char      *name;
-       int             val;            /* as wide as pci_{,sub}class_t */
+       u_int           val;            /* as wide as pci_{,sub}class_t */
        const struct pci_class *subclasses;
 };
 



Home | Main Index | Thread Index | Old Index