The namespace of NVKM is being changed to nvkm_ instead of nouveau_, which will be used for the DRM part of the driver. This is being done in order to make it very clear as to what part of the driver a given symbol belongs to, and as a minor step towards splitting the DRM driver out to be able to stand on its own (for virt). Because there's already a large amount of churn here anyway, this is as good a time as any to also switch to NVIDIA's device and chipset naming to ease collaboration with them. A comparison of objdump disassemblies proves no code changes. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
26 lines
607 B
C
26 lines
607 B
C
#ifndef __NVBIOS_EXTDEV_H__
|
|
#define __NVBIOS_EXTDEV_H__
|
|
enum nvbios_extdev_type {
|
|
NVBIOS_EXTDEV_LM89 = 0x02,
|
|
NVBIOS_EXTDEV_VT1103M = 0x40,
|
|
NVBIOS_EXTDEV_PX3540 = 0x41,
|
|
NVBIOS_EXTDEV_VT1105M = 0x42, /* or close enough... */
|
|
NVBIOS_EXTDEV_ADT7473 = 0x70, /* can also be a LM64 */
|
|
NVBIOS_EXTDEV_HDCP_EEPROM = 0x90,
|
|
NVBIOS_EXTDEV_NONE = 0xff,
|
|
};
|
|
|
|
struct nvbios_extdev_func {
|
|
u8 type;
|
|
u8 addr;
|
|
u8 bus;
|
|
};
|
|
|
|
int
|
|
nvbios_extdev_parse(struct nvkm_bios *, int, struct nvbios_extdev_func *);
|
|
|
|
int
|
|
nvbios_extdev_find(struct nvkm_bios *, enum nvbios_extdev_type,
|
|
struct nvbios_extdev_func *);
|
|
#endif
|