From 3745a61c4fd3e13099d1fd0668063d347d4cc0db Mon Sep 17 00:00:00 2001 From: hornet Date: Wed, 26 Feb 2014 16:04:48 +0000 Subject: mmio: Fix Device Tree example Minor fix: the size of 0x100 was obviously wrong, as it didn't allow for configuration space. Signed-off-by: Pawel Moll git-svn-id: https://tools.oasis-open.org/version-control/svn/virtio@283 0c8fb4dd-22a2-4bb5-bc14-6c75a5f43652 --- content.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content.tex') diff --git a/content.tex b/content.tex index c4cbe81..240bafa 100644 --- a/content.tex +++ b/content.tex @@ -1681,10 +1681,10 @@ and interrupt(s) used. The suggested binding for systems using flattened device trees is shown in this example: \begin{lstlisting} -// EXAMPLE: virtio_block device taking 256 bytes at 0x1e000, interrupt 42. +// EXAMPLE: virtio_block device taking 512 bytes at 0x1e000, interrupt 42. virtio_block@1e000 { compatible = "virtio,mmio"; - reg = <0x1e000 0x100>; + reg = <0x1e000 0x200>; interrupts = <42>; } \end{lstlisting} -- cgit v1.2.3