]> git.baikalelectronics.ru Git - kernel.git/commit
fjes: Do not load fjes driver if system does not have extended socket device.
authorYasuaki Ishimatsu <yasu.isimatu@gmail.com>
Tue, 21 Mar 2017 15:44:25 +0000 (11:44 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 19:38:17 +0000 (12:38 -0700)
commitfdfcb9c073c7424465e96db616e46742223c2c8f
tree9669d7d5d401ea1e268fbab5aac7824315bafe96
parent4d5f9f2537cec3ef84594d686bb8c93633ac7bec
fjes: Do not load fjes driver if system does not have extended socket device.

The fjes driver is used only by FUJITSU servers and almost of all
servers in the world never use it. But currently if ACPI PNP0C02
is defined in the ACPI table, the following message is always shown:

 "FUJITSU Extended Socket Network Device Driver - version 1.2
  - Copyright (c) 2015 FUJITSU LIMITED"

The message makes users confused because there is no reason that
the message is shown in other vendor servers.

To avoid the confusion, the patch adds a check that the server
has a extended socket device or not.

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