aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ctau
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2016-01-27 02:23:54 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2016-01-27 02:23:54 +0000
commit2dd1bdf1834c53d048d3d9a7079b45afea5cecd7 (patch)
tree5ac500b634909ff3fe2556201aef7e16d85316d2 /sys/dev/ctau
parent1cdc5f0b8794e82f0cbf9dca07967ca2559ba331 (diff)
Notes
Diffstat (limited to 'sys/dev/ctau')
-rw-r--r--sys/dev/ctau/if_ct.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ctau/if_ct.c b/sys/dev/ctau/if_ct.c
index e7b892794bc5..da8d32c11022 100644
--- a/sys/dev/ctau/if_ct.c
+++ b/sys/dev/ctau/if_ct.c
@@ -317,8 +317,8 @@ static short porttab [] = {
static char dmatab [] = { 7, 6, 5, 0 };
static char irqtab [] = { 5, 10, 11, 7, 3, 15, 12, 0 };
-static int ct_is_free_res (device_t dev, int rid, int type, u_long start,
- u_long end, u_long count)
+static int ct_is_free_res (device_t dev, int rid, int type, rman_res_t start,
+ rman_res_t end, rman_res_t count)
{
struct resource *res;
@@ -332,7 +332,7 @@ static int ct_is_free_res (device_t dev, int rid, int type, u_long start,
static void ct_identify (driver_t *driver, device_t dev)
{
- u_long iobase, rescount;
+ rman_res_t iobase, rescount;
int devcount;
device_t *devices;
device_t child;
@@ -440,7 +440,7 @@ static void ct_identify (driver_t *driver, device_t dev)
static int ct_probe (device_t dev)
{
int unit = device_get_unit (dev);
- u_long iobase, rescount;
+ rman_res_t iobase, rescount;
if (!device_get_desc (dev) ||
strcmp (device_get_desc (dev), "Cronyx Tau-ISA"))
@@ -529,7 +529,7 @@ ct_bus_dma_mem_free (ct_dma_mem_t *dmem)
static int ct_attach (device_t dev)
{
bdrv_t *bd = device_get_softc (dev);
- u_long iobase, drq, irq, rescount;
+ rman_res_t iobase, drq, irq, rescount;
int unit = device_get_unit (dev);
char *ct_ln = CT_LOCK_NAME;
ct_board_t *b;