summaryrefslogtreecommitdiff
path: root/oui.h
blob: 564e4a1e5c77e750839ed028660b40452a40c7d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef OUI_H
#define OUI_H

extern const char *lookup_vendor(unsigned int id);
extern void dissector_init_oui(void);
extern void dissector_cleanup_oui(void);

static inline const char *lookup_vendor_str(unsigned int id)
{
	return lookup_vendor(id) ? : "Unknown";
}

#endif /* OUI_H */
r>committerAlex Deucher <alexander.deucher@amd.com>2016-09-02 11:33:15 -0400 commite7706b422c087da851448c420c90821622ee1721 (patch) tree68ad79c880e9e4dbac4ec7815b3226b568130f2e parentf1c0efc537d4d66967cdacd6ccbb93257dc8da3d (diff)
drm/amd/amdgpu: Merge get_rptr functions in gfx8
Signed-off-by: Tom St Denis <tom.stdenis@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c