io.h (41c177cf354126a22443b5c80cec9fdd313e67e1) | io.h (f81f335a56a8e90d5cac38b79661e6fbf35249f1) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __ALPHA_IO_H 3#define __ALPHA_IO_H 4 5#ifdef __KERNEL__ 6 7#include <linux/kernel.h> 8#include <linux/mm.h> --- 195 unchanged lines hidden (view full) --- 204#else 205 206#if defined(CONFIG_ALPHA_APECS) 207# include <asm/core_apecs.h> 208#elif defined(CONFIG_ALPHA_CIA) 209# include <asm/core_cia.h> 210#elif defined(CONFIG_ALPHA_IRONGATE) 211# include <asm/core_irongate.h> | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __ALPHA_IO_H 3#define __ALPHA_IO_H 4 5#ifdef __KERNEL__ 6 7#include <linux/kernel.h> 8#include <linux/mm.h> --- 195 unchanged lines hidden (view full) --- 204#else 205 206#if defined(CONFIG_ALPHA_APECS) 207# include <asm/core_apecs.h> 208#elif defined(CONFIG_ALPHA_CIA) 209# include <asm/core_cia.h> 210#elif defined(CONFIG_ALPHA_IRONGATE) 211# include <asm/core_irongate.h> |
212#elif defined(CONFIG_ALPHA_JENSEN) 213# include <asm/jensen.h> | |
214#elif defined(CONFIG_ALPHA_LCA) 215# include <asm/core_lca.h> 216#elif defined(CONFIG_ALPHA_MARVEL) 217# include <asm/core_marvel.h> 218#elif defined(CONFIG_ALPHA_MCPCIA) 219# include <asm/core_mcpcia.h> 220#elif defined(CONFIG_ALPHA_POLARIS) 221# include <asm/core_polaris.h> --- 404 unchanged lines hidden (view full) --- 626 627#define insb insb 628#define insw insw 629#define insl insl 630#define outsb outsb 631#define outsw outsw 632#define outsl outsl 633 | 212#elif defined(CONFIG_ALPHA_LCA) 213# include <asm/core_lca.h> 214#elif defined(CONFIG_ALPHA_MARVEL) 215# include <asm/core_marvel.h> 216#elif defined(CONFIG_ALPHA_MCPCIA) 217# include <asm/core_mcpcia.h> 218#elif defined(CONFIG_ALPHA_POLARIS) 219# include <asm/core_polaris.h> --- 404 unchanged lines hidden (view full) --- 624 625#define insb insb 626#define insw insw 627#define insl insl 628#define outsb outsb 629#define outsw outsw 630#define outsl outsl 631 |
634/* 635 * The Alpha Jensen hardware for some rather strange reason puts 636 * the RTC clock at 0x170 instead of 0x70. Probably due to some 637 * misguided idea about using 0x70 for NMI stuff. 638 * 639 * These defines will override the defaults when doing RTC queries 640 */ 641 642#ifdef CONFIG_ALPHA_GENERIC 643# define RTC_PORT(x) ((x) + alpha_mv.rtc_port) 644#else 645# ifdef CONFIG_ALPHA_JENSEN 646# define RTC_PORT(x) (0x170+(x)) 647# else 648# define RTC_PORT(x) (0x70 + (x)) 649# endif 650#endif | 632#define RTC_PORT(x) (0x70 + (x)) |
651#define RTC_ALWAYS_BCD 0 652 653/* 654 * These get provided from <asm-generic/iomap.h> since alpha does not 655 * select GENERIC_IOMAP. 656 */ 657#define ioread64 ioread64 658#define iowrite64 iowrite64 --- 15 unchanged lines hidden --- | 633#define RTC_ALWAYS_BCD 0 634 635/* 636 * These get provided from <asm-generic/iomap.h> since alpha does not 637 * select GENERIC_IOMAP. 638 */ 639#define ioread64 ioread64 640#define iowrite64 iowrite64 --- 15 unchanged lines hidden --- |