diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2003-03-13 20:08:07 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2003-03-13 20:08:07 +0000 |
commit | bd7f1a36a07b97610f3a74ee1a7f893e03a99c1a (patch) | |
tree | 2fffda10a7bb26515d1e85dff8f90194e42280bf /sys/dev/pci | |
parent | 6a2a1fe7d12a66accdec4be6d6ed8832b84abe83 (diff) |
print LZS-only and such for the cards (more clear than saying "disabled" for the 9751 which isn't true these days)
Diffstat (limited to 'sys/dev/pci')
-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); } /* |