mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
Coding Style cleanyp; update CHANGELOG
Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
6525489323
commit
aa6f6d171a
5 changed files with 829 additions and 53 deletions
|
@ -5,7 +5,6 @@ Based on sources from the Linux kernel (pcnet_cs.c, 8390.h) and
|
|||
eCOS(if_dp83902a.c, if_dp83902a.h). Both of these 2 wonderful world
|
||||
are GPL, so this is, of course, GPL.
|
||||
|
||||
|
||||
==========================================================================
|
||||
|
||||
dev/if_dp83902a.c
|
||||
|
@ -70,9 +69,7 @@ Add SNMP
|
|||
|
||||
####DESCRIPTIONEND####
|
||||
|
||||
|
||||
==========================================================================
|
||||
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
|
@ -210,7 +207,8 @@ dp83902a_start(u8 * enaddr)
|
|||
dp->running = true;
|
||||
for (i = 0; i < ETHER_ADDR_LEN; i++) {
|
||||
/* FIXME */
|
||||
//*((vu_short*)( base + ((DP_P1_PAR0 + i) * 2) + 0x1400)) = enaddr[i];
|
||||
/*((vu_short*)( base + ((DP_P1_PAR0 + i) * 2) +
|
||||
* 0x1400)) = enaddr[i];*/
|
||||
DP_OUT(base, DP_P1_PAR0+i, enaddr[i]);
|
||||
}
|
||||
/* Enable and start device */
|
||||
|
@ -218,7 +216,6 @@ dp83902a_start(u8 * enaddr)
|
|||
DP_OUT(base, DP_TCR, DP_TCR_NORMAL); /* Normal transmit operations */
|
||||
DP_OUT(base, DP_RCR, DP_RCR_AB); /* Accept broadcast, no errors, no multicast */
|
||||
dp->running = true;
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue