* added pci id for Nvidia Nforce MCP04 AC97 in auich

* clean up the pci ids


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25418 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2008-05-10 13:05:52 +00:00
parent 14cc96293c
commit 4d25ad47a9
2 changed files with 23 additions and 20 deletions

View File

@ -552,8 +552,9 @@ init_hardware(void)
|| info.device_id == NVIDIA_nForce2_400_AC97_DEVICE_ID
|| info.device_id == NVIDIA_nForce3_AC97_DEVICE_ID
|| info.device_id == NVIDIA_nForce3_250_AC97_DEVICE_ID
|| info.device_id == NVIDIA_nForce4_AC97_DEVICE_ID
|| info.device_id == NVIDIA_nForce430_AC97_DEVICE_ID
|| info.device_id == NVIDIA_CK804_AC97_DEVICE_ID
|| info.device_id == NVIDIA_MCP51_AC97_DEVICE_ID
|| info.device_id == NVIDIA_MCP04_AC97_DEVICE_ID
))
|| (info.vendor_id == AMD_VENDOR_ID &&
(info.device_id == AMD_AMD8111_AC97_DEVICE_ID
@ -801,8 +802,9 @@ init_driver(void)
|| info.device_id == NVIDIA_nForce2_400_AC97_DEVICE_ID
|| info.device_id == NVIDIA_nForce3_AC97_DEVICE_ID
|| info.device_id == NVIDIA_nForce3_250_AC97_DEVICE_ID
|| info.device_id == NVIDIA_nForce4_AC97_DEVICE_ID
|| info.device_id == NVIDIA_nForce430_AC97_DEVICE_ID
|| info.device_id == NVIDIA_CK804_AC97_DEVICE_ID
|| info.device_id == NVIDIA_MCP51_AC97_DEVICE_ID
|| info.device_id == NVIDIA_MCP04_AC97_DEVICE_ID
))
|| (info.vendor_id == AMD_VENDOR_ID &&
(info.device_id == AMD_AMD8111_AC97_DEVICE_ID

View File

@ -51,24 +51,25 @@
#define INTEL_82801AB_AC97_DEVICE_ID 0x2425
#define INTEL_82801BA_AC97_DEVICE_ID 0x2445
#define INTEL_82801CA_AC97_DEVICE_ID 0x2485
#define INTEL_82801DB_AC97_DEVICE_ID 0x24C5
#define INTEL_82801EB_AC97_DEVICE_ID 0x24D5
#define INTEL_82801FB_AC97_DEVICE_ID 0x266E
#define INTEL_82801GB_AC97_DEVICE_ID 0x27DE
#define INTEL_6300ESB_AC97_DEVICE_ID 0x25A6
#define INTEL_82801DB_AC97_DEVICE_ID 0x24c5
#define INTEL_82801EB_AC97_DEVICE_ID 0x24d5
#define INTEL_82801FB_AC97_DEVICE_ID 0x266e
#define INTEL_82801GB_AC97_DEVICE_ID 0x27de
#define INTEL_6300ESB_AC97_DEVICE_ID 0x25a6
#define SIS_VENDOR_ID 0x1039 /* Sis */
#define SIS_SI7012_AC97_DEVICE_ID 0x7012
#define NVIDIA_VENDOR_ID 0x10DE /* Nvidia */
#define NVIDIA_nForce_AC97_DEVICE_ID 0x01B1
#define NVIDIA_nForce2_AC97_DEVICE_ID 0x006A
#define NVIDIA_nForce2_400_AC97_DEVICE_ID 0x008A
#define NVIDIA_nForce3_AC97_DEVICE_ID 0x00DA
#define NVIDIA_nForce3_250_AC97_DEVICE_ID 0x00EA
#define NVIDIA_nForce4_AC97_DEVICE_ID 0x0059
#define NVIDIA_nForce430_AC97_DEVICE_ID 0x026b
#define SIS_SI7012_AC97_DEVICE_ID 0x7012
#define NVIDIA_VENDOR_ID 0x10de /* Nvidia */
#define NVIDIA_nForce_AC97_DEVICE_ID 0x01b1
#define NVIDIA_nForce2_AC97_DEVICE_ID 0x006a
#define NVIDIA_nForce2_400_AC97_DEVICE_ID 0x008a
#define NVIDIA_nForce3_AC97_DEVICE_ID 0x00da
#define NVIDIA_nForce3_250_AC97_DEVICE_ID 0x00ea
#define NVIDIA_CK804_AC97_DEVICE_ID 0x0059
#define NVIDIA_MCP51_AC97_DEVICE_ID 0x026b
#define NVIDIA_MCP04_AC97_DEVICE_ID 0x003a
#define AMD_VENDOR_ID 0x1022 /* Amd */
#define AMD_AMD8111_AC97_DEVICE_ID 0x764d
#define AMD_AMD768_AC97_DEVICE_ID 0x7445
#define AMD_AMD8111_AC97_DEVICE_ID 0x764d
#define AMD_AMD768_AC97_DEVICE_ID 0x7445
#define VERSION "Version alpha 1, Copyright (c) 2003 Jérôme Duval, compiled on " ## __DATE__ ## " " ## __TIME__
#define DRIVER_NAME "auich"