cio.h (863fc8492734822b95671780db803cd9a4b7d923) cio.h (14556b33f2a5d6a3bc75cd33b709452a31555b25)
1#ifndef S390_CIO_H
2#define S390_CIO_H
3
4#include <linux/mutex.h>
5#include <linux/device.h>
6#include <linux/mod_devicetable.h>
7#include <asm/chpid.h>
8#include <asm/cio.h>

--- 115 unchanged lines hidden (view full) ---

124int cio_create_sch_lock(struct subchannel *);
125void do_adapter_IO(u8 isc);
126void do_IRQ(struct pt_regs *);
127
128/* Use with care. */
129#ifdef CONFIG_CCW_CONSOLE
130extern struct subchannel *cio_probe_console(void);
131extern int cio_is_console(struct subchannel_id);
1#ifndef S390_CIO_H
2#define S390_CIO_H
3
4#include <linux/mutex.h>
5#include <linux/device.h>
6#include <linux/mod_devicetable.h>
7#include <asm/chpid.h>
8#include <asm/cio.h>

--- 115 unchanged lines hidden (view full) ---

124int cio_create_sch_lock(struct subchannel *);
125void do_adapter_IO(u8 isc);
126void do_IRQ(struct pt_regs *);
127
128/* Use with care. */
129#ifdef CONFIG_CCW_CONSOLE
130extern struct subchannel *cio_probe_console(void);
131extern int cio_is_console(struct subchannel_id);
132extern struct subchannel *cio_get_console_subchannel(void);
132extern void cio_register_early_subchannels(void);
133extern void cio_tsch(struct subchannel *sch);
134#else
135#define cio_is_console(schid) 0
133extern void cio_tsch(struct subchannel *sch);
134#else
135#define cio_is_console(schid) 0
136#define cio_get_console_subchannel() NULL
136static inline void cio_register_early_subchannels(void) {}
137#endif
138
139#endif
137#endif
138
139#endif