projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[POWERPC] Change rheap functions to use ulongs instead of pointers
[powerpc.git]
/
drivers
/
net
/
fs_enet
/
mac-scc.c
diff --git
a/drivers/net/fs_enet/mac-scc.c
b/drivers/net/fs_enet/mac-scc.c
index
d0f2898
..
7540966
100644
(file)
--- a/
drivers/net/fs_enet/mac-scc.c
+++ b/
drivers/net/fs_enet/mac-scc.c
@@
-167,7
+167,7
@@
static int allocate_bd(struct net_device *dev)
fep->ring_mem_addr = cpm_dpalloc((fpi->tx_ring + fpi->rx_ring) *
sizeof(cbd_t), 8);
- if (IS_
DPERR
(fep->ring_mem_addr))
+ if (IS_
ERR_VALUE
(fep->ring_mem_addr))
return -ENOMEM;
fep->ring_base = cpm_dpram_addr(fep->ring_mem_addr);