diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2013-03-21 09:24:56 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2013-03-21 09:24:56 +0000 |
commit | f578a7e08d2914c02f836e0388d6f428573fd9f5 (patch) | |
tree | 8f40a8155c3b886d2e305b1b5d46ad9c31c28c7d /sys | |
parent | d49e364ea2bb27f9d388ee15865918d191d8df27 (diff) |
- 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@
Diffstat (limited to 'sys')
-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 *); |