GPU: Added initial support for AIX

This commit is contained in:
Muhammad Herdiansyah 2017-01-04 09:33:54 +07:00
parent 367a5c83b6
commit f419c1c50e

View file

@ -1121,7 +1121,7 @@ get_gpu() {
esac esac
;; ;;
"BSD" | "Solaris" | "MINIX") "BSD" | "Solaris" | "MINIX" | "AIX")
case "$kernel_name" in case "$kernel_name" in
"FreeBSD"* | "DragonFly"*) "FreeBSD"* | "DragonFly"*)
gpu="$(pciconf -lv | grep -B 4 -F "VGA" | grep -F "device")" gpu="$(pciconf -lv | grep -B 4 -F "VGA" | grep -F "device")"