Date: Sat, 16 Aug 2014 23:20:43 +0400 From: "Alexander V. Chernikov" <melifaro@yandex-team.ru> To: jfv@FreeBSD.org Cc: FreeBSD Net <net@freebsd.org> Subject: ixgbe i2c interface Message-ID: <53EFAF0B.6060301@yandex-team.ru>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------040509000500010406020307 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello Jack! Can you please commit (or let me commit) the following one-liner? --------------040509000500010406020307 Content-Type: text/x-patch; name="ixgbe_i2c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ixgbe_i2c.diff" Index: sys/dev/ixgbe/ixgbe.c =================================================================== --- sys/dev/ixgbe/ixgbe.c (revision 270040) +++ sys/dev/ixgbe/ixgbe.c (working copy) @@ -1055,7 +1055,7 @@ ixgbe_ioctl(struct ifnet * ifp, u_long command, ca error = copyin(ifr->ifr_data, &i2c, sizeof(i2c)); if (error) break; - if ((i2c.dev_addr != 0xA0) || (i2c.dev_addr != 0xA2)){ + if ((i2c.dev_addr != 0xA0) && (i2c.dev_addr != 0xA2)){ error = EINVAL; break; } --------------040509000500010406020307--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53EFAF0B.6060301>