Ticket #1395: auich_addDeviceID_nForce3_250.diff

File auich_addDeviceID_nForce3_250.diff, 1.5 KB (added by ul1984, 12 years ago)

patch, which adds the nForce 250 ac97 device ID to the auich driver

  • src/add-ons/kernel/drivers/audio/ac97/auich/auich.h

     
    6262#define NVIDIA_nForce_AC97_DEVICE_ID    0x01B1
    6363#define NVIDIA_nForce2_AC97_DEVICE_ID   0x006A
    6464#define NVIDIA_nForce3_AC97_DEVICE_ID   0x00DA
     65#define NVIDIA_nF3_250_AC97_DEVICE_ID   0x00EA
    6566#define AMD_VENDOR_ID       0x1022  /* Amd */
    6667#define AMD_AMD8111_AC97_DEVICE_ID  0x764d
    6768#define AMD_AMD768_AC97_DEVICE_ID   0x7445 
  • src/add-ons/kernel/drivers/audio/ac97/auich/auich.c

     
    551551            (info.device_id == NVIDIA_nForce_AC97_DEVICE_ID
    552552            || info.device_id == NVIDIA_nForce2_AC97_DEVICE_ID
    553553            || info.device_id == NVIDIA_nForce3_AC97_DEVICE_ID
     554            || info.device_id == NVIDIA_nF3_250_AC97_DEVICE_ID
    554555            ))
    555556        || (info.vendor_id == AMD_VENDOR_ID &&
    556557            (info.device_id == AMD_AMD8111_AC97_DEVICE_ID
     
    792793            (info.device_id == NVIDIA_nForce_AC97_DEVICE_ID
    793794            || info.device_id == NVIDIA_nForce2_AC97_DEVICE_ID
    794795            || info.device_id == NVIDIA_nForce3_AC97_DEVICE_ID
     796            || info.device_id == NVIDIA_nF3_250_AC97_DEVICE_ID
    795797            ))
    796798        || (info.vendor_id == AMD_VENDOR_ID &&
    797799            (info.device_id == AMD_AMD8111_AC97_DEVICE_ID