Random Winbond Super I/O cosmetic and coding-style fixes.
[coreboot.git] / src / superio / winbond / w83627thf / chip.h
index 4dee9d80a7741d4b9fd53dee3ab0d5ea72400bac..a70b6f26330625119555170c61ab477ff2eba650 100644 (file)
@@ -1,21 +1,36 @@
-#ifndef PNP_INDEX_REG
-#define PNP_INDEX_REG   0x15C
-#endif
-#ifndef PNP_DATA_REG
-#define PNP_DATA_REG    0x15D
-#endif
-#ifndef SIO_COM1
-#define SIO_COM1_BASE   0x3F8
-#endif
-#ifndef SIO_COM2
-#define SIO_COM2_BASE   0x2F8
-#endif
+/*
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ */
 
-extern struct chip_control superio_winbond_w83627thf_control;
+#ifndef SUPERIO_WINBOND_W83627THF_CHIP_H
+#define SUPERIO_WINBOND_W83627THF_CHIP_H
+
+#include <pc80/keyboard.h>
+#include <uart8250.h>
+
+extern struct chip_operations superio_winbond_w83627thf_ops;
 
 struct superio_winbond_w83627thf_config {
-  struct com_ports com1, com2;
-  
-       struct lpt_ports lpt;
-       int port;
+       struct uart8250 com1, com2;
+       struct pc_keyboard keyboard;
 };
+
+#endif