IB/ipath: Fix EEPROM read when driver is compiled with -Os
authorBryan O'Sullivan <bos@pathscale.com>
Thu, 28 Sep 2006 16:00:19 +0000 (09:00 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 28 Sep 2006 18:17:05 +0000 (11:17 -0700)
The EEPROM is read via programmable I/O pins. When the driver
is compiled -Os, the CPU can speculatively read the I/O
value before it is valid.  This patch fixes the problem.

Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found