From: Georg Schiesser Date: Tue, 10 May 2016 21:39:42 +0000 (+0200) Subject: configs: fixed typo in e1000-demo pio_bitmap X-Git-Url: http://rtime.felk.cvut.cz/gitweb/jailhouse.git/commitdiff_plain/35b46d012c03070e7bce21171a058648a0710428?hp=865db819d8783b23fd1e414d722e00997035e7e4 configs: fixed typo in e1000-demo pio_bitmap The pio_bitmap initialization incorrectly assigns overlapping ranges to different values, similar to commit 886ca63f. As Jan pointed out: "Fortunately, it was harmless because succeeding initializations overwrote this exceeding one." see also: https://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html Signed-off-by: Georg Schiesser Signed-off-by: Jan Kiszka --- diff --git a/configs/e1000-demo.c b/configs/e1000-demo.c index 088d92a..b935f07 100644 --- a/configs/e1000-demo.c +++ b/configs/e1000-demo.c @@ -69,7 +69,7 @@ struct { .pio_bitmap = { [ 0/8 ... 0x2f7/8] = -1, [ 0x2f8/8 ... 0x2ff/8] = 0, /* serial2 */ - [ 0x300/8 ... 0xcfff/8] = -1, + [ 0x300/8 ... 0xbfff/8] = -1, [0xc000/8 ... 0xc03f/8] = 0, /* e1000 */ [0xc040/8 ... 0xdfff/8] = -1, [0xe000/8 ... 0xe007/8] = 0, /* OXPCIe952 serial2 */