]> git.proxmox.com Git - qemu.git/commit
hw/omap: Fix default setup for OMAP UART devices
authorStefan Weil <weil@mail.berlios.de>
Sun, 8 Aug 2010 12:09:26 +0000 (14:09 +0200)
committerAndrzej Zaborowski <balrog@zabor.org>
Thu, 9 Sep 2010 23:55:53 +0000 (01:55 +0200)
commit6a8aabd3c132188ee8e0e82ef4aba09f782cbe96
treeb1867d887a224a7cc75c00a7c253b11ca3da0ee0
parent62dd89dea25b08796fcb83beeac3aea5f5a89c95
hw/omap: Fix default setup for OMAP UART devices

Character devices created by qemu_chr_open don't
allow duplicate device names, so naming all
UART devices "null" no longer works.

Running "qemu-system-arm -M n800" (and some other machines)
results in this error message:

qemu-system-arm: Duplicate ID 'null' for chardev
Can't create serial device, empty char device

This is fixed by setting a default label "uart1",
"uart2" or "uart3".

Cc: Andrzej Zaborowski <andrew.zaborowski@intel.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
hw/omap.h
hw/omap1.c
hw/omap2.c
hw/omap_uart.c