Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Add a default case to the product ID attachment ...



details:   https://anonhg.NetBSD.org/src/rev/ed8d5f238aa4
branches:  trunk
changeset: 566125:ed8d5f238aa4
user:      briggs <briggs%NetBSD.org@localhost>
date:      Wed Apr 28 04:12:16 2004 +0000

description:
Add a default case to the product ID attachment to print the chip
description and revision information if a chip is matched and this
switch statement isn't updated to match.  Addresses PR kern/18019.

diffstat:

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

diffs (26 lines):

diff -r ad14b1d35163 -r ed8d5f238aa4 sys/dev/pci/if_fxp_pci.c
--- a/sys/dev/pci/if_fxp_pci.c  Wed Apr 28 03:37:58 2004 +0000
+++ b/sys/dev/pci/if_fxp_pci.c  Wed Apr 28 04:12:16 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_fxp_pci.c,v 1.37 2004/03/12 13:22:28 drochner Exp $ */
+/*     $NetBSD: if_fxp_pci.c,v 1.38 2004/04/28 04:12:16 briggs Exp $   */
 
 /*-
  * Copyright (c) 1997, 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_fxp_pci.c,v 1.37 2004/03/12 13:22:28 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_fxp_pci.c,v 1.38 2004/04/28 04:12:16 briggs Exp $");
 
 #include "rnd.h"
 
@@ -410,6 +410,7 @@
        case PCI_PRODUCT_INTEL_PRO_100_VM_5:
        case PCI_PRODUCT_INTEL_PRO_100_VM_6:
        case PCI_PRODUCT_INTEL_82801EB_LAN:
+       default:
                aprint_normal(": %s, rev %d\n", fpp->fpp_name, sc->sc_rev);
                
                /*



Home | Main Index | Thread Index | Old Index