Page MenuHomeFreeBSD

linux: Make the macro LINUX_IOCTL_SET public
AcceptedPublic

Authored by zlei on Fri, Oct 17, 9:44 AM.
Tags
None
Referenced Files
F132606636: D53158.diff
Sat, Oct 18, 9:14 AM
F132555653: D53158.id.diff
Fri, Oct 17, 10:53 PM
F132554507: D53158.diff
Fri, Oct 17, 10:38 PM
F132538416: D53158.id.diff
Fri, Oct 17, 7:21 PM
F132529436: D53158.id164388.diff
Fri, Oct 17, 5:23 PM
F132528808: D53158.diff
Fri, Oct 17, 5:12 PM
Subscribers

Details

Reviewers
markj
Summary
There're some drivers want to register and unregister linux ioctl
handler. Move the macro LINUX_IOCTL_SET from tdfx_linux.h to
linux_ioctl.h so that other drivers can benefit it.

While here, rename the declaration of linux ioctl function to be
consistent with the name of the handler.

MFC after:      2 weeks

Migrate to use macro LINUX_IOCTL_SET to register linux ioctl handler

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

zlei requested review of this revision.Fri, Oct 17, 9:44 AM

Nice cleanup.

sys/compat/linux/linux_ioctl.h
829

I don't think the comment needs to be kept.

This revision is now accepted and ready to land.Fri, Oct 17, 12:40 PM