summaryrefslogtreecommitdiff
path: root/i386/i386/pit.h
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386/pit.h')
-rw-r--r--i386/i386/pit.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/i386/i386/pit.h b/i386/i386/pit.h
index 51c4111d..b14c4c84 100644
--- a/i386/i386/pit.h
+++ b/i386/i386/pit.h
@@ -73,7 +73,8 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
* followed by most significant byte */
#define PIT_SQUAREMODE 0x06 /* square-wave mode */
-#define PIT_RATEMODE 0x02 /* rate generator mode */
+#define PIT_RATEMODE 0x04 /* rate generator mode */
+#define PIT_ONESHOTMODE 0x02 /* one-shot mode */
/* Used for Timer 2. */
#define PIT_C2 0x80 /* select counter 2 */