On Wednesday 14 May 2008, Bartlomiej Zolnierkiewicz wrote:[...] Please also try 2.6.26-rc2 without the above patch but with the following patch applied instead - according to comments in OpenFirmware & pata_cs5520 code 0x60 register contains bus-master enable bit, it could be that it was left disabled by BIOS and we need to explicitely enable it (if somebody has CX5510 or CX5520 datasheet please verify this + send me a copy if possible). --- drivers/ide/pci/cs5520.c | 8 ++++++++ 1 file changed, 8 insertions(+) Index: b/drivers/ide/pci/cs5520.c =================================================================== --- a/drivers/ide/pci/cs5520.c +++ b/drivers/ide/pci/cs5520.c @@ -147,6 +147,7 @@ static int __devinit cs5520_init_one(str { const struct ide_port_info *d = &cyrix_chipsets[id->driver_data]; u8 idx[4] = { 0xff, 0xff, 0xff, 0xff }; + u8 pcicfg; ide_setup_pci_noise(dev, d); @@ -163,6 +164,13 @@ static int __devinit cs5520_init_one(str return -ENODEV; } + pci_read_config_byte(dev, 0x60, &pcicfg); + + if ((pcicfg & 0x40) == 0) { + printk(KERN_WARNING "cs5520: DMA mode disabled. Enabling.\n"); + pci_write_config_byte(dev, 0x60, pcicfg | 0x40); + } + /* * Now the chipset is configured we can let the core * do all the device setup for us --
| debian developer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Linus Torvalds | Re: Slow DOWN, please!!! |
| Tony Lindgren | [PATCH 37/90] ARM: OMAP: MPUIO wake updates |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Alexey Dobriyan | Re: [GIT]: Networking |
| Dushan Tcholich | Re: ksoftirqd high cpu load on kernels 2.6.24 to 2.6.27-rc1-mm1 |
