summaryrefslogtreecommitdiffstats
path: root/sys/i4b/layer4
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-06-16 09:47:26 +0000
committerphk <phk@FreeBSD.org>2004-06-16 09:47:26 +0000
commitdfd1f7fd50fffaf75541921fcf86454cd8eb3614 (patch)
tree624c885995e84df6decddd3291c60a15e50e3c85 /sys/i4b/layer4
parentcafb94bcea1cdf048e81b7eb2d24808e1a8c5280 (diff)
downloadFreeBSD-src-dfd1f7fd50fffaf75541921fcf86454cd8eb3614.zip
FreeBSD-src-dfd1f7fd50fffaf75541921fcf86454cd8eb3614.tar.gz
Do the dreaded s/dev_t/struct cdev */
Bump __FreeBSD_version accordingly.
Diffstat (limited to 'sys/i4b/layer4')
-rw-r--r--sys/i4b/layer4/i4b_i4bdrv.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/i4b/layer4/i4b_i4bdrv.c b/sys/i4b/layer4/i4b_i4bdrv.c
index 7b19aec..671cba4 100644
--- a/sys/i4b/layer4/i4b_i4bdrv.c
+++ b/sys/i4b/layer4/i4b_i4bdrv.c
@@ -111,7 +111,7 @@ i4battach(void *dummy)
* i4bopen - device driver open routine
*---------------------------------------------------------------------------*/
static int
-i4bopen(dev_t dev, int flag, int fmt, struct thread *td)
+i4bopen(struct cdev *dev, int flag, int fmt, struct thread *td)
{
int x;
@@ -133,7 +133,7 @@ i4bopen(dev_t dev, int flag, int fmt, struct thread *td)
* i4bclose - device driver close routine
*---------------------------------------------------------------------------*/
static int
-i4bclose(dev_t dev, int flag, int fmt, struct thread *td)
+i4bclose(struct cdev *dev, int flag, int fmt, struct thread *td)
{
int x = splimp();
openflag = 0;
@@ -147,7 +147,7 @@ i4bclose(dev_t dev, int flag, int fmt, struct thread *td)
* i4bread - device driver read routine
*---------------------------------------------------------------------------*/
static int
-i4bread(dev_t dev, struct uio *uio, int ioflag)
+i4bread(struct cdev *dev, struct uio *uio, int ioflag)
{
struct mbuf *m;
int x;
@@ -192,7 +192,7 @@ i4bread(dev_t dev, struct uio *uio, int ioflag)
* i4bioctl - device driver ioctl routine
*---------------------------------------------------------------------------*/
static int
-i4bioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct thread *td)
+i4bioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *td)
{
call_desc_t *cd;
int error = 0;
@@ -755,7 +755,7 @@ diag_done:
* i4bpoll - device driver poll routine
*---------------------------------------------------------------------------*/
static int
-i4bpoll(dev_t dev, int events, struct thread *td)
+i4bpoll(struct cdev *dev, int events, struct thread *td)
{
int x;
OpenPOWER on IntegriCloud