Re: [PATCH 23/64] pata_via: store UDMA masks in via_isa_bridges table

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

 



> +	switch (udma_type) {
> +	case ATA_UDMA4:
> +		UT = T / 2; break;
> +	case ATA_UDMA5:
> +		UT = T / 3; break;
> +	case ATA_UDMA6:
> +		UT = T / 4; break;
> +	}

UT = T (udma_type - ATA_UDMA3) ?



Looks good
--
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