diff options
author | Roland Dreier <roland@eddore.topspincom.com> | 2005-08-18 12:24:13 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-08-26 20:37:37 -0700 |
commit | f520ba5aa48e2891c3fb3e364eeaaab4212c7c45 (patch) | |
tree | ba512b75aaef8bf0c89ab4f75b80c75af5ead60c /drivers/i2c/i2c-sensor-detect.c | |
parent | d41fcc6705eddd04f7218c985b6da35435ed73cc (diff) |
[PATCH] IB: userspace SRQ support
Add SRQ support to userspace verbs module. This adds several commands
and associated structures, but it's OK to do this without bumping the
ABI version because the commands are added at the end of the list so
they don't change the existing numbering. There are two cases to
worry about:
1. New kernel, old userspace. This is OK because old userspace simply
won't try to use the new SRQ commands. None of the old commands are
changed.
2. Old kernel, new userspace. This works perfectly as long as
userspace doesn't try to use SRQ commands. If userspace tries to
use SRQ commands, it will get EINVAL, which is perfectly
reasonable: the kernel doesn't support SRQs, so we couldn't do any
better.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/i2c/i2c-sensor-detect.c')
0 files changed, 0 insertions, 0 deletions