Bugzilla – Attachment 63609 Details for
Bug 136944
ITE card fails after install (IT8212 Chip Set)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
Possibly better patch
it821x-dma-bug (text/plain), 560 bytes, created by
Jens Axboe
on 2006-01-17 14:01:12 UTC
(
hide
)
Description:
Possibly better patch
Filename:
MIME Type:
Creator:
Jens Axboe
Created:
2006-01-17 14:01:12 UTC
Size:
560 bytes
patch
obsolete
>diff --git a/drivers/ide/pci/it821x.c b/drivers/ide/pci/it821x.c >index 108fda8..91c1f30 100644 >--- a/drivers/ide/pci/it821x.c >+++ b/drivers/ide/pci/it821x.c >@@ -499,9 +499,14 @@ static int config_chipset_for_dma (ide_d > { > u8 speed = ide_dma_speed(drive, it821x_ratemask(drive)); > >- config_it821x_chipset_for_pio(drive, !speed); >- it821x_tune_chipset(drive, speed); >- return ide_dma_enable(drive); >+ if (speed) { >+ config_it821x_chipset_for_pio(drive, 0); >+ it821x_tune_chipset(drive, speed); >+ >+ return ide_dma_enable(drive); >+ } >+ >+ return 0; > } > > /**
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 136944
:
60437
|
60577
|
61131
|
61950
|
61959
| 63609 |
65070