forked from qemu/qemu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
serial: add pci-serial documentation
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
- Loading branch information
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
QEMU pci serial devices | ||
======================= | ||
|
||
There is one single-port variant and two muliport-variants. Linux | ||
guests out-of-the box with all cards. There is a Windows inf file | ||
(docs/qemupciserial.inf) to setup the single-port card in Windows | ||
guests. | ||
|
||
|
||
single-port card | ||
---------------- | ||
|
||
Name: pci-serial | ||
PCI ID: 1b36:0002 | ||
|
||
PCI Region 0: | ||
IO bar, 8 bytes long, with the 16550 uart mapped to it. | ||
Interrupt is wired to pin A. | ||
|
||
|
||
multiport cards | ||
--------------- | ||
|
||
Name: pci-serial-2x | ||
PCI ID: 1b36:0003 | ||
|
||
Name: pci-serial-4x | ||
PCI ID: 1b36:0004 | ||
|
||
PCI Region 0: | ||
IO bar, with two/four 16550 uart mapped after each other. | ||
The first is at offset 0, second at offset 8, ... | ||
Interrupt is wired to pin A. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,8 @@ | |
* THE SOFTWARE. | ||
*/ | ||
|
||
/* see docs/specs/pci-serial.txt */ | ||
|
||
#include "serial.h" | ||
#include "pci.h" | ||
|
||
|