diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-08-02 17:40:59 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-08-02 17:40:59 +0000 |
commit | 0d9ccd49428d217436c3491d4eb6d8cd425f187c (patch) | |
tree | 0a46f44fde23fa51e200b04a97827a9c7cdd6d35 /sys/dev/ic | |
parent | 43ab6e433aad55cf3930f0db106d23e929504bcf (diff) |
Don't print out the eeprom width.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/dc.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/ic/dc.c b/sys/dev/ic/dc.c index 073b4f61d0e..49fd2f3904b 100644 --- a/sys/dev/ic/dc.c +++ b/sys/dev/ic/dc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dc.c,v 1.6 2000/08/02 08:40:54 peter Exp $ */ +/* $OpenBSD: dc.c,v 1.7 2000/08/02 17:40:58 aaron Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -269,13 +269,10 @@ void dc_eeprom_width(sc) /* Turn off EEPROM access mode. */ dc_eeprom_idle(sc); - if (i < 4 || i > 12) { - printf("forcing eeprom width to 12, "); + if (i < 4 || i > 12) sc->dc_romwidth = 6; - } else { - printf("eeprom width is %d, ", i); + else sc->dc_romwidth = i; - } /* Enter EEPROM access mode. */ CSR_WRITE_4(sc, DC_SIO, DC_SIO_EESEL); |