This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From c108465c38388505fa122b4b9fddbe2724d04c6f Mon Sep 17 00:00:00 2001 | |
From: arzamas-16 <arzamas-16@mail.ee> | |
Date: Thu, 9 Sep 2021 23:59:45 +0300 | |
Subject: [PATCH] firmware paths for postmarketos | |
Replace hardcoded paths for firmware so it could be loaded on postmarketOS. | |
--- | |
drivers/misc/mediatek/c2k_ccci/modem_sdio.h | 2 +- | |
.../common/combo/core/include/wmt_conf.h | 2 +- | |
.../common/combo/linux/stp_chrdev_ant.c | 4 +- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
MODPREFIX="/lib/modules/3.4.113/kernel/mediatek/kernel/drivers/combo/common_mt6628" | |
DRVPREFIX="/lib/modules/3.4.113/kernel/mediatek/kernel/drivers/combo/drv_wlan/mt6628/wlan" | |
function load { | |
PREFIX="" | |
if [[ "$1" == "mod" ]]; then | |
PREFIX="$MODPREFIX" | |
elif [[ $1 == "drv" ]]; then |