device/pnp: Add header files for PNP ops
Change-Id: Ifda495420cfb121ad32920bb9f1cbdeef41f6d3a Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/31698 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
3695593794
commit
3855c01e0a
|
@ -202,12 +202,10 @@ static __always_inline void write64(volatile void *addr,
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef u32 pnp_devfn_t;
|
#include <device/pnp_type.h>
|
||||||
|
|
||||||
#ifdef __SIMPLE_DEVICE__
|
#ifdef __SIMPLE_DEVICE__
|
||||||
|
|
||||||
#define PNP_DEV(PORT, FUNC) (((PORT) << 8) | (FUNC))
|
|
||||||
|
|
||||||
/* Generic functions for pnp devices */
|
/* Generic functions for pnp devices */
|
||||||
static __always_inline void pnp_write_config(
|
static __always_inline void pnp_write_config(
|
||||||
pnp_devfn_t dev, uint8_t reg, uint8_t value)
|
pnp_devfn_t dev, uint8_t reg, uint8_t value)
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
#include <endian.h>
|
#include <endian.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp_def.h>
|
#include <device/pnp_def.h>
|
||||||
|
|
||||||
#include "bootblock.h"
|
#include "bootblock.h"
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include "ec.h"
|
#include "ec.h"
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
/*
|
||||||
|
* This file is part of the coreboot project.
|
||||||
|
*
|
||||||
|
* 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; version 2 of
|
||||||
|
* the License.
|
||||||
|
*
|
||||||
|
* 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 __DEVICE_PNP_OPS_H__
|
||||||
|
#define __DEVICE_PNP_OPS_H__
|
||||||
|
|
||||||
|
/* FIXME: We only want the PNP ops. */
|
||||||
|
#include <arch/io.h>
|
||||||
|
|
||||||
|
#endif
|
|
@ -0,0 +1,23 @@
|
||||||
|
/*
|
||||||
|
* This file is part of the coreboot project.
|
||||||
|
*
|
||||||
|
* 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; version 2 of the License.
|
||||||
|
*
|
||||||
|
* 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 __DEVICE_PNP_TYPE_H__
|
||||||
|
#define __DEVICE_PNP_TYPE_H__
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
typedef u32 pnp_devfn_t;
|
||||||
|
|
||||||
|
#define PNP_DEV(PORT, FUNC) (((PORT) << 8) | (FUNC))
|
||||||
|
|
||||||
|
#endif /* __DEVICE_PNP_TYPE_H__ */
|
|
@ -15,6 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <northbridge/intel/sandybridge/raminit_native.h>
|
#include <northbridge/intel/sandybridge/raminit_native.h>
|
||||||
#include <superio/nuvoton/nct6776/nct6776.h>
|
#include <superio/nuvoton/nct6776/nct6776.h>
|
||||||
#include <superio/nuvoton/common/nuvoton.h>
|
#include <superio/nuvoton/common/nuvoton.h>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <cpu/intel/romstage.h>
|
#include <cpu/intel/romstage.h>
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <cpu/intel/romstage.h>
|
#include <cpu/intel/romstage.h>
|
||||||
#include <cpu/intel/haswell/haswell.h>
|
#include <cpu/intel/haswell/haswell.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <northbridge/intel/haswell/haswell.h>
|
#include <northbridge/intel/haswell/haswell.h>
|
||||||
#include <northbridge/intel/haswell/pei_data.h>
|
#include <northbridge/intel/haswell/pei_data.h>
|
||||||
#include <southbridge/intel/common/gpio.h>
|
#include <southbridge/intel/common/gpio.h>
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <commonlib/loglevel.h>
|
#include <commonlib/loglevel.h>
|
||||||
#include <northbridge/amd/agesa/state_machine.h>
|
#include <northbridge/amd/agesa/state_machine.h>
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_type.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
|
|
||||||
#include <northbridge/amd/agesa/state_machine.h>
|
#include <northbridge/amd/agesa/state_machine.h>
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
#include <northbridge/intel/sandybridge/sandybridge.h>
|
#include <northbridge/intel/sandybridge/sandybridge.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <northbridge/intel/sandybridge/raminit_native.h>
|
#include <northbridge/intel/sandybridge/raminit_native.h>
|
||||||
#include <southbridge/intel/bd82x6x/pch.h>
|
#include <southbridge/intel/bd82x6x/pch.h>
|
||||||
#include <superio/nuvoton/common/nuvoton.h>
|
#include <superio/nuvoton/common/nuvoton.h>
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <pc80/mc146818rtc.h>
|
#include <pc80/mc146818rtc.h>
|
||||||
|
|
||||||
#include <superio/winbond/common/winbond.h>
|
#include <superio/winbond/common/winbond.h>
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <device/pci_ids.h>
|
#include <device/pci_ids.h>
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <device/dram/ddr3.h>
|
#include <device/dram/ddr3.h>
|
||||||
#include <northbridge/intel/sandybridge/raminit_native.h>
|
#include <northbridge/intel/sandybridge/raminit_native.h>
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <cpu/intel/romstage.h>
|
#include <cpu/intel/romstage.h>
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <northbridge/intel/sandybridge/raminit_native.h>
|
#include <northbridge/intel/sandybridge/raminit_native.h>
|
||||||
#include <northbridge/intel/sandybridge/sandybridge.h>
|
#include <northbridge/intel/sandybridge/sandybridge.h>
|
||||||
#include <southbridge/intel/bd82x6x/pch.h>
|
#include <southbridge/intel/bd82x6x/pch.h>
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <commonlib/loglevel.h>
|
#include <commonlib/loglevel.h>
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp_def.h>
|
#include <device/pnp_def.h>
|
||||||
|
|
||||||
#define SCH4307_CONFIG_PORT 0x162e
|
#define SCH4307_CONFIG_PORT 0x162e
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <halt.h>
|
#include <halt.h>
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <cpu/intel/romstage.h>
|
#include <cpu/intel/romstage.h>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <cpu/intel/romstage.h>
|
#include <cpu/intel/romstage.h>
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp_def.h>
|
#include <device/pnp_def.h>
|
||||||
#include <pc80/mc146818rtc.h>
|
#include <pc80/mc146818rtc.h>
|
||||||
#include <northbridge/intel/i945/i945.h>
|
#include <northbridge/intel/i945/i945.h>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <arch/acpi.h>
|
#include <arch/acpi.h>
|
||||||
#include <arch/io.h>
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
#include <cpu/x86/msr.h>
|
#include <cpu/x86/msr.h>
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
#define __SIMPLE_DEVICE__
|
#define __SIMPLE_DEVICE__
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
#include <device/pci.h>
|
#include <device/pci.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <device/pnp_def.h>
|
#include <device/pnp_def.h>
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <device/pnp_def.h>
|
#include <device/pnp_def.h>
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <device/pnp_def.h>
|
#include <device/pnp_def.h>
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <device/pci_ids.h>
|
#include <device/pci_ids.h>
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
/* __PRE_RAM__ means: use "unsigned" for device, not a struct. */
|
/* __PRE_RAM__ means: use "unsigned" for device, not a struct. */
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <southbridge/intel/common/gpio.h>
|
#include <southbridge/intel/common/gpio.h>
|
||||||
#include <southbridge/intel/i82801ix/i82801ix.h>
|
#include <southbridge/intel/i82801ix/i82801ix.h>
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <device/pci.h>
|
#include <device/pci.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include <northbridge/intel/sandybridge/raminit.h>
|
#include <northbridge/intel/sandybridge/raminit.h>
|
||||||
#include <northbridge/intel/sandybridge/raminit_native.h>
|
#include <northbridge/intel/sandybridge/raminit_native.h>
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#include <device/pci_def.h>
|
#include <device/pci_def.h>
|
||||||
#include <device/pci_ids.h>
|
#include <device/pci_ids.h>
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
#include <cpu/x86/lapic.h>
|
#include <cpu/x86/lapic.h>
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
#include <cpu/intel/haswell/haswell.h>
|
#include <cpu/intel/haswell/haswell.h>
|
||||||
#include <cpu/intel/romstage.h>
|
#include <cpu/intel/romstage.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <northbridge/intel/haswell/haswell.h>
|
#include <northbridge/intel/haswell/haswell.h>
|
||||||
#include <northbridge/intel/haswell/pei_data.h>
|
#include <northbridge/intel/haswell/pei_data.h>
|
||||||
#include <southbridge/intel/common/gpio.h>
|
#include <southbridge/intel/common/gpio.h>
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "fintek.h"
|
#include "fintek.h"
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#ifndef SUPERIO_FINTEK_COMMON_PRE_RAM_H
|
#ifndef SUPERIO_FINTEK_COMMON_PRE_RAM_H
|
||||||
#define SUPERIO_FINTEK_COMMON_PRE_RAM_H
|
#define SUPERIO_FINTEK_COMMON_PRE_RAM_H
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
void fintek_enable_serial(pnp_devfn_t dev, u16 iobase);
|
void fintek_enable_serial(pnp_devfn_t dev, u16 iobase);
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "f81216h.h"
|
#include "f81216h.h"
|
||||||
|
|
|
@ -17,6 +17,8 @@
|
||||||
#ifndef SUPERIO_FINTEK_F81216H_H
|
#ifndef SUPERIO_FINTEK_F81216H_H
|
||||||
#define SUPERIO_FINTEK_F81216H_H
|
#define SUPERIO_FINTEK_F81216H_H
|
||||||
|
|
||||||
|
#include <device/pnp_type.h>
|
||||||
|
|
||||||
/* Logical Device Numbers (LDN). */
|
/* Logical Device Numbers (LDN). */
|
||||||
#define F81216H_SP1 0x00 /* UART1 (+CIR mode) */
|
#define F81216H_SP1 0x00 /* UART1 (+CIR mode) */
|
||||||
#define F81216H_SP2 0x01 /* UART2 */
|
#define F81216H_SP2 0x01 /* UART2 */
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include "i8900.h"
|
#include "i8900.h"
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,8 @@
|
||||||
#ifndef SUPERIO_INTEL_I8900_I8900_H
|
#ifndef SUPERIO_INTEL_I8900_I8900_H
|
||||||
#define SUPERIO_INTEL_I8900_I8900_H
|
#define SUPERIO_INTEL_I8900_I8900_H
|
||||||
|
|
||||||
|
#include <device/pnp_type.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The SIW ("Serial I/O and Watchdog Timer") integrated into the i8900 is
|
* The SIW ("Serial I/O and Watchdog Timer") integrated into the i8900 is
|
||||||
* very similar to a Super I/O, both in functionality and config mechanism.
|
* very similar to a Super I/O, both in functionality and config mechanism.
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "ite.h"
|
#include "ite.h"
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#ifndef SUPERIO_ITE_COMMON_PRE_RAM_H
|
#ifndef SUPERIO_ITE_COMMON_PRE_RAM_H
|
||||||
#define SUPERIO_ITE_COMMON_PRE_RAM_H
|
#define SUPERIO_ITE_COMMON_PRE_RAM_H
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#define ITE_UART_CLK_PREDIVIDE_48 0x00 /* default */
|
#define ITE_UART_CLK_PREDIVIDE_48 0x00 /* default */
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_type.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "it8671f.h"
|
#include "it8671f.h"
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#ifndef SUPERIO_ITE_IT8671F_H
|
#ifndef SUPERIO_ITE_IT8671F_H
|
||||||
#define SUPERIO_ITE_IT8671F_H
|
#define SUPERIO_ITE_IT8671F_H
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/* Datasheet: Not available online, got it from ITE per request. */
|
/* Datasheet: Not available online, got it from ITE per request. */
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
#include <superio/ite/common/ite.h>
|
#include <superio/ite/common/ite.h>
|
||||||
#include "it8718f.h"
|
#include "it8718f.h"
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#ifndef SUPERIO_ITE_IT8718F_H
|
#ifndef SUPERIO_ITE_IT8718F_H
|
||||||
#define SUPERIO_ITE_IT8718F_H
|
#define SUPERIO_ITE_IT8718F_H
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
|
|
||||||
/* Datasheet: http://www.ite.com.tw/product_info/PC/Brief-IT8718_2.asp */
|
/* Datasheet: http://www.ite.com.tw/product_info/PC/Brief-IT8718_2.asp */
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
|
|
||||||
#include "it8772f.h"
|
#include "it8772f.h"
|
||||||
|
|
||||||
|
|
|
@ -126,7 +126,7 @@ enum thermal_mode {
|
||||||
/* GPIO Mode: 0: input mode, 1: output mode */
|
/* GPIO Mode: 0: input mode, 1: output mode */
|
||||||
#define GPIO_REG_OUTPUT(x) (0xc8 + (x))
|
#define GPIO_REG_OUTPUT(x) (0xc8 + (x))
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
u8 it8772f_sio_read(pnp_devfn_t dev, u8 reg);
|
u8 it8772f_sio_read(pnp_devfn_t dev, u8 reg);
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp_def.h>
|
#include <device/pnp_def.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "nsc.h"
|
#include "nsc.h"
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
#include <device/pnp_def.h>
|
#include <device/pnp_def.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <device/pnp_type.h>
|
||||||
|
|
||||||
void nsc_enable_serial(pnp_devfn_t dev, u16 iobase);
|
void nsc_enable_serial(pnp_devfn_t dev, u16 iobase);
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "pc87417.h"
|
#include "pc87417.h"
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
#define PC87417_XSCNF 0x15
|
#define PC87417_XSCNF 0x15
|
||||||
#define PC87417_XWBCNF 0x16
|
#define PC87417_XWBCNF 0x16
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
void pc87417_disable_dev(pnp_devfn_t dev);
|
void pc87417_disable_dev(pnp_devfn_t dev);
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "pc97317.h"
|
#include "pc97317.h"
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#define PC97317_GPIO 0x07
|
#define PC97317_GPIO 0x07
|
||||||
#define PC97317_PM 0x08 /* Power Management */
|
#define PC97317_PM 0x08 /* Power Management */
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
void pc97317_enable_serial(pnp_devfn_t dev, u16 iobase);
|
void pc97317_enable_serial(pnp_devfn_t dev, u16 iobase);
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "nuvoton.h"
|
#include "nuvoton.h"
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#ifndef SUPERIO_NUVOTON_COMMON_PRE_RAM_H
|
#ifndef SUPERIO_NUVOTON_COMMON_PRE_RAM_H
|
||||||
#define SUPERIO_NUVOTON_COMMON_PRE_RAM_H
|
#define SUPERIO_NUVOTON_COMMON_PRE_RAM_H
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
void nuvoton_pnp_enter_conf_state(pnp_devfn_t dev);
|
void nuvoton_pnp_enter_conf_state(pnp_devfn_t dev);
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_type.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "nct5104d.h"
|
#include "nct5104d.h"
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
#ifndef SUPERIO_NUVOTON_NCT5104D_H
|
#ifndef SUPERIO_NUVOTON_NCT5104D_H
|
||||||
#define SUPERIO_NUVOTON_NCT5104D_H
|
#define SUPERIO_NUVOTON_NCT5104D_H
|
||||||
|
|
||||||
|
#include <device/pnp_type.h>
|
||||||
|
|
||||||
/* SIO global configuration */
|
/* SIO global configuration */
|
||||||
#define IRQ_TYPE_SEL_CR10 0x10 /* UARTA,UARTB */
|
#define IRQ_TYPE_SEL_CR10 0x10 /* UARTA,UARTB */
|
||||||
#define IRQ_TYPE_SEL_CR11 0x11 /* SMI,UARTC,UARTD,WDTO */
|
#define IRQ_TYPE_SEL_CR11 0x11 /* SMI,UARTC,UARTD,WDTO */
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp_def.h>
|
#include <device/pnp_def.h>
|
||||||
#include "wpcm450.h"
|
#include "wpcm450.h"
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
#define BLUBB_DEV PNP_DEV(port, 0x04)
|
#define BLUBB_DEV PNP_DEV(port, 0x04)
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_ops.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include "pilot.h"
|
#include "pilot.h"
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
/* PILOT Super I/O is only based on LPC observation done on factory system. */
|
/* PILOT Super I/O is only based on LPC observation done on factory system. */
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include "pilot.h"
|
#include "pilot.h"
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
#ifndef SUPERIO_SERVERENGINES_PILOT_PILOT_H
|
#ifndef SUPERIO_SERVERENGINES_PILOT_PILOT_H
|
||||||
#define SUPERIO_SERVERENGINES_PILOT_PILOT_H
|
#define SUPERIO_SERVERENGINES_PILOT_PILOT_H
|
||||||
|
|
||||||
|
#include <device/pnp_type.h>
|
||||||
|
|
||||||
/* PILOT Super I/O is only based on LPC observation done on factory system. */
|
/* PILOT Super I/O is only based on LPC observation done on factory system. */
|
||||||
|
|
||||||
#define PILOT_LD1 0x01 /* Logical device 1 */
|
#define PILOT_LD1 0x01 /* Logical device 1 */
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
#define DME1737_KBC 7 /* Keyboard & Mouse */
|
#define DME1737_KBC 7 /* Keyboard & Mouse */
|
||||||
#define DME1737_RT 10 /* Runtime reg*/
|
#define DME1737_RT 10 /* Runtime reg*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
void dme1737_enable_serial(pnp_devfn_t dev, u16 iobase);
|
void dme1737_enable_serial(pnp_devfn_t dev, u16 iobase);
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "dme1737.h"
|
#include "dme1737.h"
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
/* Pre-RAM driver for the SMSC KBC1100 Super I/O chip */
|
/* Pre-RAM driver for the SMSC KBC1100 Super I/O chip */
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#ifndef SUPERIO_SMSC_KBC1100_H
|
#ifndef SUPERIO_SMSC_KBC1100_H
|
||||||
#define SUPERIO_SMSC_KBC1100_H
|
#define SUPERIO_SMSC_KBC1100_H
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#define KBC1100_PM1 1 /* PM1 */
|
#define KBC1100_PM1 1 /* PM1 */
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
/* Pre-RAM driver for SMSC LPC47B272 Super I/O chip. */
|
/* Pre-RAM driver for SMSC LPC47B272 Super I/O chip. */
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "lpc47b272.h"
|
#include "lpc47b272.h"
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
#define LPC47B272_MAX_CONFIG_REGISTER 0x5F
|
#define LPC47B272_MAX_CONFIG_REGISTER 0x5F
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
void lpc47b272_enable_serial(pnp_devfn_t dev, u16 iobase);
|
void lpc47b272_enable_serial(pnp_devfn_t dev, u16 iobase);
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "lpc47b397.h"
|
#include "lpc47b397.h"
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#define LPC47B397_HWM 8 /* HW Monitor */
|
#define LPC47B397_HWM 8 /* HW Monitor */
|
||||||
#define LPC47B397_RT 10 /* Runtime reg*/
|
#define LPC47B397_RT 10 /* Runtime reg*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
void lpc47b397_enable_serial(pnp_devfn_t dev, u16 iobase);
|
void lpc47b397_enable_serial(pnp_devfn_t dev, u16 iobase);
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "lpc47m10x.h"
|
#include "lpc47m10x.h"
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
#define LPC47M10X2_MAX_CONFIG_REGISTER 0x5F
|
#define LPC47M10X2_MAX_CONFIG_REGISTER 0x5F
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
void lpc47m10x_enable_serial(pnp_devfn_t dev, u16 iobase);
|
void lpc47m10x_enable_serial(pnp_devfn_t dev, u16 iobase);
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
/* Pre-RAM driver for the SMSC LPC47M15X Super I/O chip */
|
/* Pre-RAM driver for the SMSC LPC47M15X Super I/O chip */
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
#define LPC47M15X2_MAX_CONFIG_REGISTER 0x5F
|
#define LPC47M15X2_MAX_CONFIG_REGISTER 0x5F
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
void lpc47m15x_enable_serial(pnp_devfn_t dev, u16 iobase);
|
void lpc47m15x_enable_serial(pnp_devfn_t dev, u16 iobase);
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
/* Pre-RAM driver for SMSC LPC47N217 Super I/O chip. */
|
/* Pre-RAM driver for SMSC LPC47N217 Super I/O chip. */
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include "lpc47n217.h"
|
#include "lpc47n217.h"
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#ifndef SUPERIO_SMSC_LPC47N217_LPC47N217_H
|
#ifndef SUPERIO_SMSC_LPC47N217_LPC47N217_H
|
||||||
#define SUPERIO_SMSC_LPC47N217_LPC47N217_H
|
#define SUPERIO_SMSC_LPC47N217_LPC47N217_H
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
/* Pre-RAM driver for SMSC LPC47N227 Super I/O chip. */
|
/* Pre-RAM driver for SMSC LPC47N227 Super I/O chip. */
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include "lpc47n227.h"
|
#include "lpc47n227.h"
|
||||||
|
|
||||||
void pnp_enter_conf_state(pnp_devfn_t dev)
|
void pnp_enter_conf_state(pnp_devfn_t dev)
|
||||||
|
|
|
@ -16,6 +16,8 @@
|
||||||
#ifndef SUPERIO_SMSC_LPC47N227_LPC47N227_H
|
#ifndef SUPERIO_SMSC_LPC47N227_LPC47N227_H
|
||||||
#define SUPERIO_SMSC_LPC47N227_LPC47N227_H
|
#define SUPERIO_SMSC_LPC47N227_LPC47N227_H
|
||||||
|
|
||||||
|
#include <device/pnp_type.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Since the LPC47N227 does not have logical devices but a flat configuration
|
* Since the LPC47N227 does not have logical devices but a flat configuration
|
||||||
* space, these are arbitrary, but must match declarations in the mainboard
|
* space, these are arbitrary, but must match declarations in the mainboard
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
|
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#define LPT_POWER_DOWN (1 << 2)
|
#define LPT_POWER_DOWN (1 << 2)
|
||||||
#define IR_OUTPUT_MUX (1 << 6)
|
#define IR_OUTPUT_MUX (1 << 6)
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
void sio1036_enable_serial(pnp_devfn_t dev, u16 iobase);
|
void sio1036_enable_serial(pnp_devfn_t dev, u16 iobase);
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
/* Pre-RAM driver for the SMSC KBC1100 Super I/O chip */
|
/* Pre-RAM driver for the SMSC KBC1100 Super I/O chip */
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "sio1036.h"
|
#include "sio1036.h"
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp_def.h>
|
#include <device/pnp_def.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#ifndef SUPERIO_SMSC_SMSCSUPERIO_H
|
#ifndef SUPERIO_SMSC_SMSCSUPERIO_H
|
||||||
#define SUPERIO_SMSC_SMSCSUPERIO_H
|
#define SUPERIO_SMSC_SMSCSUPERIO_H
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/* All known/supported SMSC Super I/Os have the same logical device IDs
|
/* All known/supported SMSC Super I/Os have the same logical device IDs
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "winbond.h"
|
#include "winbond.h"
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#ifndef SUPERIO_WINBOND_COMMON_PRE_RAM_H
|
#ifndef SUPERIO_WINBOND_COMMON_PRE_RAM_H
|
||||||
#define SUPERIO_WINBOND_COMMON_PRE_RAM_H
|
#define SUPERIO_WINBOND_COMMON_PRE_RAM_H
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
void winbond_enable_serial(pnp_devfn_t dev, uint16_t iobase);
|
void winbond_enable_serial(pnp_devfn_t dev, uint16_t iobase);
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <device/pnp_ops.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "w83627dhg.h"
|
#include "w83627dhg.h"
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#ifndef SUPERIO_WINBOND_W83627DHG_H
|
#ifndef SUPERIO_WINBOND_W83627DHG_H
|
||||||
#define SUPERIO_WINBOND_W83627DHG_H
|
#define SUPERIO_WINBOND_W83627DHG_H
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
|
|
||||||
#define W83627DHG_FDC 0 /* Floppy */
|
#define W83627DHG_FDC 0 /* Floppy */
|
||||||
#define W83627DHG_PP 1 /* Parallel port */
|
#define W83627DHG_PP 1 /* Parallel port */
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#ifndef SUPERIO_WINBOND_W83627THG_W83627THG_H
|
#ifndef SUPERIO_WINBOND_W83627THG_W83627THG_H
|
||||||
#define SUPERIO_WINBOND_W83627THG_W83627THG_H
|
#define SUPERIO_WINBOND_W83627THG_W83627THG_H
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
|
|
||||||
#define W83627THG_FDC 0 /* Floppy */
|
#define W83627THG_FDC 0 /* Floppy */
|
||||||
#define W83627THG_PP 1 /* Parallel port */
|
#define W83627THG_PP 1 /* Parallel port */
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
/* Pre-RAM driver for the Winbond WPCD376I Super I/O chip. */
|
/* Pre-RAM driver for the Winbond WPCD376I Super I/O chip. */
|
||||||
|
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_ops.h>
|
||||||
#include <device/pnp_def.h>
|
#include <device/pnp_def.h>
|
||||||
#include "wpcd376i.h"
|
#include "wpcd376i.h"
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#ifndef SUPERIO_WINBOND_WPCD376I_WPCD376I_H
|
#ifndef SUPERIO_WINBOND_WPCD376I_WPCD376I_H
|
||||||
#define SUPERIO_WINBOND_WPCD376I_WPCD376I_H
|
#define SUPERIO_WINBOND_WPCD376I_WPCD376I_H
|
||||||
|
|
||||||
#include <arch/io.h>
|
#include <device/pnp_type.h>
|
||||||
|
|
||||||
/* Logical Device Numbers (LDN). */
|
/* Logical Device Numbers (LDN). */
|
||||||
#define WPCD376I_FDC 0x00 /* Floppy */
|
#define WPCD376I_FDC 0x00 /* Floppy */
|
||||||
|
|
Loading…
Reference in New Issue