diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2018-01-10 01:43:02 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2018-01-10 01:43:02 +0000 |
commit | b5635dcb5d520df739c3716787fbacf6a5394dfd (patch) | |
tree | 16d2f1ee8a1eda09164ebeaa15e7b383359ddc9a /sys/dev/pci/if_bwfm_pci.c | |
parent | aea4faf8b92636922cf4ba81d99c415cb343aff2 (diff) |
Move line for readability.
Diffstat (limited to 'sys/dev/pci/if_bwfm_pci.c')
-rw-r--r-- | sys/dev/pci/if_bwfm_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bwfm_pci.c b/sys/dev/pci/if_bwfm_pci.c index 82256294bee..b1769c8d012 100644 --- a/sys/dev/pci/if_bwfm_pci.c +++ b/sys/dev/pci/if_bwfm_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bwfm_pci.c,v 1.11 2018/01/08 17:57:48 patrick Exp $ */ +/* $OpenBSD: if_bwfm_pci.c,v 1.12 2018/01/10 01:43:01 patrick Exp $ */ /* * Copyright (c) 2010-2016 Broadcom Corporation * Copyright (c) 2017 Patrick Wildt <patrick@blueri.se> @@ -614,9 +614,9 @@ bwfm_pci_attachhook(struct device *self) bus_dmamap_create(sc->sc_dmat, MSGBUF_MAX_PKT_SIZE, BWFM_NUM_RX_DESCS, MSGBUF_MAX_PKT_SIZE, 0, BUS_DMA_WAITOK, &sc->sc_rx_pkts.pkts[i].bb_map); - sc->sc_tx_pkts.npkt = BWFM_NUM_TX_PKTIDS; /* Maps TX mbufs to a packet id and back. */ + sc->sc_tx_pkts.npkt = BWFM_NUM_TX_PKTIDS; sc->sc_tx_pkts.pkts = malloc(BWFM_NUM_TX_PKTIDS * sizeof(struct bwfm_pci_buf), M_DEVBUF, M_WAITOK | M_ZERO); for (i = 0; i < BWFM_NUM_TX_PKTIDS; i++) |