Compare commits
6 commits
Author | SHA1 | Date | |
---|---|---|---|
c176fdb0d5 | |||
c36a86c64b | |||
ccc7d9e2d1 | |||
|
184c4c7797 | ||
27eb87fb05 | |||
|
d2582d9194 |
2
Makefile
2
Makefile
|
@ -2,6 +2,8 @@ VERSION := 0.2.0
|
|||
TARGET := $(shell uname -r)
|
||||
DKMS_ROOT_PATH := /usr/src/zenpower-$(VERSION)
|
||||
|
||||
KBUILD_CFLAGS += -Wno-implicit-fallthrough
|
||||
|
||||
KERNEL_MODULES := /lib/modules/$(TARGET)
|
||||
|
||||
ifneq ("","$(wildcard /usr/src/linux-headers-$(TARGET)/*)")
|
||||
|
|
|
@ -19,6 +19,9 @@ sudo make dkms-install
|
|||
### Installation for Arch
|
||||
You can install the [AUR package](https://aur.archlinux.org/packages/zenpower3-dkms/).
|
||||
|
||||
### Installation for Fedora 35+
|
||||
You can install it from the [copr package repo](https://copr.fedorainfracloud.org/coprs/birkch/zenpower3/)
|
||||
|
||||
## Module activation
|
||||
Because zenpower is using same PCI device as k10temp, you have to disable k10temp first. This is automatically done by the AUR package.
|
||||
|
||||
|
|
|
@ -643,6 +643,7 @@ static int zenpower_probe(struct pci_dev *pdev, const struct pci_device_id *id)
|
|||
break;
|
||||
|
||||
case 0x60: // Zen2 APU
|
||||
case 0x68: // Zen2 Lucienne
|
||||
if (!zen1_calc) {
|
||||
data->zen2 = true;
|
||||
dev_info(dev, "Using ZEN2 calculation formula.\n");
|
||||
|
|
Loading…
Reference in a new issue