added ICH7/6300ESB ids, untested

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15514 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2005-12-12 13:50:49 +00:00
parent 706fb459d5
commit 61a4bac025
2 changed files with 9 additions and 1 deletions

View File

@ -514,6 +514,8 @@ init_hardware(void)
|| info.device_id == INTEL_82801DB_AC97_DEVICE_ID
|| info.device_id == INTEL_82801EB_AC97_DEVICE_ID
|| info.device_id == INTEL_82801FB_AC97_DEVICE_ID
|| info.device_id == INTEL_82801GB_AC97_DEVICE_ID
|| info.device_id == INTEL_6300ESB_AC97_DEVICE_ID
))
|| (info.vendor_id == SIS_VENDOR_ID &&
(info.device_id == SIS_SI7012_AC97_DEVICE_ID
@ -580,7 +582,9 @@ auich_setup(auich_dev * card)
card->config.type = 0;
if ((card->info.device_id == INTEL_82801DB_AC97_DEVICE_ID)
|| (card->info.device_id == INTEL_82801EB_AC97_DEVICE_ID)
|| (card->info.device_id == INTEL_82801FB_AC97_DEVICE_ID))
|| (card->info.device_id == INTEL_82801FB_AC97_DEVICE_ID)
|| (card->info.device_id == INTEL_82801GB_AC97_DEVICE_ID)
|| (card->info.device_id == INTEL_6300ESB_AC97_DEVICE_ID))
card->config.type |= TYPE_ICH4;
if (card->info.device_id == SIS_SI7012_AC97_DEVICE_ID)
card->config.type |= TYPE_SIS7012;
@ -719,6 +723,8 @@ init_driver(void)
|| info.device_id == INTEL_82801DB_AC97_DEVICE_ID
|| info.device_id == INTEL_82801EB_AC97_DEVICE_ID
|| info.device_id == INTEL_82801FB_AC97_DEVICE_ID
|| info.device_id == INTEL_82801GB_AC97_DEVICE_ID
|| info.device_id == INTEL_6300ESB_AC97_DEVICE_ID
))
|| (info.vendor_id == SIS_VENDOR_ID &&
(info.device_id == SIS_SI7012_AC97_DEVICE_ID

View File

@ -54,6 +54,8 @@
#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 */