Module Name: src
Committed By: matt
Date: Wed Mar 21 10:14:19 UTC 2012
Modified Files:
src/sys/dev/pci: pci_subr.c
Log Message:
Use an unsigned value to hold the pci_class
To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/dev/pci/pci_subr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/pci_subr.c
diff -u src/sys/dev/pci/pci_subr.c:1.90 src/sys/dev/pci/pci_subr.c:1.91
--- src/sys/dev/pci/pci_subr.c:1.90 Sun Jan 29 11:31:38 2012
+++ src/sys/dev/pci/pci_subr.c Wed Mar 21 10:14:19 2012
@@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: pci_subr.c,v
*/
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;
};