Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Sync with OpenBSD if_rge.c r1.4
details: https://anonhg.NetBSD.org/src/rev/0970d31f8ba5
branches: trunk
changeset: 950202:0970d31f8ba5
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Wed Jan 20 18:26:11 2021 +0000
description:
Sync with OpenBSD if_rge.c r1.4
"""
Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.
"""
diffstat:
sys/dev/pci/if_rge.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r cbf22025d3be -r 0970d31f8ba5 sys/dev/pci/if_rge.c
--- a/sys/dev/pci/if_rge.c Wed Jan 20 15:27:51 2021 +0000
+++ b/sys/dev/pci/if_rge.c Wed Jan 20 18:26:11 2021 +0000
@@ -1,5 +1,5 @@
-/* $NetBSD: if_rge.c,v 1.14 2020/05/30 22:39:40 sevan Exp $ */
-/* $OpenBSD: if_rge.c,v 1.3 2020/03/27 15:15:24 krw Exp $ */
+/* $NetBSD: if_rge.c,v 1.15 2021/01/20 18:26:11 jakllsch Exp $ */
+/* $OpenBSD: if_rge.c,v 1.4 2020/07/10 13:26:38 patrick Exp $ */
/*
* Copyright (c) 2019 Kevin Lo <kevlo%openbsd.org@localhost>
@@ -18,7 +18,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.14 2020/05/30 22:39:40 sevan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rge.c,v 1.15 2021/01/20 18:26:11 jakllsch Exp $");
/* #include "vlan.h" Sevan */
@@ -306,7 +306,7 @@
ifp->if_ioctl = rge_ioctl;
ifp->if_start = rge_start;
ifp->if_watchdog = rge_watchdog;
- IFQ_SET_MAXLEN(&ifp->if_snd, RGE_TX_LIST_CNT);
+ ifq_set_maxlen(&ifp->if_snd, RGE_TX_LIST_CNT);
ifp->if_mtu = RGE_JUMBO_MTU;
ifp->if_capabilities = ETHERCAP_VLAN_MTU | IFCAP_CSUM_IPv4_Rx |
Home |
Main Index |
Thread Index |
Old Index