Re: [PATCH] [libata] libata driver for bf548 on chip ATAPI controller.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> + * Register transfer timing table
> + */
> +/*               mode:       0    1    2    3    4    */
> +/* Cycle Time                     */
> +static u32 reg_t0min[]   = { 600, 383, 330, 180, 120 };
> +/* DIOR/DIOW to end cycle         */
> +static u32 reg_t2min[]   = { 290, 290, 290, 70,  25  };
> +/* DIOR/DIOW asserted pulse width */
> +static u32 reg_teocmin[] = { 290, 290, 290, 80,  70  };
> +
> +/**
> + * PIO timing table
> + */
> +/*               mode:       0    1    2    3    4    */
> +/* Cycle Time                     */
> +static u32 pio_t0min[]   = { 600, 383, 240, 180, 120 };
> +/* Address valid to DIOR/DIORW    */
> +static u32 pio_t1min[]   = { 70,  50,  30,  30,  25  };
> +/* DIOR/DIOW to end cycle         */
> +static u32 pio_t2min[]   = { 165, 125, 100, 80,  70  };
> +/* DIOR/DIOW asserted pulse width */
> +static u32 pio_teocmin[] = { 165, 125, 100, 70,  25  };
> +/* DIOW data hold                 */
> +static u32 pio_t4min[]   = { 30,  20,  15,  10,  10  };

Why not use the timing tables provided by libata ?


-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux