forked from Imagelibrary/rtems
2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/dec21140.c: Warning elimination (dec21140_softc->base now is an uint32_t).
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
* libchip/network/dec21140.c: Warning elimination
|
||||||
|
(dec21140_softc->base now is an uint32_t).
|
||||||
|
|
||||||
2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
|
2009-12-11 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
PR 1483/cpukit
|
PR 1483/cpukit
|
||||||
|
|||||||
@@ -1003,7 +1003,7 @@ rtems_dec21140_driver_attach (struct rtems_bsdnet_ifconfig *config, int attach)
|
|||||||
tmp = (unsigned int)(lvalue & (unsigned int)(~MEM_MASK))
|
tmp = (unsigned int)(lvalue & (unsigned int)(~MEM_MASK))
|
||||||
+ (unsigned int)PCI_MEM_BASE;
|
+ (unsigned int)PCI_MEM_BASE;
|
||||||
|
|
||||||
sc->base = (unsigned int *)(tmp);
|
sc->base = (uint32_t*)(tmp);
|
||||||
|
|
||||||
pci_read_config_byte(pbus,
|
pci_read_config_byte(pbus,
|
||||||
pdev,
|
pdev,
|
||||||
|
|||||||
Reference in New Issue
Block a user