We can't count on the CIA revision register telling us if we're a 21171
or 21172, so make the chip/revsion output a little more sane.
This commit is contained in:
parent
0dc9b5452d
commit
314f40f8d8
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cia.c,v 1.30 1998/01/17 03:39:51 thorpej Exp $ */
|
||||
/* $NetBSD: cia.c,v 1.31 1998/02/12 20:43:45 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
|
||||
@ -32,7 +32,7 @@
|
||||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: cia.c,v 1.30 1998/01/17 03:39:51 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cia.c,v 1.31 1998/02/12 20:43:45 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -147,7 +147,8 @@ ciaattach(parent, self, aux)
|
||||
ccp = sc->sc_ccp = &cia_configuration;
|
||||
cia_init(ccp, 1);
|
||||
|
||||
printf(": DECchip 2117%d Core Logic chipset\n", ccp->cc_rev);
|
||||
printf(": DECchip 21171/21172 Core Logic chipset, revision %d\n",
|
||||
ccp->cc_rev);
|
||||
if (ccp->cc_cnfg)
|
||||
printf("%s: extended capabilities: %s\n", self->dv_xname,
|
||||
bitmask_snprintf(ccp->cc_cnfg, CIA_CSR_CNFG_BITS,
|
||||
|
Loading…
Reference in New Issue
Block a user