aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sio
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-06-16 09:47:26 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-06-16 09:47:26 +0000
commit89c9c53da05197f657dfe8e0bdda6941a2e9a0d4 (patch)
tree624c885995e84df6decddd3291c60a15e50e3c85 /sys/dev/sio
parentd420fcda27350a7e2d3d8f3b2c9de6aa74df2e30 (diff)
Notes
Diffstat (limited to 'sys/dev/sio')
-rw-r--r--sys/dev/sio/sio.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 740cd26b56726..328142800454a 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -271,7 +271,7 @@ struct com_s {
struct resource *ioportres;
int ioportrid;
void *cookie;
- dev_t devs[6];
+ struct cdev *devs[6];
/*
* Data area for output buffers. Someday we should build the output
@@ -1180,7 +1180,7 @@ determined_type: ;
static int
sioopen(dev, flag, mode, td)
- dev_t dev;
+ struct cdev *dev;
int flag;
int mode;
struct thread *td;
@@ -1363,7 +1363,7 @@ out:
static int
sioclose(dev, flag, mode, td)
- dev_t dev;
+ struct cdev *dev;
int flag;
int mode;
struct thread *td;
@@ -1460,7 +1460,7 @@ comhardclose(com)
static int
sioread(dev, uio, flag)
- dev_t dev;
+ struct cdev *dev;
struct uio *uio;
int flag;
{
@@ -1478,7 +1478,7 @@ sioread(dev, uio, flag)
static int
siowrite(dev, uio, flag)
- dev_t dev;
+ struct cdev *dev;
struct uio *uio;
int flag;
{
@@ -1961,7 +1961,7 @@ txrdy:
static int
sioioctl(dev, cmd, data, flag, td)
- dev_t dev;
+ struct cdev *dev;
u_long cmd;
caddr_t data;
int flag;