Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
52 lines
1.3 KiB
C
52 lines
1.3 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*****************************************************************************
|
|
* xenbus.h
|
|
*
|
|
* Xenbus protocol details.
|
|
*
|
|
* Copyright (C) 2005 XenSource Ltd.
|
|
*/
|
|
|
|
#ifndef _XEN_PUBLIC_IO_XENBUS_H
|
|
#define _XEN_PUBLIC_IO_XENBUS_H
|
|
|
|
/* The state of either end of the Xenbus, i.e. the current communication
|
|
status of initialisation across the bus. States here imply nothing about
|
|
the state of the connection between the driver and the kernel's device
|
|
layers. */
|
|
enum xenbus_state
|
|
{
|
|
XenbusStateUnknown = 0,
|
|
XenbusStateInitialising = 1,
|
|
XenbusStateInitWait = 2, /* Finished early
|
|
initialisation, but waiting
|
|
for information from the peer
|
|
or hotplug scripts. */
|
|
XenbusStateInitialised = 3, /* Initialised and waiting for a
|
|
connection from the peer. */
|
|
XenbusStateConnected = 4,
|
|
XenbusStateClosing = 5, /* The device is being closed
|
|
due to an error or an unplug
|
|
event. */
|
|
XenbusStateClosed = 6,
|
|
|
|
/*
|
|
* Reconfiguring: The device is being reconfigured.
|
|
*/
|
|
XenbusStateReconfiguring = 7,
|
|
|
|
XenbusStateReconfigured = 8
|
|
};
|
|
|
|
#endif /* _XEN_PUBLIC_IO_XENBUS_H */
|
|
|
|
/*
|
|
* Local variables:
|
|
* c-file-style: "linux"
|
|
* indent-tabs-mode: t
|
|
* c-indent-level: 8
|
|
* c-basic-offset: 8
|
|
* tab-width: 8
|
|
* End:
|
|
*/
|