]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
fjes: Do not load fjes driver if extended socket device is not power on.
authorYasuaki Ishimatsu <yasu.isimatu@gmail.com>
Tue, 21 Mar 2017 15:46:35 +0000 (11:46 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 19:38:17 +0000 (12:38 -0700)
commit2b396d302650f1ebb770ed758ddcf5a64328ffd5
tree9ad04276164dcbdf7e0a7cd7e133c452de8a4497
parentac23d3cac1f339febd95c403a245ae072dfd0e84
fjes: Do not load fjes driver if extended socket device is not power on.

The extended device socket cannot turn on/off while system is running.
So when system boots up and the device is not power on, the fjes driver
does not need be loaded.

To check the status of the device, the patch adds ACPI _STA method check.

Signed-off-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
CC: Taku Izumi <izumi.taku@jp.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fjes/fjes_main.c