diff options
author | 2013-03-21 09:24:55 +0000 | |
---|---|---|
committer | 2013-03-21 09:24:55 +0000 | |
commit | 34fd053e805cd767d5b436e5a4423a3fc97b76dd (patch) | |
tree | e31ada8f4e2b45f51bf0d1ef4470cc4603c23b99 | |
parent | Adapt after default USE_LIBTOOL moved from No to Yes. (diff) | |
download | wireguard-openbsd-34fd053e805cd767d5b436e5a4423a3fc97b76dd.tar.xz wireguard-openbsd-34fd053e805cd767d5b436e5a4423a3fc97b76dd.zip |
- remove an unused variable (octeon_configuration)
- add some flags which will be used to determine the device capabilities which
are advertised by uboot.
ok bcallah@ chris@
-rw-r--r-- | sys/arch/octeon/include/octeonvar.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/octeon/include/octeonvar.h b/sys/arch/octeon/include/octeonvar.h index 17f12586340..16d8364996f 100644 --- a/sys/arch/octeon/include/octeonvar.h +++ b/sys/arch/octeon/include/octeonvar.h @@ -272,7 +272,11 @@ struct boot_info { extern struct boot_desc *octeon_boot_desc; extern struct boot_info *octeon_boot_info; -extern struct octeon_config octeon_configuration; +/* Device capabilities advertised in boot_info->config_flags */ +#define BOOTINFO_CFG_FLAG_PCI_HOST (1ull << 0) +#define BOOTINFO_CFG_FLAG_PCI_TARGET (1ull << 1) +#define BOOTINFO_CFG_FLAG_DEBUG (1ull << 2) +#define BOOTINFO_CFG_FLAG_NO_MAGIC (1ull << 3) void octeon_bus_io_init(bus_space_tag_t, void *); void octeon_bus_mem_init(bus_space_tag_t, void *); |