diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-03-03 12:15:54 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-03-03 12:15:54 +0000 |
| commit | 7ac40f5f59dea6e9ab4869e974bdd4026274e921 (patch) | |
| tree | 4e91d5779ffebe1d75e975aa4450f35f965430eb /sys/dev/raidframe | |
| parent | 03f5c0014428be25ffe752865c2a06b1c2cd9347 (diff) | |
Notes
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_freebsdkintf.c | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/sys/dev/raidframe/rf_freebsdkintf.c b/sys/dev/raidframe/rf_freebsdkintf.c index 754ab514f1696..6e1f407b6e19c 100644 --- a/sys/dev/raidframe/rf_freebsdkintf.c +++ b/sys/dev/raidframe/rf_freebsdkintf.c @@ -215,19 +215,11 @@ d_close_t raidctlclose; d_ioctl_t raidctlioctl; static struct cdevsw raidctl_cdevsw = { - /* open */ raidctlopen, - /* close */ raidctlclose, - /* read */ noread, - /* write */ nowrite, - /* ioctl */ raidctlioctl, - /* poll */ nopoll, - /* mmap */ nommap, - /* strategy */ nostrategy, - /* name */ "raidctl", - /* maj */ 201, - /* dump */ nodump, - /* psize */ nopsize, - /* flags */ 0, + .d_open = raidctlopen, + .d_close = raidctlclose, + .d_ioctl = raidctlioctl, + .d_name = "raidctl", + .d_maj = 201, }; /* |
