Module Name: src Committed By: msaitoh Date: Wed Apr 24 10:38:09 UTC 2019
Modified Files: src/sys/dev/pci: if_bnx.c Log Message: This driver uses MII(4) and have hook SIOCGIFMEDIA which just pass to ifmedia_ioctl(), the hook is not required because ether_ioctl has it (if_ethersubr.c rev. 1.160). This driver might require some additional fixes for SIOCSIFMTU and other ioctl()s. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 src/sys/dev/pci/if_bnx.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/if_bnx.c diff -u src/sys/dev/pci/if_bnx.c:1.81 src/sys/dev/pci/if_bnx.c:1.82 --- src/sys/dev/pci/if_bnx.c:1.81 Thu Apr 11 08:50:59 2019 +++ src/sys/dev/pci/if_bnx.c Wed Apr 24 10:38:09 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: if_bnx.c,v 1.81 2019/04/11 08:50:59 msaitoh Exp $ */ +/* $NetBSD: if_bnx.c,v 1.82 2019/04/24 10:38:09 msaitoh Exp $ */ /* $OpenBSD: if_bnx.c,v 1.101 2013/03/28 17:21:44 brad Exp $ */ /*- @@ -35,7 +35,7 @@ #if 0 __FBSDID("$FreeBSD: src/sys/dev/bce/if_bce.c,v 1.3 2006/04/13 14:12:26 ru Exp $"); #endif -__KERNEL_RCSID(0, "$NetBSD: if_bnx.c,v 1.81 2019/04/11 08:50:59 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_bnx.c,v 1.82 2019/04/24 10:38:09 msaitoh Exp $"); /* * The following controllers are supported by this driver: @@ -5415,8 +5415,6 @@ bnx_ioctl(struct ifnet *ifp, u_long comm } sc->bnx_flowflags = ifr->ifr_media & IFM_ETH_FMASK; } - /* FALLTHROUGH */ - case SIOCGIFMEDIA: DBPRINT(sc, BNX_VERBOSE, "bnx_phy_flags = 0x%08X\n", sc->bnx_phy_flags);