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:
Joel Sherrill
2002-11-13 15:34:39 +00:00
parent b10520f32e
commit aae96a2980
2 changed files with 9 additions and 0 deletions

View File

@@ -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.

View File

@@ -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) &&