From 550cd0599583c7dc3887f8c728f79855a8f2c149 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Thu, 16 Jul 2020 15:48:39 -0700 Subject: device: Increase DEVICE_PATH_MAX to 40 This change increases the maximum length of device path string to 40 characters to accommodate growing hierarchy of devices. TEST=Ensured that "\_SB.PCI0.LPCB.EC0.CREC.TUN0.RT58" is correctly added to SSDT. Change-Id: Id2ef71a32b26e366b56c652942a247de4889544a Signed-off-by: Furquan Shaikh Reviewed-on: https://review.coreboot.org/c/coreboot/+/43540 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/include/device/path.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include/device/path.h') diff --git a/src/include/device/path.h b/src/include/device/path.h index 964b4725fc..4db83b7b3f 100644 --- a/src/include/device/path.h +++ b/src/include/device/path.h @@ -138,7 +138,7 @@ struct device_path { }; -#define DEVICE_PATH_MAX 30 +#define DEVICE_PATH_MAX 40 #define BUS_PATH_MAX (DEVICE_PATH_MAX+10) extern const char *dev_path_name(enum device_path_type type); -- cgit v1.2.3