Since the PCI attachment code already uses mbufs for RX packets, we can
authorpatrick <patrick@openbsd.org>
Wed, 3 Jan 2018 21:01:16 +0000 (21:01 +0000)
committerpatrick <patrick@openbsd.org>
Wed, 3 Jan 2018 21:01:16 +0000 (21:01 +0000)
commitf37fc2369871f9b8196dff3a7b07b00b98162ace
treeaf5a6ef957c9ffb570d32a483e39e13049db8b65
parent44eccc7526b44e184ba7f35525ff63b540cb01ea
Since the PCI attachment code already uses mbufs for RX packets, we can
push the mbuf allocation down into the USB attachment code and now pass
an mbuf to the bwfm(4) receive function.
sys/dev/ic/bwfm.c
sys/dev/ic/bwfmvar.h
sys/dev/pci/if_bwfm_pci.c
sys/dev/usb/if_bwfm_usb.c