FreeBSD/sys/dev/ntb/ntb_hw/ntb_hw.c
/*
 * Well, this obviously doesn't belong here, but it doesn't seem to exist
 * anywhere better yet.
 */
Well, this obviously doesn't belong here, but it doesn't seem to exist
anywhere better yet.
Well this obviously doesn ' t belong here but it doesn ' t seem to exist anywhere better yet .
static inline const char *
ntb_vm_memattr_to_str(vm_memattr_t pat)
{
	switch (pat) {
	case VM_MEMATTR_WRITE_COMBINING:
		return ("WRITE_COMBINING");
	case VM_MEMATTR_WRITE_THROUGH:
		return ("WRITE_THROUGH");
	case VM_MEMATTR_WRITE_PROTECTED:
		return ("WRITE_PROTECTED");
	case VM_MEMATTR_WRITE_BACK:
		return ("WRITE_BACK");
	case VM_MEMATTR_WEAK_UNCACHEABLE:
		return ("UNCACHED");
	case VM_MEMATTR_UNCACHEABLE:
		return ("UNCACHEABLE");
	default:
		return ("UNKNOWN");
	}
}
static inline const char * ntb_vm_memattr_to_str ( vm_memattr_t pat ) { switch ( pat ) { case VM_MEMATTR_WRITE_COMBINING : return ( " " ) ; case VM_MEMATTR_WRITE_THROUGH : return ( " " ) ; case VM_MEMATTR_WRITE_PROTECTED : return ( " " ) ; case VM_MEMATTR_WRITE_BACK : return ( " " ) ; case VM_MEMATTR_WEAK_UNCACHEABLE : return ( " " ) ; case VM_MEMATTR_UNCACHEABLE : return ( " " ) ; default : return ( " " ) ; } }
Well, this obviously doesn't belong here, but it doesn't seem to exist
 anywhere better yet.
Well this obviously doesn ' t belong here but it doesn ' t seem to exist anywhere better yet .