forked from Imagelibrary/rtems
2009-05-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/network/i82586.c: Fix warning in manner suggested by Arnout Vandecappelle <arnout@mind.be> in http://www.rtems.org/pipermail/rtems-users/2009-May/005460.html.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2009-05-11 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* libchip/network/i82586.c: Fix warning in manner suggested by
|
||||
Arnout Vandecappelle <arnout@mind.be> in
|
||||
http://www.rtems.org/pipermail/rtems-users/2009-May/005460.html.
|
||||
|
||||
2009-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* libchip/network/if_dc.c: Fixed warnings.
|
||||
|
||||
@@ -1719,7 +1719,7 @@ ie_cfg_setup(struct ie_softc *sc, int cmd, int promiscuous, int manchester)
|
||||
*IE_CMD_CFG_IFS(buf) = 0x60;
|
||||
*IE_CMD_CFG_SLOT_LOW(buf) = 0;
|
||||
*IE_CMD_CFG_SLOT_HIGH(buf) = 0xf2;
|
||||
*IE_CMD_CFG_PROMISC(buf) = !!promiscuous | manchester << 2;
|
||||
*IE_CMD_CFG_PROMISC(buf) = (!!promiscuous) | (manchester << 2);
|
||||
*IE_CMD_CFG_CRSCDT(buf) = 0;
|
||||
*IE_CMD_CFG_MINLEN(buf) = 64;
|
||||
*IE_CMD_CFG_JUNK(buf) = 0xff;
|
||||
|
||||
Reference in New Issue
Block a user