BXE: bring in the bus_space_{read,write}
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 22 Jan 2015 22:31:25 +0000 (17:31 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 3 Feb 2015 15:12:30 +0000 (10:12 -0500)
commitd61d0d72d8b5d88e6e0afb2b63ca315063aa9707
tree698d7fac21887bc29dcc81216f0f948e91257117
parent17655d10c1773633ca43dda4d5b4bcd8777d27da
BXE: bring in the bus_space_{read,write}

It's a nice wrapper, and maybe we'll use something similar in the future.
We're only using MMIO for BXE, though the wrappers support PIO as well.

The existing bxe_debug versions assume PIO, which won't work.

To use these, we'll just make the alloc_bar copy out of our pcidev.
kern/drivers/net/bxe/bsd_bus.h [new file with mode: 0644]
kern/drivers/net/bxe/bxe.h
kern/drivers/net/bxe/bxe_debug.c