summaryrefslogtreecommitdiffstats
path: root/sys/dev/ida
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/dev/ida
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/dev/ida')
-rw-r--r--sys/dev/ida/ida.c2
-rw-r--r--sys/dev/ida/idavar.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ida/ida.c b/sys/dev/ida/ida.c
index 47f27a7..c9682ef 100644
--- a/sys/dev/ida/ida.c
+++ b/sys/dev/ida/ida.c
@@ -575,7 +575,7 @@ struct cmd_info {
static struct cmd_info *ida_cmd_lookup(int);
static int
-ida_ioctl (dev_t dev, u_long cmd, caddr_t addr, int32_t flag, struct thread *td)
+ida_ioctl (struct cdev *dev, u_long cmd, caddr_t addr, int32_t flag, struct thread *td)
{
struct ida_softc *sc;
struct ida_user_command *uc;
diff --git a/sys/dev/ida/idavar.h b/sys/dev/ida/idavar.h
index 78993cb..118e680 100644
--- a/sys/dev/ida/idavar.h
+++ b/sys/dev/ida/idavar.h
@@ -126,7 +126,7 @@ struct ida_access {
struct ida_softc {
device_t dev;
int unit;
- dev_t ida_dev_t;
+ struct cdev *ida_dev_t;
int regs_res_type;
int regs_res_id;
OpenPOWER on IntegriCloud