Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273216
b: refs/heads/master
c: edfd52e
h: refs/heads/master
v: v3
  • Loading branch information
Pawel Moll authored and Rusty Russell committed Nov 2, 2011
1 parent 208ef3b commit a139948
Show file tree
Hide file tree
Showing 6 changed files with 620 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 005b20a8e0f587a46a00910ba4507bb9f6da70ea
refs/heads/master: edfd52e6367270c90f3fd7cc302b375ffa89f91e
17 changes: 17 additions & 0 deletions trunk/Documentation/devicetree/bindings/virtio/mmio.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
* virtio memory mapped device

See http://ozlabs.org/~rusty/virtio-spec/ for more details.

Required properties:

- compatible: "virtio,mmio" compatibility string
- reg: control registers base address and size including configuration space
- interrupts: interrupt generated by the device

Example:

virtio_block@3000 {
compatible = "virtio,mmio";
reg = <0x3000 0x100>;
interrupts = <41>;
}
11 changes: 11 additions & 0 deletions trunk/drivers/virtio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,15 @@ config VIRTIO_BALLOON

If unsure, say M.

config VIRTIO_MMIO
tristate "Platform bus driver for memory mapped virtio devices (EXPERIMENTAL)"
depends on EXPERIMENTAL
select VIRTIO
select VIRTIO_RING
---help---
This drivers provides support for memory mapped virtio
platform device driver.

If unsure, say N.

endmenu
1 change: 1 addition & 0 deletions trunk/drivers/virtio/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
obj-$(CONFIG_VIRTIO) += virtio.o
obj-$(CONFIG_VIRTIO_RING) += virtio_ring.o
obj-$(CONFIG_VIRTIO_MMIO) += virtio_mmio.o
obj-$(CONFIG_VIRTIO_PCI) += virtio_pci.o
obj-$(CONFIG_VIRTIO_BALLOON) += virtio_balloon.o
Loading

0 comments on commit a139948

Please sign in to comment.