forked from Imagelibrary/rtems
2002-11-13 Jay Monkman <jtm@smoothsmoothie.com>
* network/cs8900.c: I don't know why we have to SelfST register twice on the EDB7312, but it doesn't work on the EDB7312 if we don't.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2002-11-13 Jay Monkman <jtm@smoothsmoothie.com>
|
||||
|
||||
* network/cs8900.c: I don't know why we have to SelfST register
|
||||
twice on the EDB7312, but it doesn't work on the EDB7312 if we don't.
|
||||
|
||||
2002-10-31 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* network/dec21140.c: Removed warnings.
|
||||
|
||||
@@ -261,6 +261,10 @@ cs8900_hardware_init (cs8900_device *cs)
|
||||
rtems_task_wake_after (TOD_MILLISECONDS_TO_TICKS (20));
|
||||
|
||||
status = io_pp_get_reg_16 (dev, CS8900_PP_SelfST);
|
||||
if (status == 0) {
|
||||
printf("Reading status register again\n");
|
||||
status = io_pp_get_reg_16 (dev, CS8900_PP_SelfST);
|
||||
}
|
||||
|
||||
if (((status & CS8900_SELF_STATUS_INITD) == 0) ||
|
||||
((status & CS8900_SELF_STATUS_INITD) &&
|
||||
|
||||
Reference in New Issue
Block a user