Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/arch/sandpoint/stand/altboot/brdsetup.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/arch/sandpoint/stand/altboot/brdsetup.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.7 retrieving revision 1.8 diff -u -p -r1.7 -r1.8 --- src/sys/arch/sandpoint/stand/altboot/brdsetup.c 2011/03/06 18:22:13 1.7 +++ src/sys/arch/sandpoint/stand/altboot/brdsetup.c 2011/03/10 21:11:49 1.8 @@ -1,4 +1,4 @@ -/* $NetBSD: brdsetup.c,v 1.7 2011/03/06 18:22:13 phx Exp $ */ +/* $NetBSD: brdsetup.c,v 1.8 2011/03/10 21:11:49 phx Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -211,7 +211,7 @@ brdsetup(void) /* VIA 686B southbridge at dev 22 */ brdtype = BRD_ENCOREPP1; } - else if ((pcicfgread(dev11, PCI_CLASS_REG) >> 16) == PCI_CLASS_ETH) { + else if (PCI_CLASS(pcicfgread(dev11, PCI_CLASS_REG)) == PCI_CLASS_ETH) { /* ADMtek AN985 (tlp) or RealTek 8169S (re) at dev 11 */ brdtype = BRD_KUROBOX; }