From 14c74651ec30cd5e387b8214070cadaaf47537bf Mon Sep 17 00:00:00 2001 From: patrick Date: Wed, 7 Feb 2018 22:02:48 +0000 Subject: [PATCH] Move parsing the BCDC header on RX into a protocol specific RX function so it can be shared with the SDIO attachment driver. --- sys/dev/pci/if_bwfm_pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/pci/if_bwfm_pci.c b/sys/dev/pci/if_bwfm_pci.c index a195ba9beb3..5dab9290431 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.16 2018/01/11 16:09:19 patrick Exp $ */ +/* $OpenBSD: if_bwfm_pci.c,v 1.17 2018/02/07 22:02:48 patrick Exp $ */ /* * Copyright (c) 2010-2016 Broadcom Corporation * Copyright (c) 2017 Patrick Wildt @@ -286,6 +286,7 @@ struct bwfm_bus_ops bwfm_pci_bus_ops = { struct bwfm_proto_ops bwfm_pci_msgbuf_ops = { .proto_query_dcmd = bwfm_pci_msgbuf_query_dcmd, .proto_set_dcmd = bwfm_pci_msgbuf_set_dcmd, + .proto_rx = NULL, }; struct cfattach bwfm_pci_ca = { -- 2.20.1