diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-02-21 21:10:55 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-02-21 21:10:55 +0000 |
commit | dc08ffec870569914f44bcf26aa838310e343764 (patch) | |
tree | 0896a7d99c90ad922a1e4b41f052d155256cb97e /sys/pccard/pccard.c | |
parent | c33f7bb853b2c9fc395b43274891a8975a675553 (diff) |
Device megapatch 4/6:
Introduce d_version field in struct cdevsw, this must always be
initialized to D_VERSION.
Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing
four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
Notes
Notes:
svn path=/head/; revision=126080
Diffstat (limited to 'sys/pccard/pccard.c')
-rw-r--r-- | sys/pccard/pccard.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c index bc5f240c0ae1..b4d15ffdd23f 100644 --- a/sys/pccard/pccard.c +++ b/sys/pccard/pccard.c @@ -81,6 +81,8 @@ static d_ioctl_t crdioctl; static d_poll_t crdpoll; static struct cdevsw crd_cdevsw = { + .d_version = D_VERSION, + .d_flags = D_NEEDGIANT, .d_open = crdopen, .d_close = crdclose, .d_read = crdread, |