cxgbe(4): Support SIOGIFXMEDIA so that ifconfig displays correct media
for 25Gbps and 100Gbps ports. This should have been part of r305713, which is when the driver first started reporting extended media types.
This commit is contained in:
parent
d26312a4e4
commit
d44268d135
@ -1737,6 +1737,7 @@ fail:
|
||||
|
||||
case SIOCSIFMEDIA:
|
||||
case SIOCGIFMEDIA:
|
||||
case SIOCGIFXMEDIA:
|
||||
ifmedia_ioctl(ifp, ifr, &vi->media, cmd);
|
||||
break;
|
||||
|
||||
|
@ -472,6 +472,7 @@ tracer_ioctl(struct ifnet *ifp, unsigned long cmd, caddr_t data)
|
||||
break;
|
||||
case SIOCSIFMEDIA:
|
||||
case SIOCGIFMEDIA:
|
||||
case SIOCGIFXMEDIA:
|
||||
sx_xlock(&t4_trace_lock);
|
||||
sc = ifp->if_softc;
|
||||
if (sc == NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user