[haiku-commits] Re: r40766 - haiku/trunk/src/add-ons/kernel/drivers/graphics/radeon

  • From: Alexander von Gluck <kallisti5@xxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 1 Mar 2011 13:42:28 -0600

On Tue,  1 Mar 2011 20:26:35 +0100 (CET)
kallisti5@xxxxxxxxxxx wrote:
>                       // detect chips with broken I2C
> -                     switch( device->device_id)
> +                     switch(device->device_id)
>                       {
> -                     case DEVICE_ID_RADEON_LY:
> +                             case DEVICE_ID_RADEON_LY:
>                               case DEVICE_ID_RADEON_LZ:
>                               case DEVICE_ID_RADEON_LW:
>                               case DEVICE_ID_RADEON_LX:
> @@ -588,33 +591,33 @@
>                               case DEVICE_ID_RADEON_Ig:
>                               case DEVICE_ID_RADEON_5460:
>                               case DEVICE_ID_RADEON_5464:
> -                             di->has_no_i2c = true;
> +                                     di->has_no_i2c = true;
> +                                     break;
>                               default:
> -                             di->has_no_i2c = false;
> -                             
> +                                     di->has_no_i2c = false;
>                       }

Sorry for burying the bug fix in style cleanup, should of committed the
style cleanup before the fix. Won't happen again.

Bug fix above.

Thanks!
  -- Alex

Other related posts: