diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-10-14 22:31:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-10-14 22:31:34 +0000 |
commit | 7011ea1a2d4b82801ad1ca5d383eaf0f99606b0e (patch) | |
tree | 23e444a50b0f5bb0d029a28650403e257253828a | |
parent | 3d926e09e8d575f4511b1085020e0f225f97bcbd (diff) |
correctly print PC and PC2- prefixes; ok jsg
-rw-r--r-- | sys/dev/i2c/spdmem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/i2c/spdmem.c b/sys/dev/i2c/spdmem.c index 9fc22335601..870e018fe3e 100644 --- a/sys/dev/i2c/spdmem.c +++ b/sys/dev/i2c/spdmem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spdmem.c,v 1.10 2007/10/13 19:07:05 cnst Exp $ */ +/* $OpenBSD: spdmem.c,v 1.11 2007/10/14 22:31:33 deraadt Exp $ */ /* $NetBSD: spdmem.c,v 1.3 2007/09/20 23:09:59 xtraeme Exp $ */ /* @@ -344,7 +344,7 @@ spdmem_attach(struct device *parent, struct device *self, void *aux) bits = s->sm_data[SPDMEM_DDR2_DATAWIDTH]; if ((config & 0x03) != 0) bits -= 8; - ddr_type_string = "PC2"; + ddr_type_string = "PC2-"; break; case SPDMEM_MEMTYPE_DDRSDRAM: /* DDR uses dual-pumped clock */ @@ -385,7 +385,7 @@ spdmem_attach(struct device *parent, struct device *self, void *aux) p_clk += 50; p_clk -= p_clk % 100; } - printf(" %s-%d", ddr_type_string, p_clk); + printf(" %s%d", ddr_type_string, p_clk); } /* Print CAS latency */ |