Re: 2 simple ide questions

From: Andre Hedrick (andre@linux-ide.org)
Date: Tue May 16 2000 - 15:26:39 EST


You need 2.3.99-pre9-2 and "CONFIG_VIA82CXXX_TUNING"
idebus=33
Lets hope all the combinations for your hardware is present.
This code maybe volitate.

Since there are two different timing tables based on the presence of the
80c ribbon.

                80c ribbon 40c ribbon
Ultra mode 2 0xE2 0xE0

Drat........I just found a goofy...........A bit does not get preserved,
this is only the ATA-66 clocking bit............

Wait before trying.............

On 16 May 2000 nbecker@fred.net wrote:

> New kernel 2.3.99-pre8.
> CONFIG_BLK_DEV_VIA82CXXX=y
> # CONFIG_VIA82CXXX_TUNING is not set
> # CONFIG_IDE_CHIPSETS is not set
> CONFIG_IDEDMA_AUTO=y
> CONFIG_BLK_DEV_IDE_MODES=y
>
> I noticed it came up without DMA.
>
> 1) How do I make sure it boots up with DMA?
>
> 2) How do I tell if I'm using UDMA/66?
>
> cat /proc/ide/via
> Command register = 0x7
> Master Read Cycle IRDY 0 Wait State
> Master Write Cycle IRDY 0 Wait State
> FIFO Output Data 1/2 Clock Advance: off
> Bus Master IDE Status Register Read Retry: on
> Latency timer = 32 (max. = 0)
> Interrupt Steering Swap: off
> ------------------Primary IDE------------Secondary IDE-----
> both channels togth: yes yes
> Prefetch Buffer : on on
> Post Write Buffer: on on
> FIFO Conf/Chan. : 08 08
> Threshold Prim. : 1/2 1/2
> Read DMA FIFO flush: on on
> End Sect. FIFO flush: on on
> Max DRDY Pulse Width: No limitation
> Bytes Per Sector: 512 512
> --------------drive0------drive1-------drive0------drive1----
> DMA enabled: yes no yes no
> Act Pls Width: 03 11 03 07
> Recovery Time: 02 09 02 06
> Add. Setup T.: 4T 4T 4T 4T
> ------------------UDMA-Timing-Control------------------------
> Enable Meth.: 1 0 1 0
> Enable: yes no yes no
> Transfer Mode: PIO DMA PIO DMA
> Cycle Time: 3T 5T 3T 5T
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

Andre Hedrick
The Linux ATA/IDE guy

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



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:11 EST