lkml.org 
[lkml]   [2000]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjecthdparm -d 1 fail test9-pre8
Greetings,

In order for hdparm -d 1 to work in test9-pre8, I had to reverse
this change. (Without being able to enable dma, performance here
is muy el-stinko;-) Is enabling dma manually now forbidden? (or
am I maybe missing something else?)

diff -urN linux-2.4.0-test9-pre7/drivers/ide/ide-pci.c linux-2.4.0-test9-pre8/drivers/ide/ide-pci.c
--- linux-2.4.0-test9-pre7/drivers/ide/ide-pci.c Sun Jul 30 06:30:13 2000
+++ linux-2.4.0-test9-pre8/drivers/ide/ide-pci.c Mon Oct 2 10:11:36 2000
@@ -538,7 +538,7 @@
* Can we trust the reported IRQ?
*/
pciirq = dev->irq;
- if ((dev->class & ~(0xfa)) != ((PCI_CLASS_STORAGE_IDE << 8) | 5)) {
+ if ((dev->class & ~(0xff)) != (PCI_CLASS_STORAGE_IDE << 8)) {
printk("%s: not 100%% native mode: will probe irqs later\n", d->name);
/*
* This allows offboard ide-pci cards the enable a BIOS,
From dmesg:
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c596b IDE UDMA66 controller on pci0:7.1
ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:pio
hda: IBM-DJNA-352030, ATA DISK drive
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hdc: MATSHITADVD-ROM SR-8583A, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 39876480 sectors (20417 MB) w/1966KiB Cache, CHS=2482/255/63, UDMA(33)
hdc: ATAPI 32X DVD-ROM drive, 512kB Cache, DMA

please cc mikeg@weiden.de, as mikeg@wen-online.de is nothing but a
mail black-hole. (provider must be trying to trim his customer base:)

-Mike

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.127 / U:0.344 seconds]
©2003-2011 Jasper Spaans. Advertise on this site