summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking')
-rw-r--r--cpukit/libnetworking/rtems/rtems_mii_ioctl.h4
-rw-r--r--cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_mii_ioctl.h b/cpukit/libnetworking/rtems/rtems_mii_ioctl.h
index 5de2ed4f09..cecdfca236 100644
--- a/cpukit/libnetworking/rtems/rtems_mii_ioctl.h
+++ b/cpukit/libnetworking/rtems/rtems_mii_ioctl.h
@@ -26,13 +26,13 @@ extern "C" {
* RETURNS 0 on success, -1 otherwise (e.g., illegal phy)
*/
typedef int (*rtems_mdio_read_func) (int phy, void *uarg, unsigned reg,
- unsigned32 * pval);
+ uint32_t * pval);
/* write mii register 'reg' at 'phy' (-1 meaning any/currently active)
* RETURNS 0 on success, -1 otherwise (e.g., illegal phy)
*/
typedef int (*rtems_mdio_write_func) (int phy, void *uarg, unsigned reg,
- unsigned32 val);
+ uint32_t val);
/* Values to this must be provided by the driver */
struct rtems_mdio_info
diff --git a/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c b/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c
index cd763917be..3d61f1901c 100644
--- a/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c
+++ b/cpukit/libnetworking/rtems/rtems_mii_ioctl_kern.c
@@ -44,7 +44,7 @@ int
rtems_mii_ioctl (struct rtems_mdio_info *info, void *uarg, int cmd,
int *media)
{
- unsigned32 bmcr, bmsr, bmcr2 = 0, bmsr2 = 0, anar, lpar;
+ uint32_t bmcr, bmsr, bmcr2 = 0, bmsr2 = 0, anar, lpar;
int phy = IFM_INST (*media);
unsigned tmp;
int subtype = 0, options = 0;