diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-06-03 13:18:34 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-06-03 13:18:34 +0000 |
commit | 3ef04528026bfbe8fd69fc5349c12166d09396bb (patch) | |
tree | bbec853b8acf8b86d31f5f596b4b0a4928b56dde /sys/arch/amd64/include | |
parent | b8754135339aadeff478928b5a99e6ca37092f38 (diff) |
Add support for serial consoles at non-standard addresses. This implements
a new "machine comaddr" command that makes it possible to configure the
io port used to access the serial port. This can be used to use serial ports
on a puc(4) device as serial console.
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r-- | sys/arch/amd64/include/biosvar.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/biosvar.h b/sys/arch/amd64/include/biosvar.h index abdb416b45e..7c993d09439 100644 --- a/sys/arch/amd64/include/biosvar.h +++ b/sys/arch/amd64/include/biosvar.h @@ -1,5 +1,5 @@ /* XXX - DSR */ -/* $OpenBSD: biosvar.h,v 1.15 2012/01/11 15:58:27 jsing Exp $ */ +/* $OpenBSD: biosvar.h,v 1.16 2012/06/03 13:18:33 kettenis Exp $ */ /* * Copyright (c) 1997-1999 Michael Shalayeff @@ -196,8 +196,16 @@ typedef struct _bios_pciinfo { typedef struct _bios_consdev { dev_t consdev; int conspeed; + int consaddr; + int consfreq; } __packed bios_consdev_t; +/* XXX Remove before OpenBSD 5.3 gets released. */ +typedef struct _bios_oconsdev { + dev_t consdev; + int conspeed; +} __packed bios_oconsdev_t; + #define BOOTARG_BOOTMAC 7 typedef struct _bios_bootmac { char mac[6]; |