Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/alpha/pci Felix Deichmann in PR port-alpha/50326: c...



details:   https://anonhg.NetBSD.org/src/rev/0bd9c84003df
branches:  trunk
changeset: 811074:0bd9c84003df
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Oct 11 08:46:43 2015 +0000

description:
Felix Deichmann in PR port-alpha/50326: cosmetic patch for Pyxis attach
message.

diffstat:

 sys/arch/alpha/pci/cia.c |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (42 lines):

diff -r e019c2963309 -r 0bd9c84003df sys/arch/alpha/pci/cia.c
--- a/sys/arch/alpha/pci/cia.c  Sun Oct 11 06:32:15 2015 +0000
+++ b/sys/arch/alpha/pci/cia.c  Sun Oct 11 08:46:43 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cia.c,v 1.73 2012/02/06 02:14:14 matt Exp $ */
+/* $NetBSD: cia.c,v 1.74 2015/10/11 08:46:43 martin Exp $ */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: cia.c,v 1.73 2012/02/06 02:14:14 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cia.c,v 1.74 2015/10/11 08:46:43 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -268,7 +268,6 @@
        struct pcibus_attach_args pba;
        char bits[64];
        const char *name;
-       int pass;
 
        /* note that we've attached the chipset; can't have 2 CIAs. */
        ciafound = 1;
@@ -284,14 +283,12 @@
 
        if (ccp->cc_flags & CCF_ISPYXIS) {
                name = "Pyxis";
-               pass = ccp->cc_rev;
        } else {
                name = "ALCOR/ALCOR2";
-               pass = ccp->cc_rev + 1;
        }
 
        aprint_normal(": DECchip 2117x Core Logic Chipset (%s), pass %d\n",
-           name, pass);
+           name, ccp->cc_rev + 1);
        if (ccp->cc_cnfg) {
                snprintb(bits, sizeof(bits), CIA_CSR_CNFG_BITS, ccp->cc_cnfg);
                aprint_normal_dev(self, "extended capabilities: %s\n", bits);



Home | Main Index | Thread Index | Old Index