Skip to content

Commit f76e5bb

Browse files
committed
dos, sndpci (libau): Intel HDA PCI ID updates from Mpxplay-1.68.
also sync the source copyright headers with Mpxplay-1.68
1 parent 641de4a commit f76e5bb

File tree

15 files changed

+71
-23
lines changed

15 files changed

+71
-23
lines changed

oslibs/dos/libau/lib/libau.a

536 Bytes
Binary file not shown.

oslibs/dos/libau/sndpci.dxe

416 Bytes
Binary file not shown.

oslibs/dos/libau/src/ac97_def.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
//* This file is part of the *
33
//* Mpxplay - audio player. *
44
//* The source code of Mpxplay is *
5-
//* (C) copyright 1998-2009 by PDSoft (Attila Padar) *
5+
//* (C) copyright 1998-2025 by PDSoft (Attila Padar) *
66
//* http://mpxplay.sourceforge.net *
7-
//* email: mpxplay@freemail.hu *
7+
//* email: mpxplay@hotmail.com *
88
//**************************************************************************
99
//* This program is distributed in the hope that it will be useful, *
1010
//* but WITHOUT ANY WARRANTY; without even the implied warranty of *

oslibs/dos/libau/src/pcibios.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
//* This file is part of the *
33
//* Mpxplay - audio player. *
44
//* The source code of Mpxplay is *
5-
//* (C) copyright 1998-2023 by PDSoft (Attila Padar) *
5+
//* (C) copyright 1998-2025 by PDSoft (Attila Padar) *
66
//* http://mpxplay.sourceforge.net *
7-
//* email: mpxplay@freemail.hu *
7+
//* email: mpxplay@hotmail.com *
88
//**************************************************************************
99
//* This program is distributed in the hope that it will be useful, *
1010
//* but WITHOUT ANY WARRANTY; without even the implied warranty of *

oslibs/dos/libau/src/pcibios.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
//**************************************************************************
2+
//* This file is part of the *
3+
//* Mpxplay - audio player. *
4+
//* The source code of Mpxplay is *
5+
//* (C) copyright 1998-2025 by PDSoft (Attila Padar) *
6+
//* http://mpxplay.sourceforge.net *
7+
//* email: mpxplay@hotmail.com *
8+
//**************************************************************************
9+
//* This program is distributed in the hope that it will be useful, *
10+
//* but WITHOUT ANY WARRANTY; without even the implied warranty of *
11+
//* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
12+
//* Please contact with the author (with me) if you want to use *
13+
//* or modify this source. *
14+
//**************************************************************************
15+
//function: definitions for PCI bios handling
16+
117
#ifndef pcibios_h
218
#define pcibios_h
319

oslibs/dos/libau/src/sc_cmi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
//* This file is part of the *
33
//* Mpxplay - audio player. *
44
//* The source code of Mpxplay is *
5-
//* (C) copyright 1998-2008 by PDSoft (Attila Padar) *
5+
//* (C) copyright 1998-2025 by PDSoft (Attila Padar) *
66
//* http://mpxplay.sourceforge.net *
7-
//* email: mpxplay@freemail.hu *
7+
//* email: mpxplay@hotmail.com *
88
//**************************************************************************
99
//* This program is distributed in the hope that it will be useful, *
1010
//* but WITHOUT ANY WARRANTY; without even the implied warranty of *

oslibs/dos/libau/src/sc_e1371.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
//* This file is part of the *
33
//* Mpxplay - audio player. *
44
//* The source code of Mpxplay is *
5-
//* (C) copyright 1998-2009 by PDSoft (Attila Padar) *
5+
//* (C) copyright 1998-2025 by PDSoft (Attila Padar) *
66
//* http://mpxplay.sourceforge.net *
7-
//* email: mpxplay@freemail.hu *
7+
//* email: mpxplay@hotmail.com *
88
//**************************************************************************
99
//* This program is distributed in the hope that it will be useful, *
1010
//* but WITHOUT ANY WARRANTY; without even the implied warranty of *

oslibs/dos/libau/src/sc_ich.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
//* This file is part of the *
33
//* Mpxplay - audio player. *
44
//* The source code of Mpxplay is *
5-
//* (C) copyright 1998-2008 by PDSoft (Attila Padar) *
5+
//* (C) copyright 1998-2025 by PDSoft (Attila Padar) *
66
//* http://mpxplay.sourceforge.net *
7-
//* email: mpxplay@freemail.hu *
7+
//* email: mpxplay@hotmail.com *
88
//**************************************************************************
99
//* This program is distributed in the hope that it will be useful, *
1010
//* but WITHOUT ANY WARRANTY; without even the implied warranty of *

oslibs/dos/libau/src/sc_inthd.c

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
//* This file is part of the *
33
//* Mpxplay - audio player. *
44
//* The source code of Mpxplay is *
5-
//* (C) copyright 1998-2023 by PDSoft (Attila Padar) *
5+
//* (C) copyright 1998-2025 by PDSoft (Attila Padar) *
66
//* http://mpxplay.sourceforge.net *
7-
//* email: mpxplay@freemail.hu *
7+
//* email: mpxplay@hotmail.com *
88
//**************************************************************************
99
//* This program is distributed in the hope that it will be useful, *
1010
//* but WITHOUT ANY WARRANTY; without even the implied warranty of *
@@ -169,6 +169,7 @@ static void azx_init_pci(struct intelhd_card_s *card)
169169
case AZX_DRIVER_PCH:
170170
case AZX_DRIVER_SKL:
171171
case AZX_DRIVER_HDMI:
172+
case AZX_DRIVER_ZHAOXINHDMI:
172173
tmp = pcibios_ReadConfig_Word(card->pci_dev, INTEL_SCH_HDA_DEVC);
173174
if(tmp&INTEL_SCH_HDA_DEVC_NOSNOOP)
174175
pcibios_WriteConfig_Word(card->pci_dev, INTEL_SCH_HDA_DEVC, tmp & (~INTEL_SCH_HDA_DEVC_NOSNOOP));
@@ -970,10 +971,15 @@ static pci_device_s intelhda_devices[]={
970971
{"Intel SKL (Raptor Lake)", 0x8086, 0x51cb, AZX_DRIVER_SKL },
971972
{"Intel SKL (Raptor Lake)", 0x8086, 0x51ce, AZX_DRIVER_SKL },
972973
{"Intel SKL (Raptor Lake)", 0x8086, 0x51cf, AZX_DRIVER_SKL },
973-
{"Intel SKL (Meteorlake-P)", 0x8086, 0x7e28, AZX_DRIVER_SKL },
974+
{"Intel SKL (Raptor Lake)", 0x8086, 0x7e28, AZX_DRIVER_SKL },
975+
{"Intel SKL (Battlemage)", 0x8086, 0xe2f7, AZX_DRIVER_SKL },
974976
{"Intel SKL (Lunarlake-P)", 0x8086, 0xa828, AZX_DRIVER_SKL },
975-
{"Intel SKL (Broxton-P)", 0x8086, 0x5a98, AZX_DRIVER_SKL },
976-
{"Intel SKL (Broxton-T)", 0x8086, 0x1a98, AZX_DRIVER_SKL },
977+
{"Intel SKL (Arrow Lake-S)", 0x8086, 0x7f50, AZX_DRIVER_SKL },
978+
{"Intel SKL (Arrow Lake)", 0x8086, 0x7728, AZX_DRIVER_SKL },
979+
{"Intel SKL (Panther Lake)", 0x8086, 0xe428, AZX_DRIVER_SKL },
980+
{"Intel SKL (Panther Lake-H)", 0x8086, 0xe328, AZX_DRIVER_SKL },
981+
{"Intel SKL (Wildcat Lake)", 0x8086, 0x4d28, AZX_DRIVER_SKL },
982+
{"Intel SKL (ApolloLake)", 0x8086, 0x5a98, AZX_DRIVER_SKL },
977983
{"Intel SKL (Gemini-Lake)", 0x8086, 0x3198, AZX_DRIVER_SKL },
978984
{"Intel HDMI (Haswell)", 0x8086, 0x0a0c, AZX_DRIVER_HDMI },
979985
{"Intel HDMI (Haswell)", 0x8086, 0x0c0c, AZX_DRIVER_HDMI },
@@ -1047,6 +1053,7 @@ static pci_device_s intelhda_devices[]={
10471053
{"ATI HDNS", 0x1002, 0xab28, AZX_DRIVER_ATIHDMI_NS },
10481054
{"ATI HDNS", 0x1002, 0xab30, AZX_DRIVER_ATIHDMI_NS },
10491055
{"ATI HDNS", 0x1002, 0xab38, AZX_DRIVER_ATIHDMI_NS },
1056+
{"ATI HDNS", 0x1002, 0xab40, AZX_DRIVER_ATIHDMI_NS },
10501057
{"VIA 82xx", 0x1106, 0x3288, AZX_DRIVER_VIA },
10511058
{"VIA 7122", 0x1106, 0x9170, AZX_DRIVER_GENERIC },
10521059
{"VIA 6122", 0x1106, 0x9140, AZX_DRIVER_GENERIC },
@@ -1061,6 +1068,13 @@ static pci_device_s intelhda_devices[]={
10611068
{"Vortex86MX", 0x17f3, 0x3010, AZX_DRIVER_GENERIC },
10621069
{"VMwareHD", 0x15ad, 0x1977, AZX_DRIVER_GENERIC },
10631070
{"Zhaoxin", 0x1d17, 0x3288, AZX_DRIVER_ZHAOXIN },
1071+
{"Zhaoxin HDMI", 0x1d17, 0x9141, AZX_DRIVER_ZHAOXINHDMI },
1072+
{"Zhaoxin HDMI", 0x1d17, 0x9142, AZX_DRIVER_ZHAOXINHDMI },
1073+
{"Zhaoxin HDMI", 0x1d17, 0x9144, AZX_DRIVER_ZHAOXINHDMI },
1074+
{"Zhaoxin HDMI", 0x1d17, 0x9145, AZX_DRIVER_ZHAOXINHDMI },
1075+
{"Zhaoxin HDMI", 0x1d17, 0x9146, AZX_DRIVER_ZHAOXINHDMI },
1076+
{"Loongson HDA", 0x0014, 0x7a07, AZX_DRIVER_LOONGSON },
1077+
{"Loongson HDMI",0x0014, 0x7a37, AZX_DRIVER_HDMI },
10641078

10651079
{"NVidia MCP51", 0x10de, 0x026c, AZX_DRIVER_NVIDIA },
10661080
{"NVidia MCP55", 0x10de, 0x0371, AZX_DRIVER_NVIDIA },
@@ -1092,6 +1106,7 @@ static pci_device_s intelhda_devices[]={
10921106
};
10931107

10941108
static struct codec_vendor_list_s codecvendorlist[]={
1109+
{0x0014,"Loongson"},
10951110
{0x1002,"ATI"},
10961111
{0x1013,"Cirrus Logic"},
10971112
{0x1057,"Motorola"},

oslibs/dos/libau/src/sc_inthd.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,8 @@ enum {
422422
AZX_DRIVER_CTHDA,
423423
AZX_DRIVER_CMEDIA,
424424
AZX_DRIVER_ZHAOXIN,
425+
AZX_DRIVER_ZHAOXINHDMI,
426+
AZX_DRIVER_LOONGSON,
425427
AZX_DRIVER_GENERIC,
426428
AZX_NUM_DRIVERS
427429
};

0 commit comments

Comments
 (0)