fix two missed style issues in switch, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40771 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f7008de829
commit
c0467a9613
@ -581,8 +581,7 @@ static bool probeDevice(device_info *di)
|
|||||||
di->is_igp = (device->features & INTEGRATED) ? true : false;
|
di->is_igp = (device->features & INTEGRATED) ? true : false;
|
||||||
|
|
||||||
// detect chips with broken I2C
|
// 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_LZ:
|
||||||
case DEVICE_ID_RADEON_LW:
|
case DEVICE_ID_RADEON_LW:
|
||||||
@ -600,8 +599,7 @@ static bool probeDevice(device_info *di)
|
|||||||
// disable 2d DMA engine for chips that don't work with our
|
// disable 2d DMA engine for chips that don't work with our
|
||||||
// dma code (yet). I would have used asic type, but R410s are
|
// dma code (yet). I would have used asic type, but R410s are
|
||||||
// treated same asic as r420s in code, and the AGP x800 works fine.
|
// treated same asic as r420s in code, and the AGP x800 works fine.
|
||||||
switch (device->device_id)
|
switch (device->device_id) {
|
||||||
{
|
|
||||||
// rv370
|
// rv370
|
||||||
case DEVICE_ID_RADEON_5b60:
|
case DEVICE_ID_RADEON_5b60:
|
||||||
case DEVICE_ID_RADEON_5b62:
|
case DEVICE_ID_RADEON_5b62:
|
||||||
|
Loading…
Reference in New Issue
Block a user