summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_rge.c
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2020-07-10 13:26:43 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2020-07-10 13:26:43 +0000
commit7c591251f4b453772c5304abafc8b31add427963 (patch)
treec3c81adfd569e3d58b2cd875be6a5bd88d1b8bfb /sys/dev/pci/if_rge.c
parent75620858502cb86710140bab76d93d2cfc2277d4 (diff)
Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.
ok dlg@ tobhe@
Diffstat (limited to 'sys/dev/pci/if_rge.c')
-rw-r--r--sys/dev/pci/if_rge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_rge.c b/sys/dev/pci/if_rge.c
index 5b3fff4f0ea..2bb0cd3f968 100644
--- a/sys/dev/pci/if_rge.c
+++ b/sys/dev/pci/if_rge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_rge.c,v 1.3 2020/03/27 15:15:24 krw Exp $ */
+/* $OpenBSD: if_rge.c,v 1.4 2020/07/10 13:26:38 patrick Exp $ */
/*
* Copyright (c) 2019 Kevin Lo <kevlo@openbsd.org>
@@ -242,7 +242,7 @@ rge_attach(struct device *parent, struct device *self, void *aux)
ifp->if_ioctl = rge_ioctl;
ifp->if_qstart = 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_hardmtu = RGE_JUMBO_MTU;
ifp->if_capabilities = IFCAP_VLAN_MTU | IFCAP_CSUM_IPv4 |