add modalias to apple bce

link: https://github.com/t2linux/apple-bce-drv/pull/3.patch
This commit is contained in:
Redecorating
2021-12-24 22:54:25 +11:00
parent 13f3308def
commit b908c032ed
2 changed files with 26 additions and 1 deletions
+23
View File
@@ -0,0 +1,23 @@
From 153b587ed53135eaf244144f6f8bdd5a0fe6b69e Mon Sep 17 00:00:00 2001
From: Redecorating <69827514+Redecorating@users.noreply.github.com>
Date: Fri, 24 Dec 2021 18:12:25 +1100
Subject: [PATCH 1/1] add modalias to apple-bce
---
drivers/staging/apple-bce/apple_bce.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/staging/apple-bce/apple_bce.c b/drivers/staging/apple-bce/apple_bce.c
index a6a656f..8cfbd3f 100644
--- a/drivers/staging/apple-bce/apple_bce.c
+++ b/drivers/staging/apple-bce/apple_bce.c
@@ -432,5 +432,6 @@ MODULE_LICENSE("GPL");
MODULE_AUTHOR("MrARM");
MODULE_DESCRIPTION("Apple BCE Driver");
MODULE_VERSION("0.01");
+MODULE_ALIAS("pci:v0000106Bd00001801sv*sd*bc*sc*i*");
module_init(apple_bce_module_init);
module_exit(apple_bce_module_exit);
--
2.34.1
+3 -1
View File
@@ -6,7 +6,7 @@
pkgbase=linux-t2
pkgver=5.15.11
_srcname=linux-${pkgver}
pkgrel=1
pkgrel=2
pkgdesc='Linux kernel for T2 Macs'
_srctag=v${pkgver%.*}-${pkgver##*.}
url="https://git.archlinux.org/linux.git/log/?h=v$_srctag"
@@ -32,6 +32,7 @@ source=(
apple-bce::git+https://github.com/t2linux/apple-bce-drv#commit=f93c6566f98b3c95677de8010f7445fa19f75091
apple-ibridge::git+https://github.com/t2linux/apple-ib-drv#commit=d8411ad1d87db8491e53887e36c3d37f445203eb
1001-Put-apple-bce-and-apple-ibridge-in-drivers-staging.patch
1002-add-modalias-to-apple-bce.patch
# Hack for AMD DC eDP link rate bug
2001-drm-amd-display-Force-link_rate-as-LINK_RATE_RBR2-fo.patch
@@ -289,6 +290,7 @@ sha256sums=('c1178b7e7e12d91292e670191268e3fe9a3563faf899eef43e468577e973a1ce'
'SKIP'
'SKIP'
'b7c987889d92a48d638d5258842b10f6c856e57f29ad23475aa507c7b4ad5710'
'0e371fe1efd1ec422f89439a2befb5a0c3dd28c9e60780f55493d9699c6ebc0e'
'786dfc22e4c6ece883e7dedd0ba3f6c14018584df95450b2cb78f3da8b01f7cb'
'7366a08383900a09f8e742b1e4f0a02e0839a385e68e70a89d1815c197df3300'
'8d8401a99a9dfbc41aa2dc5b6a409a19860b1b918465e19de4a4ff18de075ea3'