summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2017-07-02 18:51:10 -0500
committerBjorn Helgaas <bhelgaas@google.com>2017-07-02 18:51:10 -0500
commitc781f85bc1958391e2d305fe6f52c90de0adb92e (patch)
treefd08e9378b7dc090a0c7d397dc8d302553443f6e /include/uapi
parent8cd93850347bb4487d332d6638a22c7686ae237d (diff)
parent393958d0d9ba2b9fd77e39ce764aa10b2e56b701 (diff)
downloadop-kernel-dev-c781f85bc1958391e2d305fe6f52c90de0adb92e.zip
op-kernel-dev-c781f85bc1958391e2d305fe6f52c90de0adb92e.tar.gz
Merge branch 'pci/switchtec' into next
* pci/switchtec: switchtec: Add device IDs for additional Switchtec products switchtec: Add "running" status flag to fw partition info ioctl
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/switchtec_ioctl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/switchtec_ioctl.h b/include/uapi/linux/switchtec_ioctl.h
index 3e824e1..5e39296 100644
--- a/include/uapi/linux/switchtec_ioctl.h
+++ b/include/uapi/linux/switchtec_ioctl.h
@@ -39,6 +39,9 @@ struct switchtec_ioctl_flash_info {
__u32 padding;
};
+#define SWITCHTEC_IOCTL_PART_ACTIVE 1
+#define SWITCHTEC_IOCTL_PART_RUNNING 2
+
struct switchtec_ioctl_flash_part_info {
__u32 flash_partition;
__u32 address;
OpenPOWER on IntegriCloud