From: patrick Date: Wed, 17 May 2023 20:23:14 +0000 (+0000) Subject: Lenovo x13s requires a Qualcomm firmware file which is 13.7MB, so increase X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8ee8f54e26181f737f9906c4275faee35cbf3d2f;p=openbsd Lenovo x13s requires a Qualcomm firmware file which is 13.7MB, so increase the limit from 5MB to 15MB. What does it contain? A full copy of Windows VM framework? For now, we need it to read the battery status... "go for it" deraadt@ --- diff --git a/sys/sys/device.h b/sys/sys/device.h index 564cc14724c..e99f2d75e16 100644 --- a/sys/sys/device.h +++ b/sys/sys/device.h @@ -1,4 +1,4 @@ -/* $OpenBSD: device.h,v 1.64 2022/09/03 18:05:10 kettenis Exp $ */ +/* $OpenBSD: device.h,v 1.65 2023/05/17 20:23:14 patrick Exp $ */ /* $NetBSD: device.h,v 1.15 1996/04/09 20:55:24 cgd Exp $ */ /* @@ -231,7 +231,7 @@ void device_register(struct device *, void *); void device_register_wakeup(struct device *); int loadfirmware(const char *name, u_char **bufp, size_t *buflen); -#define FIRMWARE_MAX 5*1024*1024 +#define FIRMWARE_MAX 15*1024*1024 /* compatibility definitions */ #define config_found(d, a, p) config_found_sm((d), (a), (p), NULL)