Print this page
7127 remove -Wno-missing-braces from Makefile.uts
*** 158,169 ****
static struct {
uint8_t mem_range_bar_offset;
uint8_t io_range_bar_offset;
uint8_t prefetch_mem_range_bar_offset;
} pcicfg_indirect_map_devs[] = {
! PCI_CONF_BASE3, PCI_CONF_BASE2, PCI_CONF_BASE3,
! 0, 0, 0,
};
#define PCICFG_MAKE_REG_HIGH(busnum, devnum, funcnum, register)\
(\
((ulong_t)(busnum & 0xff) << 16) |\
--- 158,169 ----
static struct {
uint8_t mem_range_bar_offset;
uint8_t io_range_bar_offset;
uint8_t prefetch_mem_range_bar_offset;
} pcicfg_indirect_map_devs[] = {
! { PCI_CONF_BASE3, PCI_CONF_BASE2, PCI_CONF_BASE3 },
! { 0, 0, 0 },
};
#define PCICFG_MAKE_REG_HIGH(busnum, devnum, funcnum, register)\
(\
((ulong_t)(busnum & 0xff) << 16) |\
*** 380,390 ****
&mod_miscops, /* Type of module */
"PCI configurator"
};
static struct modlinkage modlinkage = {
! MODREV_1, (void *)&modlmisc, NULL
};
#ifdef DEBUG
--- 380,390 ----
&mod_miscops, /* Type of module */
"PCI configurator"
};
static struct modlinkage modlinkage = {
! MODREV_1, { (void *)&modlmisc, NULL }
};
#ifdef DEBUG