diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-01-31 19:43:44 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-01-31 19:43:44 +0000 |
commit | ff366f9d1a907430cdcbbca460f31d594dd9728c (patch) | |
tree | 736f4b622b69c04a7a0c046c3e679cc2be98e34f /sys/dev/pci | |
parent | 5acc69ea30347286938376b652ffd9344ea3775f (diff) |
constify timing values.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/pciide_opti_reg.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/pciide_opti_reg.h b/sys/dev/pci/pciide_opti_reg.h index 409a092ff3c..27f39cf424d 100644 --- a/sys/dev/pci/pciide_opti_reg.h +++ b/sys/dev/pci/pciide_opti_reg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pciide_opti_reg.h,v 1.1 2000/06/13 03:56:42 chris Exp $ */ +/* $OpenBSD: pciide_opti_reg.h,v 1.2 2004/01/31 19:43:43 grange Exp $ */ /* $NetBSD: pciide_opti_reg.h,v 1.2 2000/06/07 20:42:53 scw Exp $ */ /*- @@ -108,21 +108,21 @@ * supported by the OPTi chip. The first index of the two-dimensional * arrays is used for a 33MHz PCIbus, the second for a 25MHz PCIbus. */ -static u_int8_t opti_tim_cp[2][8] = { /* Command Pulse */ +const static u_int8_t opti_tim_cp[2][8] = { /* Command Pulse */ {5, 4, 3, 2, 2, 7, 2, 2}, {4, 3, 2, 2, 1, 5, 2, 1} }; -static u_int8_t opti_tim_rt[2][8] = { /* Recovery Time */ +const static u_int8_t opti_tim_rt[2][8] = { /* Recovery Time */ {9, 4, 0, 0, 0, 6, 0, 0}, {6, 2, 0, 0, 0, 4, 0, 0} }; -static u_int8_t opti_tim_as[2][8] = { /* Address Setup */ +const static u_int8_t opti_tim_as[2][8] = { /* Address Setup */ {2, 1, 1, 1, 0, 0, 0, 0}, {1, 1, 0, 0, 0, 0, 0, 0} }; -static u_int8_t opti_tim_em[8] = { /* Enhanced Mode */ +const static u_int8_t opti_tim_em[8] = { /* Enhanced Mode */ 0, 0, 0, 1, 2, 0, 1 ,2 }; |