forked from Imagelibrary/rtems
2011-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/smc91111.c: Use PRIxPTR to print pointers.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2011-10-19 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* libchip/network/smc91111.c: Use PRIxPTR to print pointers.
|
||||||
|
|
||||||
2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
|
2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
|
||||||
|
|
||||||
PR 1917/bsps
|
PR 1917/bsps
|
||||||
|
|||||||
@@ -445,8 +445,8 @@ static int readpacket(struct lan91cxx_priv_data *cpd)
|
|||||||
struct mbuf *n = m;
|
struct mbuf *n = m;
|
||||||
db_printf("mbuf-chain:");
|
db_printf("mbuf-chain:");
|
||||||
while (n) {
|
while (n) {
|
||||||
db_printf("[%x:%x]",
|
db_printf("[%" PRIxPTR ":%x]",
|
||||||
(unsigned int)(n-> m_data),
|
n->m_data,
|
||||||
(unsigned int)(n->m_len));
|
(unsigned int)(n->m_len));
|
||||||
n = n->m_next;
|
n = n->m_next;
|
||||||
}
|
}
|
||||||
@@ -1273,8 +1273,8 @@ static int smc_probe(struct lan91cxx_priv_data *cpd)
|
|||||||
if (!chip_ids[(revision_register >> 4) & 0xF]) {
|
if (!chip_ids[(revision_register >> 4) & 0xF]) {
|
||||||
/* I don't recognize this chip, so... */
|
/* I don't recognize this chip, so... */
|
||||||
db_printf
|
db_printf
|
||||||
("smc_probe: IO %x: Unrecognized revision register:"
|
("smc_probe: IO %" PRIxPTR ": Unrecognized revision register:"
|
||||||
" %x, Contact author. \n", (unsigned int)cpd->base,
|
" %x, Contact author. \n", cpd->base,
|
||||||
revision_register);
|
revision_register);
|
||||||
|
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|||||||
Reference in New Issue
Block a user