sync with OpenBSD -current

This commit is contained in:
purplerain 2023-11-13 23:00:18 +00:00
parent 62d64fa864
commit 4574748555
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
13806 changed files with 1142078 additions and 937084 deletions

View file

@ -1,4 +1,4 @@
/* $OpenBSD: if_bge.c,v 1.401 2023/07/04 10:22:39 jmatthew Exp $ */
/* $OpenBSD: if_bge.c,v 1.402 2023/11/10 15:51:20 bluhm Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@ -3061,7 +3061,7 @@ bge_attach(struct device *parent, struct device *self, void *aux)
ifp->if_ioctl = bge_ioctl;
ifp->if_qstart = bge_start;
ifp->if_watchdog = bge_watchdog;
ifq_set_maxlen(&ifp->if_snd, BGE_TX_RING_CNT - 1);
ifq_init_maxlen(&ifp->if_snd, BGE_TX_RING_CNT - 1);
DPRINTFN(5, ("bcopy\n"));
bcopy(sc->bge_dev.dv_xname, ifp->if_xname, IFNAMSIZ);