Re: Port Multiplier Patch 2.6.22.1 on Alpha

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

 



Tom Evans wrote:
> In sil24_config_port, the writel's for /* zero error counters */ should
> be writew's - they are 16bit control registers.
> Only PORT_DECODE_ERR_THRESH and PORT_CRC_ERR_THRESH appear to be
> unaligned, but why risk a stl when a stw (on platforms that support it)
> can be used.

That part of the code was taken verbatim from the Silicon Image sample
driver, which I'm sure have been tested only on x86s.  Those error
threshold feature isn't really used and using writew's should be fine.
Do things work better after changing to writew's?

-- 
tejun
-
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