Re: 2 simple ide questions

From: nbecker@fred.net
Date: Tue May 16 2000 - 16:33:07 EDT

  • Next message: Lech Szychowski: "Re: info on System.map"

    Thanks for the info. CONFIG_VIA82CXXX_TUNING is not settable via make
    menuconfig. Is that an oversight? Should I just set it manually?

    >>>>> "Andre" == Andre Hedrick <andre@linux-ide.org> writes:

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

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

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

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

        Andre> Wait before trying.............

        Andre> 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> Andre Hedrick
        Andre> 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 16 2000 - 17:04:01 EDT