diff options
author | Shayne Chen <shayne.chen@mediatek.com> | 2025-04-09 22:07:41 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2025-05-21 14:49:31 +0200 |
commit | 7014fe5358601d882b2809dea9fd1f6be409c943 (patch) | |
tree | aaac2bd4265b466ae4d3335d909973d0984fc2f4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0b0ff976af94fc2437b62e3798f11aacc3798613 (diff) |
wifi: mt76: mt7996: add macros for pci device ids
The chipset name (i.e., brand name) used by the driver may cause confusion
with the PCI device ID when adding support for new chipsets.
| Chipset name | PCI device id |
|--------------|----------------|
| 7996 | 0x7990, 0x7991 |
| 7992 | 0x7992, 0x799a |
| 7990 | 0x7993, 0x799b |
To prevent confusion, replace the code that directly uses the device ID
with macros. This is a preliminary patch to support mt7990 chipset.
Co-developed-by: Peter Chiu <chui-hao.chiu@mediatek.com>
Signed-off-by: Peter Chiu <chui-hao.chiu@mediatek.com>
Signed-off-by: Shayne Chen <shayne.chen@mediatek.com>
Link: https://patch.msgid.link/20250409140750.724437-2-shayne.chen@mediatek.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions