diff options
Diffstat (limited to 'sys/dev/pci/hifn7751.c')
-rw-r--r-- | sys/dev/pci/hifn7751.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/sys/dev/pci/hifn7751.c b/sys/dev/pci/hifn7751.c index b044788f8b8..aee73ce35e3 100644 --- a/sys/dev/pci/hifn7751.c +++ b/sys/dev/pci/hifn7751.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hifn7751.c,v 1.138 2003/02/24 20:36:02 jason Exp $ */ +/* $OpenBSD: hifn7751.c,v 1.139 2003/03/13 20:08:06 jason Exp $ */ /* * Invertex AEON / Hifn 7751 driver @@ -694,18 +694,23 @@ report: WRITE_REG_0(sc, HIFN_0_PUCNFG, ramcfg); WRITE_REG_1(sc, HIFN_1_DMA_CNFG, dmacfg); - printf(": "); switch (encl) { + case HIFN_PUSTAT_ENA_0: + offtbl = "LZS-only"; + break; case HIFN_PUSTAT_ENA_1: + offtbl = "DES"; + break; case HIFN_PUSTAT_ENA_2: + offtbl = "3DES"; break; - case HIFN_PUSTAT_ENA_0: default: - printf("disabled, "); + offtbl = "disabled"; break; } + printf(": %s, ", offtbl); - return 0; + return (0); } /* |