]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
e1000: fix em_mac_min and 82547 packet buffer
authorKevin Bowling <kbowling@FreeBSD.org>
Thu, 15 Apr 2021 16:58:36 +0000 (09:58 -0700)
committerKevin Bowling <kbowling@FreeBSD.org>
Tue, 18 May 2021 07:48:49 +0000 (00:48 -0700)
commit1a132077c2cb500410079f9120c3f676d15f7931
treeb69e86b853b8b0c3fc563e9e272de14d3b675f00
parent94c02a765cb7f68c80844acb5898be90dc4069c5
e1000: fix em_mac_min and 82547 packet buffer

The boundary differentiating "lem" vs "em" class devices was wrong
after the iflib conversion of lem(4).

The Packet Buffer size for 82547 class chips was not set correctly
after the iflib conversion of lem(4).

These changes restore functionality on an 82547 for the submitter.

PR: 236119
Reported by: Jeff Gibbons <jgibbons@protogate.com>
Reviewed by: markj
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D29766

(cherry picked from commit bb1b375fa7487ee5c3843121a0621ac8379c18e6)
sys/dev/e1000/if_em.c