blob: 13048d33536859183e2e2ab9cbcee892761db861 [file] [log] [blame]
Ralf Baechle334955e2011-06-01 19:04:57 +01001/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
Ralf Baechlecb2455a2011-06-01 19:04:58 +01005 *
6 * Machine specific IO port address definition for generic.
7 * Written by Osamu Tomita <tomita@cinet.co.jp>
Ralf Baechle334955e2011-06-01 19:04:57 +01008 */
9#ifndef __LINUX_I8253_H
10#define __LINUX_I8253_H
11
Ralf Baechlecb2455a2011-06-01 19:04:58 +010012#include <linux/spinlock.h>
Ralf Baechle334955e2011-06-01 19:04:57 +010013#include <asm/i8253.h>
14
Ralf Baechlecb2455a2011-06-01 19:04:58 +010015/* i8253A PIT registers */
16#define PIT_MODE 0x43
17#define PIT_CH0 0x40
18#define PIT_CH2 0x42
19
20#define inb_pit inb_p
21#define outb_pit outb_p
22
23extern raw_spinlock_t i8253_lock;
24
Ralf Baechle334955e2011-06-01 19:04:57 +010025#endif /* __LINUX_I8253_H */