]> git.ipfire.org Git - thirdparty/grub.git/commit
ofnet: Do not set SUFFIX for sun4v network devices
authorStanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
Mon, 7 Sep 2015 11:13:11 +0000 (14:13 +0300)
committerAndrei Borzenkov <arvidjaar@gmail.com>
Wed, 7 Oct 2015 17:00:52 +0000 (20:00 +0300)
commitee67bcf31ec946848b2a186676f18786c45b4035
tree68f9322b51ea506d9b74b2b28f7500b0eb6ff0e2
parent8cb4c4edbe84fe455455dd26d5763541c2824098
ofnet: Do not set SUFFIX for sun4v network devices

sun4v vnet devices do not implement the support of duplex and speed
instance attributes. An attempt to open such a device with
the attributes will fail:

ok select net:speed=auto,duplex=auto
Unknown key 'speed'
Unknown key 'duplex'
Manual Configuration: Host IP, boot server and filename must be specified
WARNING: /virtual-devices@100/channel-devices@200/network@0: Can't open OBP standard TFTP package

Can't open device
ok

Therefore, let's not set SUFFIX for such devices.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
grub-core/net/drivers/ieee1275/ofnet.c