summaryrefslogtreecommitdiff
path: root/sys/dev/pci/files.pci
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2017-12-24 19:50:57 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2017-12-24 19:50:57 +0000
commit7b5ead79e3b44bd7f0103400f055dd39cb77ffc4 (patch)
tree3f52d03959b579f4b9409fbe49b3d271a352ebcc /sys/dev/pci/files.pci
parenta46699c0e32f55710c677098d9dab96b85582db4 (diff)
Add a PCI attachment driver for bwfm(4). It's not finished, but it's
already past the point where development can occur out of the tree. With this I can successfully scan for access points and tell the chip to attach to an SSID. RX path should work as well, but since I forgot to bring the antenna with me to my parents, the reception is a bit horrible in the metal enclosure. There are a few reasons this driver is rather big. First we set up the ARM Cores, uploading the firmware and kicking it off. Then we need to read all needed information from the registers. Once that is done we have to set up countless buffers. There are 2 TX rings and 3 RX rings, plus N TX rings for the actual data that is yet to be implemented. Merry Christmas! ok kettenis@
Diffstat (limited to 'sys/dev/pci/files.pci')
-rw-r--r--sys/dev/pci/files.pci5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pci/files.pci b/sys/dev/pci/files.pci
index a1a21f91cfe..9d0c00a728a 100644
--- a/sys/dev/pci/files.pci
+++ b/sys/dev/pci/files.pci
@@ -1,4 +1,4 @@
-# $OpenBSD: files.pci,v 1.332 2017/11/28 23:54:04 dlg Exp $
+# $OpenBSD: files.pci,v 1.333 2017/12/24 19:50:56 patrick Exp $
# $NetBSD: files.pci,v 1.20 1996/09/24 17:47:15 christos Exp $
#
# Config file and device description for machine-independent PCI code.
@@ -816,5 +816,8 @@ file dev/pci/virtio_pci.c virtio_pci
attach dwiic at pci with dwiic_pci
file dev/pci/dwiic_pci.c dwiic_pci
+attach bwfm at pci with bwfm_pci: firmload
+file dev/pci/if_bwfm_pci.c bwfm_pci
+
include "dev/pci/files.agp"
include "dev/pci/drm/files.drm"