ru 2006-09-27 19:57:02 UTC FreeBSD src repository
Modified files: sys/dev/atkbdc atkbd.c sys/dev/digi digi.c sys/dev/kbdmux kbdmux.c sys/dev/syscons scvidctl.c syscons.c sys/dev/uart uart_kbd_sun.c sys/dev/usb ukbd.c sys/dev/vkbd vkbd.c sys/fs/procfs procfs_ioctl.c sys/kern sys_generic.c tty_pts.c tty_pty.c sys/modules/digi/digi Makefile sys/modules/if_tap Makefile sys/modules/kbdmux Makefile sys/modules/procfs Makefile sys/modules/ukbd Makefile sys/modules/vkbd Makefile sys/net if_tap.c if_tap.h sys/pc98/cbus pckbd.c sys/sys consio.h digiio.h ioccom.h kbio.h pioctl.h ttycom.h Log: Fix our ioctl(2) implementation when the argument is "int". New ioctls passing integer arguments should use the _IOWINT() macro. This fixes a lot of ioctl's not working on sparc64, most notable being keyboard/syscons ioctls. Full ABI compatibility is provided, with the bonus of fixing the handling of old ioctls on sparc64. Reviewed by: bde (with contributions) Tested by: emax, marius MFC after: 1 week Revision Changes Path 1.51 +33 -0 src/sys/dev/atkbdc/atkbd.c 1.63 +12 -1 src/sys/dev/digi/digi.c 1.14 +29 -0 src/sys/dev/kbdmux/kbdmux.c 1.38 +28 -2 src/sys/dev/syscons/scvidctl.c 1.447 +80 -5 src/sys/dev/syscons/syscons.c 1.9 +24 -1 src/sys/dev/uart/uart_kbd_sun.c 1.56 +33 -0 src/sys/dev/usb/ukbd.c 1.11 +28 -0 src/sys/dev/vkbd/vkbd.c 1.13 +27 -4 src/sys/fs/procfs/procfs_ioctl.c 1.150 +15 -11 src/sys/kern/sys_generic.c 1.9 +11 -0 src/sys/kern/tty_pts.c 1.147 +11 -0 src/sys/kern/tty_pty.c 1.5 +1 -0 src/sys/modules/digi/digi/Makefile 1.6 +4 -1 src/sys/modules/if_tap/Makefile 1.4 +4 -1 src/sys/modules/kbdmux/Makefile 1.32 +1 -0 src/sys/modules/procfs/Makefile 1.22 +5 -1 src/sys/modules/ukbd/Makefile 1.4 +4 -1 src/sys/modules/vkbd/Makefile 1.63 +13 -1 src/sys/net/if_tap.c 1.3 +1 -1 src/sys/net/if_tap.h 1.32 +26 -0 src/sys/pc98/cbus/pckbd.c 1.18 +7 -7 src/sys/sys/consio.h 1.5 +2 -2 src/sys/sys/digiio.h 1.16 +10 -2 src/sys/sys/ioccom.h 1.11 +8 -8 src/sys/sys/kbio.h 1.15 +4 -4 src/sys/sys/pioctl.h 1.25 +1 -1 src/sys/sys/ttycom.h _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"