patch from ul1984 (bug #1395)

added nForce3 250Gb device id


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21935 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2007-08-13 19:49:29 +00:00
parent b70ffa1a18
commit ac04b57177
2 changed files with 3 additions and 0 deletions

View File

@ -551,6 +551,7 @@ init_hardware(void)
(info.device_id == NVIDIA_nForce_AC97_DEVICE_ID (info.device_id == NVIDIA_nForce_AC97_DEVICE_ID
|| info.device_id == NVIDIA_nForce2_AC97_DEVICE_ID || info.device_id == NVIDIA_nForce2_AC97_DEVICE_ID
|| info.device_id == NVIDIA_nForce3_AC97_DEVICE_ID || info.device_id == NVIDIA_nForce3_AC97_DEVICE_ID
|| info.device_id == NVIDIA_nF3_250_AC97_DEVICE_ID
)) ))
|| (info.vendor_id == AMD_VENDOR_ID && || (info.vendor_id == AMD_VENDOR_ID &&
(info.device_id == AMD_AMD8111_AC97_DEVICE_ID (info.device_id == AMD_AMD8111_AC97_DEVICE_ID
@ -792,6 +793,7 @@ init_driver(void)
(info.device_id == NVIDIA_nForce_AC97_DEVICE_ID (info.device_id == NVIDIA_nForce_AC97_DEVICE_ID
|| info.device_id == NVIDIA_nForce2_AC97_DEVICE_ID || info.device_id == NVIDIA_nForce2_AC97_DEVICE_ID
|| info.device_id == NVIDIA_nForce3_AC97_DEVICE_ID || info.device_id == NVIDIA_nForce3_AC97_DEVICE_ID
|| info.device_id == NVIDIA_nF3_250_AC97_DEVICE_ID
)) ))
|| (info.vendor_id == AMD_VENDOR_ID && || (info.vendor_id == AMD_VENDOR_ID &&
(info.device_id == AMD_AMD8111_AC97_DEVICE_ID (info.device_id == AMD_AMD8111_AC97_DEVICE_ID

View File

@ -62,6 +62,7 @@
#define NVIDIA_nForce_AC97_DEVICE_ID 0x01B1 #define NVIDIA_nForce_AC97_DEVICE_ID 0x01B1
#define NVIDIA_nForce2_AC97_DEVICE_ID 0x006A #define NVIDIA_nForce2_AC97_DEVICE_ID 0x006A
#define NVIDIA_nForce3_AC97_DEVICE_ID 0x00DA #define NVIDIA_nForce3_AC97_DEVICE_ID 0x00DA
#define NVIDIA_nF3_250_AC97_DEVICE_ID 0x00EA
#define AMD_VENDOR_ID 0x1022 /* Amd */ #define AMD_VENDOR_ID 0x1022 /* Amd */
#define AMD_AMD8111_AC97_DEVICE_ID 0x764d #define AMD_AMD8111_AC97_DEVICE_ID 0x764d
#define AMD_AMD768_AC97_DEVICE_ID 0x7445 #define AMD_AMD768_AC97_DEVICE_ID 0x7445