Compare commits

...

6 commits

Author SHA1 Message Date
c176fdb0d5
Add Lucienne support
Thanks Lukas Stockner!
2022-11-03 21:24:08 -04:00
c36a86c64b
Use -Wno-implicit-fallthrough instead of -Wimplicit-fallthrough=3 to support clang 2022-04-13 08:27:39 -05:00
ccc7d9e2d1
Merge pull request #9 from axelgenus/master
Fixed fall-through warning/error.
2022-03-10 07:30:47 -06:00
Alessandro Calori
184c4c7797 Fixed fall-through warning/error. 2022-03-10 09:25:34 +01:00
27eb87fb05
Merge pull request #7 from h3o66/fedora-copr
Add Fedora copr package repo to README
2022-02-26 17:01:23 -06:00
Christian
d2582d9194 Add Fedora copr package repo to README 2022-02-26 23:30:59 +01:00
3 changed files with 6 additions and 0 deletions

View file

@ -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)/*)")

View file

@ -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.

View file

@ -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");