FreeBSD/sys/dev/pci/pci.c
/* return map type of memory or port map */
return map type of memory or port map
return map type of memory or port map
static const char *
pci_maptype(uint64_t mapreg)
{
	if (PCI_BAR_IO(mapreg))
		return ("I/O Port");
	if (mapreg & PCIM_BAR_MEM_PREFETCH)
		return ("Prefetchable Memory");
	return ("Memory");
}
static const char * pci_maptype ( uint64_t mapreg ) { if ( PCI_BAR_IO ( mapreg ) ) return ( " " ) ; if ( mapreg & PCIM_BAR_MEM_PREFETCH ) return ( " " ) ; return ( " " ) ; }
return map type of memory or port map
return map type of memory or port map