> case PCI_MAPREG_TYPE_MEM | PCI_MAPREG_MEM_TYPE_32BIT: > case PCI_MAPREG_TYPE_MEM | PCI_MAPREG_MEM_TYPE_64BIT: > memh_valid = (pci_mapreg_map(pa, RTK_PCI_LOMEM, > - PCI_MAPREG_TYPE_MEM, 0, &memt, &memh, NULL, &memsize) == 0); > + memtype, 0, &memt, &memh, NULL, &memsize) == 0); > default: > memh_valid = 0; > } missing break? enami.