Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dkms.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ family_hex=$(printf "0x%x" "$family")
model_hex=$(printf "0x%x" "$model")

# Perform the comparison
if [ "$family_hex" = "0x19" ] && [ "$model_hex" -ge "0x00" ] && [ "$model_hex" -le "0x1f" ]; then
# sh can only compare decimal numbers, not hex, so use 31 instead of 0x1f for the model
if [ "$family_hex" = "0x19" ] && [ "$model" -ge "0" ] && [ "$model" -le "31" ]; then
BUILT_MODULE_NAME[1]="amd_hsmp"
else
BUILT_MODULE_NAME[1]="hsmp_acpi"
Expand Down