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/aac | |
| parent | 03f5c0014428be25ffe752865c2a06b1c2cd9347 (diff) | |
Notes
Diffstat (limited to 'sys/dev/aac')
| -rw-r--r-- | sys/dev/aac/aac.c | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c index 619ffd413d15..0eb036cf26aa 100644 --- a/sys/dev/aac/aac.c +++ b/sys/dev/aac/aac.c @@ -182,19 +182,12 @@ static int aac_query_disk(struct aac_softc *sc, caddr_t uptr); #define AAC_CDEV_MAJOR 150 static struct cdevsw aac_cdevsw = { - aac_open, /* open */ - aac_close, /* close */ - noread, /* read */ - nowrite, /* write */ - aac_ioctl, /* ioctl */ - aac_poll, /* poll */ - nommap, /* mmap */ - nostrategy, /* strategy */ - "aac", /* name */ - AAC_CDEV_MAJOR, /* major */ - nodump, /* dump */ - nopsize, /* psize */ - 0, /* flags */ + .d_open = aac_open, + .d_close = aac_close, + .d_ioctl = aac_ioctl, + .d_poll = aac_poll, + .d_name = "aac", + .d_maj = AAC_CDEV_MAJOR, }; MALLOC_DEFINE(M_AACBUF, "aacbuf", "Buffers for the AAC driver"); |
