summaryrefslogtreecommitdiff
path: root/src/superio/winbond/w83627thg/w83627thg.h
blob: acea3826e948b044625e2ba35da2d4f52b1bdf59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 * This file is part of the coreboot project.
 *
 * Copyright (C) 2000 AG Electronics Ltd.
 * Copyright (C) 2003-2004 Linux Networx
 * Copyright (C) 2004 Tyan
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#ifndef SUPERIO_WINBOND_W83627THG_W83627THG_H
#define SUPERIO_WINBOND_W83627THG_W83627THG_H

#include <arch/io.h>

#define W83627THG_FDC              0   /* Floppy */
#define W83627THG_PP               1   /* Parallel port */
#define W83627THG_SP1              2   /* Com1 */
#define W83627THG_SP2              3   /* Com2 */
#define W83627THG_KBC              5   /* PS/2 keyboard & mouse */
#define W83627THG_GAME_MIDI_GPIO1  7
#define W83627THG_GPIO2            8
#define W83627THG_GPIO3            9
#define W83627THG_ACPI            10
#define W83627THG_HWM             11   /* Hardware monitor */

void pnp_enter_ext_func_mode(pnp_devfn_t dev);
void pnp_exit_ext_func_mode(pnp_devfn_t dev);

void w83627thg_set_clksel_48(pnp_devfn_t dev);

#endif /* SUPERIO_WINBOND_W83627THG_W83627THG_H */