summaryrefslogtreecommitdiffstats
path: root/sys/dev/aha/aha_mca.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-11-09 00:51:52 +0000
committerimp <imp@FreeBSD.org>2003-11-09 00:51:52 +0000
commit2d5987075a0325b5a99da835b5f495fbe6837f8b (patch)
tree65e7871a34e94a5f2d5b53b7f9bf3ad93d21269d /sys/dev/aha/aha_mca.c
parent5834e9c71260fa9cf2293411d4c6acbad5e2a07b (diff)
downloadFreeBSD-src-2d5987075a0325b5a99da835b5f495fbe6837f8b.zip
FreeBSD-src-2d5987075a0325b5a99da835b5f495fbe6837f8b.tar.gz
Make this driver a little more style(9) compliant
Diffstat (limited to 'sys/dev/aha/aha_mca.c')
-rw-r--r--sys/dev/aha/aha_mca.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/aha/aha_mca.c b/sys/dev/aha/aha_mca.c
index d310e80..c3d4417 100644
--- a/sys/dev/aha/aha_mca.c
+++ b/sys/dev/aha/aha_mca.c
@@ -58,9 +58,9 @@ static struct mca_ident aha_mca_devs[] = {
# define AHA_MCA_IOPORT_MASK2 0xc0
# define AHA_MCA_IOPORT_SIZE 0x03
# define AHA_MCA_IOPORT(pos) (0x30 + \
- (((u_int32_t)pos & \
+ (((uint32_t)pos & \
AHA_MCA_IOPORT_MASK1) << 8) + \
- (((u_int32_t)pos & \
+ (((uint32_t)pos & \
AHA_MCA_IOPORT_MASK2) >> 4))
#define AHA_MCA_DRQ_POS MCA_ADP_POS(MCA_POS3)
@@ -85,11 +85,11 @@ aha_mca_probe (device_t dev)
{
const char * desc;
mca_id_t id = mca_get_id(dev);
- u_int32_t iobase = 0;
- u_int32_t iosize = 0;
- u_int8_t drq = 0;
- u_int8_t irq = 0;
- u_int8_t pos;
+ uint32_t iobase = 0;
+ uint32_t iosize = 0;
+ uint8_t drq = 0;
+ uint8_t irq = 0;
+ uint8_t pos;
desc = mca_match_id(id, aha_mca_devs);
if (!desc)
OpenPOWER on IntegriCloud