summaryrefslogtreecommitdiffstats
path: root/sys/dev/cy
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-10-16 20:22:56 +0000
committerphk <phk@FreeBSD.org>2005-10-16 20:22:56 +0000
commit2853ff590d956b1bb6b15c5543758e76d69c823c (patch)
tree136df2f5eb3978a913bbef50def66e4c0eb9606d /sys/dev/cy
parent643ec6468f745d42570f07a6873d4eeffe51baa6 (diff)
downloadFreeBSD-src-2853ff590d956b1bb6b15c5543758e76d69c823c.zip
FreeBSD-src-2853ff590d956b1bb6b15c5543758e76d69c823c.tar.gz
Eliminate two unused arguments to ttycreate().
Diffstat (limited to 'sys/dev/cy')
-rw-r--r--sys/dev/cy/cy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c
index d6fe330..75acea5 100644
--- a/sys/dev/cy/cy.c
+++ b/sys/dev/cy/cy.c
@@ -433,7 +433,7 @@ cyattach_common(cy_addr cy_iobase, int cy_align)
swi_add(&clk_ithd, "cy", cypoll, NULL, SWI_CLOCK, 0,
&cy_slow_ih);
}
- ttycreate(tp, NULL, 0, MINOR_CALLOUT, "c%r%r",
+ ttycreate(tp, TS_CALLOUT, "c%r%r",
adapter, unit % CY_MAX_PORTS);
}
}
OpenPOWER on IntegriCloud