]> 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)
commita58778f04aa2f77bb4eb3b7fd81b5c1cd66c2b4d
tree9669d7d5d401ea1e268fbab5aac7824315bafe96
parent831ad2714c7c1410d89a83888086d9ed8e482e54
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