2003-01-03 Victor V. Vengerov <vvv@oktet.ru>

* mbus/mcfmbus.c: Per PR323, move the mbus_send command on line 232
	to after the state has been set.
This commit is contained in:
Joel Sherrill
2003-01-03 17:07:27 +00:00
parent ff38359fc6
commit 5bb1a93cdd
2 changed files with 8 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
2003-01-03 Victor V. Vengerov <vvv@oktet.ru>
* mbus/mcfmbus.c: Per PR323, move the mbus_send command on line 232
to after the state has been set.
2002-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove RTEMS_CHECK_BSP_CACHE.

View File

@@ -225,11 +225,6 @@ mcfmbus_machine(mcfmbus *bus, i2c_event event)
else
{
b = (bus->cmsg->addr & ~0x01);
if (!(bus->cmsg->flags & I2C_MSG_WR))
{
b |= 1;
}
mcfmbus_send(bus, b);
if (bus->cmsg->flags & I2C_MSG_WR)
{
@@ -238,7 +233,10 @@ mcfmbus_machine(mcfmbus *bus, i2c_event event)
else
{
next_state(bus, STATE_ADDR_7);
b |= 1;
}
mcfmbus_send(bus, b);
}
break;