History log of /freebsd-src/sys/compat/linux/linux_ioctl.c (Results 276 – 300 of 317)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# c3aac50f 28-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 4c60745d 17-Aug-1999 Marcel Moolenaar <marcel@FreeBSD.org>

Fix a bug in debug-printfs of struct linux_termios fields, where I forgot to
change the format specifier after changing the definition of the structure.

Submitted by: billf
Commented on by: bde


# 3bde119b 14-Aug-1999 Marcel Moolenaar <marcel@FreeBSD.org>

Fix LINUX_TIOC{S|G}SERIAL implementation. Both do not copy data in or out
of kernel space. Remove the ioctl supporting functions, and move the actual
code to the switch-statement. Now everybody can c

Fix LINUX_TIOC{S|G}SERIAL implementation. Both do not copy data in or out
of kernel space. Remove the ioctl supporting functions, and move the actual
code to the switch-statement. Now everybody can clearly see that the
implementation is really poor.

Also fix a typo in LINUX_TIOCGETD. The underlying function was given command
TIOCSETD instead op TIOCGETD...

show more ...


# 86cfb28d 14-Aug-1999 Marcel Moolenaar <marcel@FreeBSD.org>

Fix the LINUX_TCSET{A|AW|AF} and LINUX_TCSET{S|SW|SF} ioctls. These all suffer
from the same bug in that the argument is not first copied from user space
before it is used. This is part 2 (of 2) of t

Fix the LINUX_TCSET{A|AW|AF} and LINUX_TCSET{S|SW|SF} ioctls. These all suffer
from the same bug in that the argument is not first copied from user space
before it is used. This is part 2 (of 2) of the termios fixes.

show more ...


# 432d528c 14-Aug-1999 Marcel Moolenaar <marcel@FreeBSD.org>

Fix a couple of termio/termios conversion bugs/typos/dupos/brainos and other
changes. This is part 1 of the complete termios ioctl fixes.

o change type of c_{i|o|c|l}flag in struct termios from uns

Fix a couple of termio/termios conversion bugs/typos/dupos/brainos and other
changes. This is part 1 of the complete termios ioctl fixes.

o change type of c_{i|o|c|l}flag in struct termios from unsigned long to
unsigned int. The type now matches the Linux definitions.
o replaced constants by the corresponding defines in sptab[] for clarity.
Since there's no define for 135 baud, its mapping has been dropped.

function bsd_to_linux_termios:
o Fix typo IXON -> IXANY.
o Remove bogus assignment to c_cc[LINUX_VSWTC].

function linux_to_bsd_termios:
o Fix dupo LINUX_IXON -> LINUX_IXANY.
o Add LINUX_CREAD mapping.
o Fix typo IEXTEN -> LINUX_IEXTEN.

function linux_to_bsd_termio:
o Small optimization: Don't preset the complete c_cc array when we next
assign to the first LINUX_NCC entries.

show more ...


# 7636612d 13-Aug-1999 Marcel Moolenaar <marcel@FreeBSD.org>

Implementation of the CDROMSUBCHNL ioctl.


# 3cef63a1 17-Jul-1999 Marcel Moolenaar <marcel@FreeBSD.org>

Implementation of TCXONC.

Reviewed by: bde


# 68875907 08-Jul-1999 Marcel Moolenaar <marcel@FreeBSD.org>

Implement VT_RELDISP ioctl

Submitted by: Kazutaka Yokota <yokota@FreeBSD.org>


# 4cf8b502 06-Jul-1999 Marcel Moolenaar <marcel@FreeBSD.org>

Trivial implementation of TIOCM{S|G}ET and TIOCMBI{S|C} ioctls. No need
to convert the arguments.


Revision tags: release/3.2.0
# e37622b2 09-May-1999 Peter Wemm <peter@FreeBSD.org>

Fix a couple of warnings and some bitrot in comments.


# d5558c00 06-May-1999 Peter Wemm <peter@FreeBSD.org>

Fix up a few easy 'assignment used as truth value' and 'suggest parens
around && within ||' type warnings. I'm pretty sure I have not masked
any problems here, I've committed real problem fixes sepe

Fix up a few easy 'assignment used as truth value' and 'suggest parens
around && within ||' type warnings. I'm pretty sure I have not masked
any problems here, I've committed real problem fixes seperately.

show more ...


# 9debe213 29-Apr-1999 Luoqi Chen <luoqi@FreeBSD.org>

- Handle mixer read ioctls correctly. They have the same group, number and
argument size as their write counterparts and were handled as write ioctls.
- Emulate some cdrom ioctls.


Revision tags: release/3.1.0, release/3.0.0, release/2.2.8
# 845491fe 12-Nov-1998 Jordan K. Hubbard <jkh@FreeBSD.org>

MF22: Bring in some linux sound ioctl support which I committed to 2.2
for PR 7792 but did not bring forward.

Submitted by: Avatar Liang <avatar@www.mmlab.cse.yzu.edu.tw>
PR: 8656


# f18bad6e 30-Sep-1998 John Fieber <jfieber@FreeBSD.org>

Add several missing ioctl handlers. One needed by Sybase, the others
found while looking for the one.


# e11952d3 31-Aug-1998 Jordan K. Hubbard <jkh@FreeBSD.org>

Argh! *Now* the correct 3.0 fix is committed.


# 51509b51 31-Aug-1998 Jordan K. Hubbard <jkh@FreeBSD.org>

Whoops! Stamp out a 2.2-ism that snuck between branches here.


# 2394cd9a 31-Aug-1998 Jordan K. Hubbard <jkh@FreeBSD.org>

Initial support for using linux X servers under emulation - to use an
XFree86 server, users need to create the following links in their
/compat/linux/dev directory (assuming kernel configured with 4

Initial support for using linux X servers under emulation - to use an
XFree86 server, users need to create the following links in their
/compat/linux/dev directory (assuming kernel configured with 4 VTs).

lrwxrwxrwx 1 root wheel 7 Aug 30 22:59 tty0 -> console
lrwxrwxrwx 1 root wheel 5 Aug 30 22:45 tty1 -> ttyv0
lrwxrwxrwx 1 root wheel 5 Aug 30 22:45 tty2 -> ttyv1
lrwxrwxrwx 1 root wheel 5 Aug 30 22:45 tty3 -> ttyv2
lrwxrwxrwx 1 root wheel 5 Aug 30 22:45 tty4 -> ttyv3

VT switching is still not yet supported. Attempting to switch VT
currently will cause Xserver bus error.

Submitted by: Chain Lee <chain@110.net>

show more ...


# e4e6ae13 29-Jul-1998 Bruce Evans <bde@FreeBSD.org>

Fixed print format errors.


Revision tags: release/2.2.7
# ecbb00a2 07-Jun-1998 Doug Rabson <dfr@FreeBSD.org>

This commit fixes various 64bit portability problems required for
FreeBSD/alpha. The most significant item is to change the command
argument to ioctl functions from int to u_long. This change bring

This commit fixes various 64bit portability problems required for
FreeBSD/alpha. The most significant item is to change the command
argument to ioctl functions from int to u_long. This change brings us
inline with various other BSD versions. Driver writers may like to
use (__FreeBSD_version == 300003) to detect this change.

The prototype FreeBSD/alpha machdep will follow in a couple of days
time.

show more ...


Revision tags: release/2.2.6
# 7ebfc603 15-Dec-1997 Mike Smith <msmith@FreeBSD.org>

As described by the submitter:

These patches enables us to play quake2 .

Support linux keyboard ioctl for setting RAW, MEDIUMRAW and XLATE.

Support linux virtual terminal operations:
OPENQRY, GET

As described by the submitter:

These patches enables us to play quake2 .

Support linux keyboard ioctl for setting RAW, MEDIUMRAW and XLATE.

Support linux virtual terminal operations:
OPENQRY, GETMODE, SETMODE, GETSTATE, ACTIVATE, and WAITACTIVE.

Submitted by: Amancio Hasty <hasty@rah.star-gate.com>

show more ...


# 53eaeb96 17-Nov-1997 Amancio Hasty <ahasty@FreeBSD.org>

Added support for linux sound ioctls:
LINUX_SNDCTL_DSP_GETOPTR
LINUX_SNDCTL_DSP_GETIPTR
LINUX_SNDCTL_DSP_SETTRIGGER
LINUX_SNDCTL_DSP_GETCAPS

With this rev level the linux realaudio player 5 and xqua

Added support for linux sound ioctls:
LINUX_SNDCTL_DSP_GETOPTR
LINUX_SNDCTL_DSP_GETIPTR
LINUX_SNDCTL_DSP_SETTRIGGER
LINUX_SNDCTL_DSP_GETCAPS

With this rev level the linux realaudio player 5 and xquake should work.

show more ...


# cb226aaa 06-Nov-1997 Poul-Henning Kamp <phk@FreeBSD.org>

Move the "retval" (3rd) parameter from all syscall functions and put
it in struct proc instead.

This fixes a boatload of compiler warning, and removes a lot of cruft
from the sources.

I have not re

Move the "retval" (3rd) parameter from all syscall functions and put
it in struct proc instead.

This fixes a boatload of compiler warning, and removes a lot of cruft
from the sources.

I have not removed the /*ARGSUSED*/, they will require some looking at.

libkvm, ps and other userland struct proc frobbing programs will need
recompiled.

show more ...


Revision tags: release/2.2.5_cvs
# 293a9e51 20-Jul-1997 Bruce Evans <bde@FreeBSD.org>

Removed unused #includes.


# 50ef2400 02-Jun-1997 Doug Rabson <dfr@FreeBSD.org>

Make this thing actually compile.


# 88e2b22c 02-Jun-1997 Mike Smith <msmith@FreeBSD.org>

Oops, remove some bogus debugging code that crept in with the last commit.


1...<<111213