summaryrefslogtreecommitdiffstats
path: root/sys/dev/ep/if_ep_mca.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-01-20 19:39:33 +0000
committerimp <imp@FreeBSD.org>2005-01-20 19:39:33 +0000
commit6193b800a7f300567ec09c58a90a968508d8fc37 (patch)
treec6022259f2ff57d41973259f33e2d6b32277e235 /sys/dev/ep/if_ep_mca.c
parent3afb2ac5309053fcf72759aacfa54654aed0323b (diff)
downloadFreeBSD-src-6193b800a7f300567ec09c58a90a968508d8fc37.zip
FreeBSD-src-6193b800a7f300567ec09c58a90a968508d8fc37.tar.gz
u_intXX_t -> uintXX_t while I'm here.
Diffstat (limited to 'sys/dev/ep/if_ep_mca.c')
-rw-r--r--sys/dev/ep/if_ep_mca.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ep/if_ep_mca.c b/sys/dev/ep/if_ep_mca.c
index 3bd1af8..5cb74d4 100644
--- a/sys/dev/ep/if_ep_mca.c
+++ b/sys/dev/ep/if_ep_mca.c
@@ -75,7 +75,7 @@ static struct mca_ident ep_mca_devs[] = {
#define EP_MCA_IOPORT_POS MCA_ADP_POS(MCA_POS2)
#define EP_MCA_IOPORT_MASK 0xfc
#define EP_MCA_IOPORT_SIZE EP_IOSIZE
-#define EP_MCA_IOPORT(pos) ((((u_int32_t)pos & EP_MCA_IOPORT_MASK) \
+#define EP_MCA_IOPORT(pos) ((((uint32_t)pos & EP_MCA_IOPORT_MASK) \
| 0x02) << 8)
#define EP_MCA_IRQ_POS MCA_ADP_POS(MCA_POS3)
@@ -90,9 +90,9 @@ static int
ep_mca_probe(device_t dev)
{
const char *desc;
- u_int32_t iobase = 0;
- u_int8_t irq = 0;
- u_int8_t pos;
+ uint32_t iobase = 0;
+ uint8_t irq = 0;
+ uint8_t pos;
desc = mca_match_id(mca_get_id(dev), ep_mca_devs);
if (!desc)
OpenPOWER on IntegriCloud