diff options
author | Christoph Hellwig <hch@lst.de> | 2007-05-08 03:29:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:09 -0400 |
commit | 644fd4f5de9ca147daeb6dc5f844b44ec3d58b47 (patch) | |
tree | d9bd9c9bc6c02077e5f2d19556377a30c31cd0c9 | |
parent | 884f2810b15b6bb489c9dca5013aafbea2f19fba (diff) |
merge compat_ioctl.h into compat_ioctl.c
Now that there is no arch-specific compat ioctl handling left there is not
point in having a separate copat_ioctl.h, so merge it into compat_ioctl.c
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | fs/compat_ioctl.c | 829 | ||||
-rw-r--r-- | include/linux/compat_ioctl.h | 830 |
2 files changed, 828 insertions, 831 deletions
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index c870364b0b47..a0c3d2044e84 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c | |||
@@ -2405,7 +2405,834 @@ lp_timeout_trans(unsigned int fd, unsigned int cmd, unsigned long arg) | |||
2405 | #define IGNORE_IOCTL(cmd) COMPATIBLE_IOCTL(cmd) | 2405 | #define IGNORE_IOCTL(cmd) COMPATIBLE_IOCTL(cmd) |
2406 | 2406 | ||
2407 | struct ioctl_trans ioctl_start[] = { | 2407 | struct ioctl_trans ioctl_start[] = { |
2408 | #include <linux/compat_ioctl.h> | 2408 | /* compatible ioctls first */ |
2409 | COMPATIBLE_IOCTL(0x4B50) /* KDGHWCLK - not in the kernel, but don't complain */ | ||
2410 | COMPATIBLE_IOCTL(0x4B51) /* KDSHWCLK - not in the kernel, but don't complain */ | ||
2411 | |||
2412 | /* Big T */ | ||
2413 | COMPATIBLE_IOCTL(TCGETA) | ||
2414 | COMPATIBLE_IOCTL(TCSETA) | ||
2415 | COMPATIBLE_IOCTL(TCSETAW) | ||
2416 | COMPATIBLE_IOCTL(TCSETAF) | ||
2417 | COMPATIBLE_IOCTL(TCSBRK) | ||
2418 | ULONG_IOCTL(TCSBRKP) | ||
2419 | COMPATIBLE_IOCTL(TCXONC) | ||
2420 | COMPATIBLE_IOCTL(TCFLSH) | ||
2421 | COMPATIBLE_IOCTL(TCGETS) | ||
2422 | COMPATIBLE_IOCTL(TCSETS) | ||
2423 | COMPATIBLE_IOCTL(TCSETSW) | ||
2424 | COMPATIBLE_IOCTL(TCSETSF) | ||
2425 | COMPATIBLE_IOCTL(TIOCLINUX) | ||
2426 | COMPATIBLE_IOCTL(TIOCSBRK) | ||
2427 | COMPATIBLE_IOCTL(TIOCCBRK) | ||
2428 | ULONG_IOCTL(TIOCMIWAIT) | ||
2429 | COMPATIBLE_IOCTL(TIOCGICOUNT) | ||
2430 | /* Little t */ | ||
2431 | COMPATIBLE_IOCTL(TIOCGETD) | ||
2432 | COMPATIBLE_IOCTL(TIOCSETD) | ||
2433 | COMPATIBLE_IOCTL(TIOCEXCL) | ||
2434 | COMPATIBLE_IOCTL(TIOCNXCL) | ||
2435 | COMPATIBLE_IOCTL(TIOCCONS) | ||
2436 | COMPATIBLE_IOCTL(TIOCGSOFTCAR) | ||
2437 | COMPATIBLE_IOCTL(TIOCSSOFTCAR) | ||
2438 | COMPATIBLE_IOCTL(TIOCSWINSZ) | ||
2439 | COMPATIBLE_IOCTL(TIOCGWINSZ) | ||
2440 | COMPATIBLE_IOCTL(TIOCMGET) | ||
2441 | COMPATIBLE_IOCTL(TIOCMBIC) | ||
2442 | COMPATIBLE_IOCTL(TIOCMBIS) | ||
2443 | COMPATIBLE_IOCTL(TIOCMSET) | ||
2444 | COMPATIBLE_IOCTL(TIOCPKT) | ||
2445 | COMPATIBLE_IOCTL(TIOCNOTTY) | ||
2446 | COMPATIBLE_IOCTL(TIOCSTI) | ||
2447 | COMPATIBLE_IOCTL(TIOCOUTQ) | ||
2448 | COMPATIBLE_IOCTL(TIOCSPGRP) | ||
2449 | COMPATIBLE_IOCTL(TIOCGPGRP) | ||
2450 | ULONG_IOCTL(TIOCSCTTY) | ||
2451 | COMPATIBLE_IOCTL(TIOCGPTN) | ||
2452 | COMPATIBLE_IOCTL(TIOCSPTLCK) | ||
2453 | COMPATIBLE_IOCTL(TIOCSERGETLSR) | ||
2454 | /* Little f */ | ||
2455 | COMPATIBLE_IOCTL(FIOCLEX) | ||
2456 | COMPATIBLE_IOCTL(FIONCLEX) | ||
2457 | COMPATIBLE_IOCTL(FIOASYNC) | ||
2458 | COMPATIBLE_IOCTL(FIONBIO) | ||
2459 | COMPATIBLE_IOCTL(FIONREAD) /* This is also TIOCINQ */ | ||
2460 | /* 0x00 */ | ||
2461 | COMPATIBLE_IOCTL(FIBMAP) | ||
2462 | COMPATIBLE_IOCTL(FIGETBSZ) | ||
2463 | /* 0x03 -- HD/IDE ioctl's used by hdparm and friends. | ||
2464 | * Some need translations, these do not. | ||
2465 | */ | ||
2466 | COMPATIBLE_IOCTL(HDIO_GET_IDENTITY) | ||
2467 | COMPATIBLE_IOCTL(HDIO_DRIVE_TASK) | ||
2468 | COMPATIBLE_IOCTL(HDIO_DRIVE_CMD) | ||
2469 | ULONG_IOCTL(HDIO_SET_MULTCOUNT) | ||
2470 | ULONG_IOCTL(HDIO_SET_UNMASKINTR) | ||
2471 | ULONG_IOCTL(HDIO_SET_KEEPSETTINGS) | ||
2472 | ULONG_IOCTL(HDIO_SET_32BIT) | ||
2473 | ULONG_IOCTL(HDIO_SET_NOWERR) | ||
2474 | ULONG_IOCTL(HDIO_SET_DMA) | ||
2475 | ULONG_IOCTL(HDIO_SET_PIO_MODE) | ||
2476 | ULONG_IOCTL(HDIO_SET_NICE) | ||
2477 | ULONG_IOCTL(HDIO_SET_WCACHE) | ||
2478 | ULONG_IOCTL(HDIO_SET_ACOUSTIC) | ||
2479 | ULONG_IOCTL(HDIO_SET_BUSSTATE) | ||
2480 | ULONG_IOCTL(HDIO_SET_ADDRESS) | ||
2481 | COMPATIBLE_IOCTL(HDIO_SCAN_HWIF) | ||
2482 | /* 0x330 is reserved -- it used to be HDIO_GETGEO_BIG */ | ||
2483 | COMPATIBLE_IOCTL(0x330) | ||
2484 | /* 0x02 -- Floppy ioctls */ | ||
2485 | COMPATIBLE_IOCTL(FDMSGON) | ||
2486 | COMPATIBLE_IOCTL(FDMSGOFF) | ||
2487 | COMPATIBLE_IOCTL(FDSETEMSGTRESH) | ||
2488 | COMPATIBLE_IOCTL(FDFLUSH) | ||
2489 | COMPATIBLE_IOCTL(FDWERRORCLR) | ||
2490 | COMPATIBLE_IOCTL(FDSETMAXERRS) | ||
2491 | COMPATIBLE_IOCTL(FDGETMAXERRS) | ||
2492 | COMPATIBLE_IOCTL(FDGETDRVTYP) | ||
2493 | COMPATIBLE_IOCTL(FDEJECT) | ||
2494 | COMPATIBLE_IOCTL(FDCLRPRM) | ||
2495 | COMPATIBLE_IOCTL(FDFMTBEG) | ||
2496 | COMPATIBLE_IOCTL(FDFMTEND) | ||
2497 | COMPATIBLE_IOCTL(FDRESET) | ||
2498 | COMPATIBLE_IOCTL(FDTWADDLE) | ||
2499 | COMPATIBLE_IOCTL(FDFMTTRK) | ||
2500 | COMPATIBLE_IOCTL(FDRAWCMD) | ||
2501 | /* 0x12 */ | ||
2502 | #ifdef CONFIG_BLOCK | ||
2503 | COMPATIBLE_IOCTL(BLKRASET) | ||
2504 | COMPATIBLE_IOCTL(BLKROSET) | ||
2505 | COMPATIBLE_IOCTL(BLKROGET) | ||
2506 | COMPATIBLE_IOCTL(BLKRRPART) | ||
2507 | COMPATIBLE_IOCTL(BLKFLSBUF) | ||
2508 | COMPATIBLE_IOCTL(BLKSECTSET) | ||
2509 | COMPATIBLE_IOCTL(BLKSSZGET) | ||
2510 | COMPATIBLE_IOCTL(BLKTRACESTART) | ||
2511 | COMPATIBLE_IOCTL(BLKTRACESTOP) | ||
2512 | COMPATIBLE_IOCTL(BLKTRACESETUP) | ||
2513 | COMPATIBLE_IOCTL(BLKTRACETEARDOWN) | ||
2514 | ULONG_IOCTL(BLKRASET) | ||
2515 | ULONG_IOCTL(BLKFRASET) | ||
2516 | #endif | ||
2517 | /* RAID */ | ||
2518 | COMPATIBLE_IOCTL(RAID_VERSION) | ||
2519 | COMPATIBLE_IOCTL(GET_ARRAY_INFO) | ||
2520 | COMPATIBLE_IOCTL(GET_DISK_INFO) | ||
2521 | COMPATIBLE_IOCTL(PRINT_RAID_DEBUG) | ||
2522 | COMPATIBLE_IOCTL(RAID_AUTORUN) | ||
2523 | COMPATIBLE_IOCTL(CLEAR_ARRAY) | ||
2524 | COMPATIBLE_IOCTL(ADD_NEW_DISK) | ||
2525 | ULONG_IOCTL(HOT_REMOVE_DISK) | ||
2526 | COMPATIBLE_IOCTL(SET_ARRAY_INFO) | ||
2527 | COMPATIBLE_IOCTL(SET_DISK_INFO) | ||
2528 | COMPATIBLE_IOCTL(WRITE_RAID_INFO) | ||
2529 | COMPATIBLE_IOCTL(UNPROTECT_ARRAY) | ||
2530 | COMPATIBLE_IOCTL(PROTECT_ARRAY) | ||
2531 | ULONG_IOCTL(HOT_ADD_DISK) | ||
2532 | ULONG_IOCTL(SET_DISK_FAULTY) | ||
2533 | COMPATIBLE_IOCTL(RUN_ARRAY) | ||
2534 | COMPATIBLE_IOCTL(STOP_ARRAY) | ||
2535 | COMPATIBLE_IOCTL(STOP_ARRAY_RO) | ||
2536 | COMPATIBLE_IOCTL(RESTART_ARRAY_RW) | ||
2537 | COMPATIBLE_IOCTL(GET_BITMAP_FILE) | ||
2538 | ULONG_IOCTL(SET_BITMAP_FILE) | ||
2539 | /* DM */ | ||
2540 | COMPATIBLE_IOCTL(DM_VERSION_32) | ||
2541 | COMPATIBLE_IOCTL(DM_REMOVE_ALL_32) | ||
2542 | COMPATIBLE_IOCTL(DM_LIST_DEVICES_32) | ||
2543 | COMPATIBLE_IOCTL(DM_DEV_CREATE_32) | ||
2544 | COMPATIBLE_IOCTL(DM_DEV_REMOVE_32) | ||
2545 | COMPATIBLE_IOCTL(DM_DEV_RENAME_32) | ||
2546 | COMPATIBLE_IOCTL(DM_DEV_SUSPEND_32) | ||
2547 | COMPATIBLE_IOCTL(DM_DEV_STATUS_32) | ||
2548 | COMPATIBLE_IOCTL(DM_DEV_WAIT_32) | ||
2549 | COMPATIBLE_IOCTL(DM_TABLE_LOAD_32) | ||
2550 | COMPATIBLE_IOCTL(DM_TABLE_CLEAR_32) | ||
2551 | COMPATIBLE_IOCTL(DM_TABLE_DEPS_32) | ||
2552 | COMPATIBLE_IOCTL(DM_TABLE_STATUS_32) | ||
2553 | COMPATIBLE_IOCTL(DM_LIST_VERSIONS_32) | ||
2554 | COMPATIBLE_IOCTL(DM_TARGET_MSG_32) | ||
2555 | COMPATIBLE_IOCTL(DM_DEV_SET_GEOMETRY_32) | ||
2556 | COMPATIBLE_IOCTL(DM_VERSION) | ||
2557 | COMPATIBLE_IOCTL(DM_REMOVE_ALL) | ||
2558 | COMPATIBLE_IOCTL(DM_LIST_DEVICES) | ||
2559 | COMPATIBLE_IOCTL(DM_DEV_CREATE) | ||
2560 | COMPATIBLE_IOCTL(DM_DEV_REMOVE) | ||
2561 | COMPATIBLE_IOCTL(DM_DEV_RENAME) | ||
2562 | COMPATIBLE_IOCTL(DM_DEV_SUSPEND) | ||
2563 | COMPATIBLE_IOCTL(DM_DEV_STATUS) | ||
2564 | COMPATIBLE_IOCTL(DM_DEV_WAIT) | ||
2565 | COMPATIBLE_IOCTL(DM_TABLE_LOAD) | ||
2566 | COMPATIBLE_IOCTL(DM_TABLE_CLEAR) | ||
2567 | COMPATIBLE_IOCTL(DM_TABLE_DEPS) | ||
2568 | COMPATIBLE_IOCTL(DM_TABLE_STATUS) | ||
2569 | COMPATIBLE_IOCTL(DM_LIST_VERSIONS) | ||
2570 | COMPATIBLE_IOCTL(DM_TARGET_MSG) | ||
2571 | COMPATIBLE_IOCTL(DM_DEV_SET_GEOMETRY) | ||
2572 | /* Big K */ | ||
2573 | COMPATIBLE_IOCTL(PIO_FONT) | ||
2574 | COMPATIBLE_IOCTL(GIO_FONT) | ||
2575 | ULONG_IOCTL(KDSIGACCEPT) | ||
2576 | COMPATIBLE_IOCTL(KDGETKEYCODE) | ||
2577 | COMPATIBLE_IOCTL(KDSETKEYCODE) | ||
2578 | ULONG_IOCTL(KIOCSOUND) | ||
2579 | ULONG_IOCTL(KDMKTONE) | ||
2580 | COMPATIBLE_IOCTL(KDGKBTYPE) | ||
2581 | ULONG_IOCTL(KDSETMODE) | ||
2582 | COMPATIBLE_IOCTL(KDGETMODE) | ||
2583 | ULONG_IOCTL(KDSKBMODE) | ||
2584 | COMPATIBLE_IOCTL(KDGKBMODE) | ||
2585 | ULONG_IOCTL(KDSKBMETA) | ||
2586 | COMPATIBLE_IOCTL(KDGKBMETA) | ||
2587 | COMPATIBLE_IOCTL(KDGKBENT) | ||
2588 | COMPATIBLE_IOCTL(KDSKBENT) | ||
2589 | COMPATIBLE_IOCTL(KDGKBSENT) | ||
2590 | COMPATIBLE_IOCTL(KDSKBSENT) | ||
2591 | COMPATIBLE_IOCTL(KDGKBDIACR) | ||
2592 | COMPATIBLE_IOCTL(KDSKBDIACR) | ||
2593 | COMPATIBLE_IOCTL(KDKBDREP) | ||
2594 | COMPATIBLE_IOCTL(KDGKBLED) | ||
2595 | ULONG_IOCTL(KDSKBLED) | ||
2596 | COMPATIBLE_IOCTL(KDGETLED) | ||
2597 | ULONG_IOCTL(KDSETLED) | ||
2598 | COMPATIBLE_IOCTL(GIO_SCRNMAP) | ||
2599 | COMPATIBLE_IOCTL(PIO_SCRNMAP) | ||
2600 | COMPATIBLE_IOCTL(GIO_UNISCRNMAP) | ||
2601 | COMPATIBLE_IOCTL(PIO_UNISCRNMAP) | ||
2602 | COMPATIBLE_IOCTL(PIO_FONTRESET) | ||
2603 | COMPATIBLE_IOCTL(PIO_UNIMAPCLR) | ||
2604 | /* Big S */ | ||
2605 | COMPATIBLE_IOCTL(SCSI_IOCTL_GET_IDLUN) | ||
2606 | COMPATIBLE_IOCTL(SCSI_IOCTL_DOORLOCK) | ||
2607 | COMPATIBLE_IOCTL(SCSI_IOCTL_DOORUNLOCK) | ||
2608 | COMPATIBLE_IOCTL(SCSI_IOCTL_TEST_UNIT_READY) | ||
2609 | COMPATIBLE_IOCTL(SCSI_IOCTL_GET_BUS_NUMBER) | ||
2610 | COMPATIBLE_IOCTL(SCSI_IOCTL_SEND_COMMAND) | ||
2611 | COMPATIBLE_IOCTL(SCSI_IOCTL_PROBE_HOST) | ||
2612 | COMPATIBLE_IOCTL(SCSI_IOCTL_GET_PCI) | ||
2613 | /* Big T */ | ||
2614 | COMPATIBLE_IOCTL(TUNSETNOCSUM) | ||
2615 | COMPATIBLE_IOCTL(TUNSETDEBUG) | ||
2616 | COMPATIBLE_IOCTL(TUNSETPERSIST) | ||
2617 | COMPATIBLE_IOCTL(TUNSETOWNER) | ||
2618 | /* Big V */ | ||
2619 | COMPATIBLE_IOCTL(VT_SETMODE) | ||
2620 | COMPATIBLE_IOCTL(VT_GETMODE) | ||
2621 | COMPATIBLE_IOCTL(VT_GETSTATE) | ||
2622 | COMPATIBLE_IOCTL(VT_OPENQRY) | ||
2623 | ULONG_IOCTL(VT_ACTIVATE) | ||
2624 | ULONG_IOCTL(VT_WAITACTIVE) | ||
2625 | ULONG_IOCTL(VT_RELDISP) | ||
2626 | ULONG_IOCTL(VT_DISALLOCATE) | ||
2627 | COMPATIBLE_IOCTL(VT_RESIZE) | ||
2628 | COMPATIBLE_IOCTL(VT_RESIZEX) | ||
2629 | COMPATIBLE_IOCTL(VT_LOCKSWITCH) | ||
2630 | COMPATIBLE_IOCTL(VT_UNLOCKSWITCH) | ||
2631 | COMPATIBLE_IOCTL(VT_GETHIFONTMASK) | ||
2632 | /* Little p (/dev/rtc, /dev/envctrl, etc.) */ | ||
2633 | COMPATIBLE_IOCTL(RTC_AIE_ON) | ||
2634 | COMPATIBLE_IOCTL(RTC_AIE_OFF) | ||
2635 | COMPATIBLE_IOCTL(RTC_UIE_ON) | ||
2636 | COMPATIBLE_IOCTL(RTC_UIE_OFF) | ||
2637 | COMPATIBLE_IOCTL(RTC_PIE_ON) | ||
2638 | COMPATIBLE_IOCTL(RTC_PIE_OFF) | ||
2639 | COMPATIBLE_IOCTL(RTC_WIE_ON) | ||
2640 | COMPATIBLE_IOCTL(RTC_WIE_OFF) | ||
2641 | COMPATIBLE_IOCTL(RTC_ALM_SET) | ||
2642 | COMPATIBLE_IOCTL(RTC_ALM_READ) | ||
2643 | COMPATIBLE_IOCTL(RTC_RD_TIME) | ||
2644 | COMPATIBLE_IOCTL(RTC_SET_TIME) | ||
2645 | COMPATIBLE_IOCTL(RTC_WKALM_SET) | ||
2646 | COMPATIBLE_IOCTL(RTC_WKALM_RD) | ||
2647 | /* | ||
2648 | * These two are only for the sbus rtc driver, but | ||
2649 | * hwclock tries them on every rtc device first when | ||
2650 | * running on sparc. On other architectures the entries | ||
2651 | * are useless but harmless. | ||
2652 | */ | ||
2653 | COMPATIBLE_IOCTL(_IOR('p', 20, int[7])) /* RTCGET */ | ||
2654 | COMPATIBLE_IOCTL(_IOW('p', 21, int[7])) /* RTCSET */ | ||
2655 | /* Little m */ | ||
2656 | COMPATIBLE_IOCTL(MTIOCTOP) | ||
2657 | /* Socket level stuff */ | ||
2658 | COMPATIBLE_IOCTL(FIOQSIZE) | ||
2659 | COMPATIBLE_IOCTL(FIOSETOWN) | ||
2660 | COMPATIBLE_IOCTL(SIOCSPGRP) | ||
2661 | COMPATIBLE_IOCTL(FIOGETOWN) | ||
2662 | COMPATIBLE_IOCTL(SIOCGPGRP) | ||
2663 | COMPATIBLE_IOCTL(SIOCATMARK) | ||
2664 | COMPATIBLE_IOCTL(SIOCSIFLINK) | ||
2665 | COMPATIBLE_IOCTL(SIOCSIFENCAP) | ||
2666 | COMPATIBLE_IOCTL(SIOCGIFENCAP) | ||
2667 | COMPATIBLE_IOCTL(SIOCSIFNAME) | ||
2668 | COMPATIBLE_IOCTL(SIOCSARP) | ||
2669 | COMPATIBLE_IOCTL(SIOCGARP) | ||
2670 | COMPATIBLE_IOCTL(SIOCDARP) | ||
2671 | COMPATIBLE_IOCTL(SIOCSRARP) | ||
2672 | COMPATIBLE_IOCTL(SIOCGRARP) | ||
2673 | COMPATIBLE_IOCTL(SIOCDRARP) | ||
2674 | COMPATIBLE_IOCTL(SIOCADDDLCI) | ||
2675 | COMPATIBLE_IOCTL(SIOCDELDLCI) | ||
2676 | COMPATIBLE_IOCTL(SIOCGMIIPHY) | ||
2677 | COMPATIBLE_IOCTL(SIOCGMIIREG) | ||
2678 | COMPATIBLE_IOCTL(SIOCSMIIREG) | ||
2679 | COMPATIBLE_IOCTL(SIOCGIFVLAN) | ||
2680 | COMPATIBLE_IOCTL(SIOCSIFVLAN) | ||
2681 | COMPATIBLE_IOCTL(SIOCBRADDBR) | ||
2682 | COMPATIBLE_IOCTL(SIOCBRDELBR) | ||
2683 | /* SG stuff */ | ||
2684 | COMPATIBLE_IOCTL(SG_SET_TIMEOUT) | ||
2685 | COMPATIBLE_IOCTL(SG_GET_TIMEOUT) | ||
2686 | COMPATIBLE_IOCTL(SG_EMULATED_HOST) | ||
2687 | ULONG_IOCTL(SG_SET_TRANSFORM) | ||
2688 | COMPATIBLE_IOCTL(SG_GET_TRANSFORM) | ||
2689 | COMPATIBLE_IOCTL(SG_SET_RESERVED_SIZE) | ||
2690 | COMPATIBLE_IOCTL(SG_GET_RESERVED_SIZE) | ||
2691 | COMPATIBLE_IOCTL(SG_GET_SCSI_ID) | ||
2692 | COMPATIBLE_IOCTL(SG_SET_FORCE_LOW_DMA) | ||
2693 | COMPATIBLE_IOCTL(SG_GET_LOW_DMA) | ||
2694 | COMPATIBLE_IOCTL(SG_SET_FORCE_PACK_ID) | ||
2695 | COMPATIBLE_IOCTL(SG_GET_PACK_ID) | ||
2696 | COMPATIBLE_IOCTL(SG_GET_NUM_WAITING) | ||
2697 | COMPATIBLE_IOCTL(SG_SET_DEBUG) | ||
2698 | COMPATIBLE_IOCTL(SG_GET_SG_TABLESIZE) | ||
2699 | COMPATIBLE_IOCTL(SG_GET_COMMAND_Q) | ||
2700 | COMPATIBLE_IOCTL(SG_SET_COMMAND_Q) | ||
2701 | COMPATIBLE_IOCTL(SG_GET_VERSION_NUM) | ||
2702 | COMPATIBLE_IOCTL(SG_NEXT_CMD_LEN) | ||
2703 | COMPATIBLE_IOCTL(SG_SCSI_RESET) | ||
2704 | COMPATIBLE_IOCTL(SG_GET_REQUEST_TABLE) | ||
2705 | COMPATIBLE_IOCTL(SG_SET_KEEP_ORPHAN) | ||
2706 | COMPATIBLE_IOCTL(SG_GET_KEEP_ORPHAN) | ||
2707 | /* PPP stuff */ | ||
2708 | COMPATIBLE_IOCTL(PPPIOCGFLAGS) | ||
2709 | COMPATIBLE_IOCTL(PPPIOCSFLAGS) | ||
2710 | COMPATIBLE_IOCTL(PPPIOCGASYNCMAP) | ||
2711 | COMPATIBLE_IOCTL(PPPIOCSASYNCMAP) | ||
2712 | COMPATIBLE_IOCTL(PPPIOCGUNIT) | ||
2713 | COMPATIBLE_IOCTL(PPPIOCGRASYNCMAP) | ||
2714 | COMPATIBLE_IOCTL(PPPIOCSRASYNCMAP) | ||
2715 | COMPATIBLE_IOCTL(PPPIOCGMRU) | ||
2716 | COMPATIBLE_IOCTL(PPPIOCSMRU) | ||
2717 | COMPATIBLE_IOCTL(PPPIOCSMAXCID) | ||
2718 | COMPATIBLE_IOCTL(PPPIOCGXASYNCMAP) | ||
2719 | COMPATIBLE_IOCTL(PPPIOCSXASYNCMAP) | ||
2720 | COMPATIBLE_IOCTL(PPPIOCXFERUNIT) | ||
2721 | /* PPPIOCSCOMPRESS is translated */ | ||
2722 | COMPATIBLE_IOCTL(PPPIOCGNPMODE) | ||
2723 | COMPATIBLE_IOCTL(PPPIOCSNPMODE) | ||
2724 | COMPATIBLE_IOCTL(PPPIOCGDEBUG) | ||
2725 | COMPATIBLE_IOCTL(PPPIOCSDEBUG) | ||
2726 | /* PPPIOCSPASS is translated */ | ||
2727 | /* PPPIOCSACTIVE is translated */ | ||
2728 | /* PPPIOCGIDLE is translated */ | ||
2729 | COMPATIBLE_IOCTL(PPPIOCNEWUNIT) | ||
2730 | COMPATIBLE_IOCTL(PPPIOCATTACH) | ||
2731 | COMPATIBLE_IOCTL(PPPIOCDETACH) | ||
2732 | COMPATIBLE_IOCTL(PPPIOCSMRRU) | ||
2733 | COMPATIBLE_IOCTL(PPPIOCCONNECT) | ||
2734 | COMPATIBLE_IOCTL(PPPIOCDISCONN) | ||
2735 | COMPATIBLE_IOCTL(PPPIOCATTCHAN) | ||
2736 | COMPATIBLE_IOCTL(PPPIOCGCHAN) | ||
2737 | /* PPPOX */ | ||
2738 | COMPATIBLE_IOCTL(PPPOEIOCSFWD) | ||
2739 | COMPATIBLE_IOCTL(PPPOEIOCDFWD) | ||
2740 | /* LP */ | ||
2741 | COMPATIBLE_IOCTL(LPGETSTATUS) | ||
2742 | /* ppdev */ | ||
2743 | COMPATIBLE_IOCTL(PPSETMODE) | ||
2744 | COMPATIBLE_IOCTL(PPRSTATUS) | ||
2745 | COMPATIBLE_IOCTL(PPRCONTROL) | ||
2746 | COMPATIBLE_IOCTL(PPWCONTROL) | ||
2747 | COMPATIBLE_IOCTL(PPFCONTROL) | ||
2748 | COMPATIBLE_IOCTL(PPRDATA) | ||
2749 | COMPATIBLE_IOCTL(PPWDATA) | ||
2750 | COMPATIBLE_IOCTL(PPCLAIM) | ||
2751 | COMPATIBLE_IOCTL(PPRELEASE) | ||
2752 | COMPATIBLE_IOCTL(PPYIELD) | ||
2753 | COMPATIBLE_IOCTL(PPEXCL) | ||
2754 | COMPATIBLE_IOCTL(PPDATADIR) | ||
2755 | COMPATIBLE_IOCTL(PPNEGOT) | ||
2756 | COMPATIBLE_IOCTL(PPWCTLONIRQ) | ||
2757 | COMPATIBLE_IOCTL(PPCLRIRQ) | ||
2758 | COMPATIBLE_IOCTL(PPSETPHASE) | ||
2759 | COMPATIBLE_IOCTL(PPGETMODES) | ||
2760 | COMPATIBLE_IOCTL(PPGETMODE) | ||
2761 | COMPATIBLE_IOCTL(PPGETPHASE) | ||
2762 | COMPATIBLE_IOCTL(PPGETFLAGS) | ||
2763 | COMPATIBLE_IOCTL(PPSETFLAGS) | ||
2764 | /* CDROM stuff */ | ||
2765 | COMPATIBLE_IOCTL(CDROMPAUSE) | ||
2766 | COMPATIBLE_IOCTL(CDROMRESUME) | ||
2767 | COMPATIBLE_IOCTL(CDROMPLAYMSF) | ||
2768 | COMPATIBLE_IOCTL(CDROMPLAYTRKIND) | ||
2769 | COMPATIBLE_IOCTL(CDROMREADTOCHDR) | ||
2770 | COMPATIBLE_IOCTL(CDROMREADTOCENTRY) | ||
2771 | COMPATIBLE_IOCTL(CDROMSTOP) | ||
2772 | COMPATIBLE_IOCTL(CDROMSTART) | ||
2773 | COMPATIBLE_IOCTL(CDROMEJECT) | ||
2774 | COMPATIBLE_IOCTL(CDROMVOLCTRL) | ||
2775 | COMPATIBLE_IOCTL(CDROMSUBCHNL) | ||
2776 | ULONG_IOCTL(CDROMEJECT_SW) | ||
2777 | COMPATIBLE_IOCTL(CDROMMULTISESSION) | ||
2778 | COMPATIBLE_IOCTL(CDROM_GET_MCN) | ||
2779 | COMPATIBLE_IOCTL(CDROMRESET) | ||
2780 | COMPATIBLE_IOCTL(CDROMVOLREAD) | ||
2781 | COMPATIBLE_IOCTL(CDROMSEEK) | ||
2782 | COMPATIBLE_IOCTL(CDROMPLAYBLK) | ||
2783 | COMPATIBLE_IOCTL(CDROMCLOSETRAY) | ||
2784 | ULONG_IOCTL(CDROM_SET_OPTIONS) | ||
2785 | ULONG_IOCTL(CDROM_CLEAR_OPTIONS) | ||
2786 | ULONG_IOCTL(CDROM_SELECT_SPEED) | ||
2787 | ULONG_IOCTL(CDROM_SELECT_DISC) | ||
2788 | ULONG_IOCTL(CDROM_MEDIA_CHANGED) | ||
2789 | ULONG_IOCTL(CDROM_DRIVE_STATUS) | ||
2790 | COMPATIBLE_IOCTL(CDROM_DISC_STATUS) | ||
2791 | COMPATIBLE_IOCTL(CDROM_CHANGER_NSLOTS) | ||
2792 | ULONG_IOCTL(CDROM_LOCKDOOR) | ||
2793 | ULONG_IOCTL(CDROM_DEBUG) | ||
2794 | COMPATIBLE_IOCTL(CDROM_GET_CAPABILITY) | ||
2795 | /* Ignore cdrom.h about these next 5 ioctls, they absolutely do | ||
2796 | * not take a struct cdrom_read, instead they take a struct cdrom_msf | ||
2797 | * which is compatible. | ||
2798 | */ | ||
2799 | COMPATIBLE_IOCTL(CDROMREADMODE2) | ||
2800 | COMPATIBLE_IOCTL(CDROMREADMODE1) | ||
2801 | COMPATIBLE_IOCTL(CDROMREADRAW) | ||
2802 | COMPATIBLE_IOCTL(CDROMREADCOOKED) | ||
2803 | COMPATIBLE_IOCTL(CDROMREADALL) | ||
2804 | /* DVD ioctls */ | ||
2805 | COMPATIBLE_IOCTL(DVD_READ_STRUCT) | ||
2806 | COMPATIBLE_IOCTL(DVD_WRITE_STRUCT) | ||
2807 | COMPATIBLE_IOCTL(DVD_AUTH) | ||
2808 | /* pktcdvd */ | ||
2809 | COMPATIBLE_IOCTL(PACKET_CTRL_CMD) | ||
2810 | /* Big A */ | ||
2811 | /* sparc only */ | ||
2812 | /* Big Q for sound/OSS */ | ||
2813 | COMPATIBLE_IOCTL(SNDCTL_SEQ_RESET) | ||
2814 | COMPATIBLE_IOCTL(SNDCTL_SEQ_SYNC) | ||
2815 | COMPATIBLE_IOCTL(SNDCTL_SYNTH_INFO) | ||
2816 | COMPATIBLE_IOCTL(SNDCTL_SEQ_CTRLRATE) | ||
2817 | COMPATIBLE_IOCTL(SNDCTL_SEQ_GETOUTCOUNT) | ||
2818 | COMPATIBLE_IOCTL(SNDCTL_SEQ_GETINCOUNT) | ||
2819 | COMPATIBLE_IOCTL(SNDCTL_SEQ_PERCMODE) | ||
2820 | COMPATIBLE_IOCTL(SNDCTL_FM_LOAD_INSTR) | ||
2821 | COMPATIBLE_IOCTL(SNDCTL_SEQ_TESTMIDI) | ||
2822 | COMPATIBLE_IOCTL(SNDCTL_SEQ_RESETSAMPLES) | ||
2823 | COMPATIBLE_IOCTL(SNDCTL_SEQ_NRSYNTHS) | ||
2824 | COMPATIBLE_IOCTL(SNDCTL_SEQ_NRMIDIS) | ||
2825 | COMPATIBLE_IOCTL(SNDCTL_MIDI_INFO) | ||
2826 | COMPATIBLE_IOCTL(SNDCTL_SEQ_THRESHOLD) | ||
2827 | COMPATIBLE_IOCTL(SNDCTL_SYNTH_MEMAVL) | ||
2828 | COMPATIBLE_IOCTL(SNDCTL_FM_4OP_ENABLE) | ||
2829 | COMPATIBLE_IOCTL(SNDCTL_SEQ_PANIC) | ||
2830 | COMPATIBLE_IOCTL(SNDCTL_SEQ_OUTOFBAND) | ||
2831 | COMPATIBLE_IOCTL(SNDCTL_SEQ_GETTIME) | ||
2832 | COMPATIBLE_IOCTL(SNDCTL_SYNTH_ID) | ||
2833 | COMPATIBLE_IOCTL(SNDCTL_SYNTH_CONTROL) | ||
2834 | COMPATIBLE_IOCTL(SNDCTL_SYNTH_REMOVESAMPLE) | ||
2835 | /* Big T for sound/OSS */ | ||
2836 | COMPATIBLE_IOCTL(SNDCTL_TMR_TIMEBASE) | ||
2837 | COMPATIBLE_IOCTL(SNDCTL_TMR_START) | ||
2838 | COMPATIBLE_IOCTL(SNDCTL_TMR_STOP) | ||
2839 | COMPATIBLE_IOCTL(SNDCTL_TMR_CONTINUE) | ||
2840 | COMPATIBLE_IOCTL(SNDCTL_TMR_TEMPO) | ||
2841 | COMPATIBLE_IOCTL(SNDCTL_TMR_SOURCE) | ||
2842 | COMPATIBLE_IOCTL(SNDCTL_TMR_METRONOME) | ||
2843 | COMPATIBLE_IOCTL(SNDCTL_TMR_SELECT) | ||
2844 | /* Little m for sound/OSS */ | ||
2845 | COMPATIBLE_IOCTL(SNDCTL_MIDI_PRETIME) | ||
2846 | COMPATIBLE_IOCTL(SNDCTL_MIDI_MPUMODE) | ||
2847 | COMPATIBLE_IOCTL(SNDCTL_MIDI_MPUCMD) | ||
2848 | /* Big P for sound/OSS */ | ||
2849 | COMPATIBLE_IOCTL(SNDCTL_DSP_RESET) | ||
2850 | COMPATIBLE_IOCTL(SNDCTL_DSP_SYNC) | ||
2851 | COMPATIBLE_IOCTL(SNDCTL_DSP_SPEED) | ||
2852 | COMPATIBLE_IOCTL(SNDCTL_DSP_STEREO) | ||
2853 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETBLKSIZE) | ||
2854 | COMPATIBLE_IOCTL(SNDCTL_DSP_CHANNELS) | ||
2855 | COMPATIBLE_IOCTL(SOUND_PCM_WRITE_FILTER) | ||
2856 | COMPATIBLE_IOCTL(SNDCTL_DSP_POST) | ||
2857 | COMPATIBLE_IOCTL(SNDCTL_DSP_SUBDIVIDE) | ||
2858 | COMPATIBLE_IOCTL(SNDCTL_DSP_SETFRAGMENT) | ||
2859 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETFMTS) | ||
2860 | COMPATIBLE_IOCTL(SNDCTL_DSP_SETFMT) | ||
2861 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETOSPACE) | ||
2862 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETISPACE) | ||
2863 | COMPATIBLE_IOCTL(SNDCTL_DSP_NONBLOCK) | ||
2864 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETCAPS) | ||
2865 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETTRIGGER) | ||
2866 | COMPATIBLE_IOCTL(SNDCTL_DSP_SETTRIGGER) | ||
2867 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETIPTR) | ||
2868 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETOPTR) | ||
2869 | /* SNDCTL_DSP_MAPINBUF, XXX needs translation */ | ||
2870 | /* SNDCTL_DSP_MAPOUTBUF, XXX needs translation */ | ||
2871 | COMPATIBLE_IOCTL(SNDCTL_DSP_SETSYNCRO) | ||
2872 | COMPATIBLE_IOCTL(SNDCTL_DSP_SETDUPLEX) | ||
2873 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETODELAY) | ||
2874 | COMPATIBLE_IOCTL(SNDCTL_DSP_PROFILE) | ||
2875 | COMPATIBLE_IOCTL(SOUND_PCM_READ_RATE) | ||
2876 | COMPATIBLE_IOCTL(SOUND_PCM_READ_CHANNELS) | ||
2877 | COMPATIBLE_IOCTL(SOUND_PCM_READ_BITS) | ||
2878 | COMPATIBLE_IOCTL(SOUND_PCM_READ_FILTER) | ||
2879 | /* Big C for sound/OSS */ | ||
2880 | COMPATIBLE_IOCTL(SNDCTL_COPR_RESET) | ||
2881 | COMPATIBLE_IOCTL(SNDCTL_COPR_LOAD) | ||
2882 | COMPATIBLE_IOCTL(SNDCTL_COPR_RDATA) | ||
2883 | COMPATIBLE_IOCTL(SNDCTL_COPR_RCODE) | ||
2884 | COMPATIBLE_IOCTL(SNDCTL_COPR_WDATA) | ||
2885 | COMPATIBLE_IOCTL(SNDCTL_COPR_WCODE) | ||
2886 | COMPATIBLE_IOCTL(SNDCTL_COPR_RUN) | ||
2887 | COMPATIBLE_IOCTL(SNDCTL_COPR_HALT) | ||
2888 | COMPATIBLE_IOCTL(SNDCTL_COPR_SENDMSG) | ||
2889 | COMPATIBLE_IOCTL(SNDCTL_COPR_RCVMSG) | ||
2890 | /* Big M for sound/OSS */ | ||
2891 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_VOLUME) | ||
2892 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_BASS) | ||
2893 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_TREBLE) | ||
2894 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_SYNTH) | ||
2895 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_PCM) | ||
2896 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_SPEAKER) | ||
2897 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_LINE) | ||
2898 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_MIC) | ||
2899 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_CD) | ||
2900 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_IMIX) | ||
2901 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_ALTPCM) | ||
2902 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_RECLEV) | ||
2903 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_IGAIN) | ||
2904 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_OGAIN) | ||
2905 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_LINE1) | ||
2906 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_LINE2) | ||
2907 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_LINE3) | ||
2908 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_DIGITAL1)) | ||
2909 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_DIGITAL2)) | ||
2910 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_DIGITAL3)) | ||
2911 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_PHONEIN)) | ||
2912 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_PHONEOUT)) | ||
2913 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_VIDEO)) | ||
2914 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_RADIO)) | ||
2915 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_MONITOR)) | ||
2916 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_MUTE) | ||
2917 | /* SOUND_MIXER_READ_ENHANCE, same value as READ_MUTE */ | ||
2918 | /* SOUND_MIXER_READ_LOUD, same value as READ_MUTE */ | ||
2919 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_RECSRC) | ||
2920 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_DEVMASK) | ||
2921 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_RECMASK) | ||
2922 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_STEREODEVS) | ||
2923 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_CAPS) | ||
2924 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_VOLUME) | ||
2925 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_BASS) | ||
2926 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_TREBLE) | ||
2927 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_SYNTH) | ||
2928 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_PCM) | ||
2929 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_SPEAKER) | ||
2930 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_LINE) | ||
2931 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_MIC) | ||
2932 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_CD) | ||
2933 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_IMIX) | ||
2934 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_ALTPCM) | ||
2935 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_RECLEV) | ||
2936 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_IGAIN) | ||
2937 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_OGAIN) | ||
2938 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_LINE1) | ||
2939 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_LINE2) | ||
2940 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_LINE3) | ||
2941 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_DIGITAL1)) | ||
2942 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_DIGITAL2)) | ||
2943 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_DIGITAL3)) | ||
2944 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_PHONEIN)) | ||
2945 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_PHONEOUT)) | ||
2946 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_VIDEO)) | ||
2947 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_RADIO)) | ||
2948 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_MONITOR)) | ||
2949 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_MUTE) | ||
2950 | /* SOUND_MIXER_WRITE_ENHANCE, same value as WRITE_MUTE */ | ||
2951 | /* SOUND_MIXER_WRITE_LOUD, same value as WRITE_MUTE */ | ||
2952 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_RECSRC) | ||
2953 | COMPATIBLE_IOCTL(SOUND_MIXER_INFO) | ||
2954 | COMPATIBLE_IOCTL(SOUND_OLD_MIXER_INFO) | ||
2955 | COMPATIBLE_IOCTL(SOUND_MIXER_ACCESS) | ||
2956 | COMPATIBLE_IOCTL(SOUND_MIXER_AGC) | ||
2957 | COMPATIBLE_IOCTL(SOUND_MIXER_3DSE) | ||
2958 | COMPATIBLE_IOCTL(SOUND_MIXER_PRIVATE1) | ||
2959 | COMPATIBLE_IOCTL(SOUND_MIXER_PRIVATE2) | ||
2960 | COMPATIBLE_IOCTL(SOUND_MIXER_PRIVATE3) | ||
2961 | COMPATIBLE_IOCTL(SOUND_MIXER_PRIVATE4) | ||
2962 | COMPATIBLE_IOCTL(SOUND_MIXER_PRIVATE5) | ||
2963 | COMPATIBLE_IOCTL(SOUND_MIXER_GETLEVELS) | ||
2964 | COMPATIBLE_IOCTL(SOUND_MIXER_SETLEVELS) | ||
2965 | COMPATIBLE_IOCTL(OSS_GETVERSION) | ||
2966 | /* AUTOFS */ | ||
2967 | ULONG_IOCTL(AUTOFS_IOC_READY) | ||
2968 | ULONG_IOCTL(AUTOFS_IOC_FAIL) | ||
2969 | COMPATIBLE_IOCTL(AUTOFS_IOC_CATATONIC) | ||
2970 | COMPATIBLE_IOCTL(AUTOFS_IOC_PROTOVER) | ||
2971 | COMPATIBLE_IOCTL(AUTOFS_IOC_EXPIRE) | ||
2972 | COMPATIBLE_IOCTL(AUTOFS_IOC_EXPIRE_MULTI) | ||
2973 | COMPATIBLE_IOCTL(AUTOFS_IOC_PROTOSUBVER) | ||
2974 | COMPATIBLE_IOCTL(AUTOFS_IOC_ASKREGHOST) | ||
2975 | COMPATIBLE_IOCTL(AUTOFS_IOC_TOGGLEREGHOST) | ||
2976 | COMPATIBLE_IOCTL(AUTOFS_IOC_ASKUMOUNT) | ||
2977 | /* Raw devices */ | ||
2978 | COMPATIBLE_IOCTL(RAW_SETBIND) | ||
2979 | COMPATIBLE_IOCTL(RAW_GETBIND) | ||
2980 | /* SMB ioctls which do not need any translations */ | ||
2981 | COMPATIBLE_IOCTL(SMB_IOC_NEWCONN) | ||
2982 | /* Little a */ | ||
2983 | COMPATIBLE_IOCTL(ATMSIGD_CTRL) | ||
2984 | COMPATIBLE_IOCTL(ATMARPD_CTRL) | ||
2985 | COMPATIBLE_IOCTL(ATMLEC_CTRL) | ||
2986 | COMPATIBLE_IOCTL(ATMLEC_MCAST) | ||
2987 | COMPATIBLE_IOCTL(ATMLEC_DATA) | ||
2988 | COMPATIBLE_IOCTL(ATM_SETSC) | ||
2989 | COMPATIBLE_IOCTL(SIOCSIFATMTCP) | ||
2990 | COMPATIBLE_IOCTL(SIOCMKCLIP) | ||
2991 | COMPATIBLE_IOCTL(ATMARP_MKIP) | ||
2992 | COMPATIBLE_IOCTL(ATMARP_SETENTRY) | ||
2993 | COMPATIBLE_IOCTL(ATMARP_ENCAP) | ||
2994 | COMPATIBLE_IOCTL(ATMTCP_CREATE) | ||
2995 | COMPATIBLE_IOCTL(ATMTCP_REMOVE) | ||
2996 | COMPATIBLE_IOCTL(ATMMPC_CTRL) | ||
2997 | COMPATIBLE_IOCTL(ATMMPC_DATA) | ||
2998 | /* Watchdog */ | ||
2999 | COMPATIBLE_IOCTL(WDIOC_GETSUPPORT) | ||
3000 | COMPATIBLE_IOCTL(WDIOC_GETSTATUS) | ||
3001 | COMPATIBLE_IOCTL(WDIOC_GETBOOTSTATUS) | ||
3002 | COMPATIBLE_IOCTL(WDIOC_GETTEMP) | ||
3003 | COMPATIBLE_IOCTL(WDIOC_SETOPTIONS) | ||
3004 | COMPATIBLE_IOCTL(WDIOC_KEEPALIVE) | ||
3005 | COMPATIBLE_IOCTL(WDIOC_SETTIMEOUT) | ||
3006 | COMPATIBLE_IOCTL(WDIOC_GETTIMEOUT) | ||
3007 | /* Big R */ | ||
3008 | COMPATIBLE_IOCTL(RNDGETENTCNT) | ||
3009 | COMPATIBLE_IOCTL(RNDADDTOENTCNT) | ||
3010 | COMPATIBLE_IOCTL(RNDGETPOOL) | ||
3011 | COMPATIBLE_IOCTL(RNDADDENTROPY) | ||
3012 | COMPATIBLE_IOCTL(RNDZAPENTCNT) | ||
3013 | COMPATIBLE_IOCTL(RNDCLEARPOOL) | ||
3014 | /* Bluetooth */ | ||
3015 | COMPATIBLE_IOCTL(HCIDEVUP) | ||
3016 | COMPATIBLE_IOCTL(HCIDEVDOWN) | ||
3017 | COMPATIBLE_IOCTL(HCIDEVRESET) | ||
3018 | COMPATIBLE_IOCTL(HCIDEVRESTAT) | ||
3019 | COMPATIBLE_IOCTL(HCIGETDEVLIST) | ||
3020 | COMPATIBLE_IOCTL(HCIGETDEVINFO) | ||
3021 | COMPATIBLE_IOCTL(HCIGETCONNLIST) | ||
3022 | COMPATIBLE_IOCTL(HCIGETCONNINFO) | ||
3023 | COMPATIBLE_IOCTL(HCISETRAW) | ||
3024 | COMPATIBLE_IOCTL(HCISETSCAN) | ||
3025 | COMPATIBLE_IOCTL(HCISETAUTH) | ||
3026 | COMPATIBLE_IOCTL(HCISETENCRYPT) | ||
3027 | COMPATIBLE_IOCTL(HCISETPTYPE) | ||
3028 | COMPATIBLE_IOCTL(HCISETLINKPOL) | ||
3029 | COMPATIBLE_IOCTL(HCISETLINKMODE) | ||
3030 | COMPATIBLE_IOCTL(HCISETACLMTU) | ||
3031 | COMPATIBLE_IOCTL(HCISETSCOMTU) | ||
3032 | COMPATIBLE_IOCTL(HCIINQUIRY) | ||
3033 | COMPATIBLE_IOCTL(HCIUARTSETPROTO) | ||
3034 | COMPATIBLE_IOCTL(HCIUARTGETPROTO) | ||
3035 | COMPATIBLE_IOCTL(RFCOMMCREATEDEV) | ||
3036 | COMPATIBLE_IOCTL(RFCOMMRELEASEDEV) | ||
3037 | COMPATIBLE_IOCTL(RFCOMMGETDEVLIST) | ||
3038 | COMPATIBLE_IOCTL(RFCOMMGETDEVINFO) | ||
3039 | COMPATIBLE_IOCTL(RFCOMMSTEALDLC) | ||
3040 | COMPATIBLE_IOCTL(BNEPCONNADD) | ||
3041 | COMPATIBLE_IOCTL(BNEPCONNDEL) | ||
3042 | COMPATIBLE_IOCTL(BNEPGETCONNLIST) | ||
3043 | COMPATIBLE_IOCTL(BNEPGETCONNINFO) | ||
3044 | COMPATIBLE_IOCTL(CMTPCONNADD) | ||
3045 | COMPATIBLE_IOCTL(CMTPCONNDEL) | ||
3046 | COMPATIBLE_IOCTL(CMTPGETCONNLIST) | ||
3047 | COMPATIBLE_IOCTL(CMTPGETCONNINFO) | ||
3048 | COMPATIBLE_IOCTL(HIDPCONNADD) | ||
3049 | COMPATIBLE_IOCTL(HIDPCONNDEL) | ||
3050 | COMPATIBLE_IOCTL(HIDPGETCONNLIST) | ||
3051 | COMPATIBLE_IOCTL(HIDPGETCONNINFO) | ||
3052 | /* CAPI */ | ||
3053 | COMPATIBLE_IOCTL(CAPI_REGISTER) | ||
3054 | COMPATIBLE_IOCTL(CAPI_GET_MANUFACTURER) | ||
3055 | COMPATIBLE_IOCTL(CAPI_GET_VERSION) | ||
3056 | COMPATIBLE_IOCTL(CAPI_GET_SERIAL) | ||
3057 | COMPATIBLE_IOCTL(CAPI_GET_PROFILE) | ||
3058 | COMPATIBLE_IOCTL(CAPI_MANUFACTURER_CMD) | ||
3059 | COMPATIBLE_IOCTL(CAPI_GET_ERRCODE) | ||
3060 | COMPATIBLE_IOCTL(CAPI_INSTALLED) | ||
3061 | COMPATIBLE_IOCTL(CAPI_GET_FLAGS) | ||
3062 | COMPATIBLE_IOCTL(CAPI_SET_FLAGS) | ||
3063 | COMPATIBLE_IOCTL(CAPI_CLR_FLAGS) | ||
3064 | COMPATIBLE_IOCTL(CAPI_NCCI_OPENCOUNT) | ||
3065 | COMPATIBLE_IOCTL(CAPI_NCCI_GETUNIT) | ||
3066 | /* Siemens Gigaset */ | ||
3067 | COMPATIBLE_IOCTL(GIGASET_REDIR) | ||
3068 | COMPATIBLE_IOCTL(GIGASET_CONFIG) | ||
3069 | COMPATIBLE_IOCTL(GIGASET_BRKCHARS) | ||
3070 | COMPATIBLE_IOCTL(GIGASET_VERSION) | ||
3071 | /* Misc. */ | ||
3072 | COMPATIBLE_IOCTL(0x41545900) /* ATYIO_CLKR */ | ||
3073 | COMPATIBLE_IOCTL(0x41545901) /* ATYIO_CLKW */ | ||
3074 | COMPATIBLE_IOCTL(PCIIOC_CONTROLLER) | ||
3075 | COMPATIBLE_IOCTL(PCIIOC_MMAP_IS_IO) | ||
3076 | COMPATIBLE_IOCTL(PCIIOC_MMAP_IS_MEM) | ||
3077 | COMPATIBLE_IOCTL(PCIIOC_WRITE_COMBINE) | ||
3078 | /* USB */ | ||
3079 | COMPATIBLE_IOCTL(USBDEVFS_RESETEP) | ||
3080 | COMPATIBLE_IOCTL(USBDEVFS_SETINTERFACE) | ||
3081 | COMPATIBLE_IOCTL(USBDEVFS_SETCONFIGURATION) | ||
3082 | COMPATIBLE_IOCTL(USBDEVFS_GETDRIVER) | ||
3083 | COMPATIBLE_IOCTL(USBDEVFS_DISCARDURB) | ||
3084 | COMPATIBLE_IOCTL(USBDEVFS_CLAIMINTERFACE) | ||
3085 | COMPATIBLE_IOCTL(USBDEVFS_RELEASEINTERFACE) | ||
3086 | COMPATIBLE_IOCTL(USBDEVFS_CONNECTINFO) | ||
3087 | COMPATIBLE_IOCTL(USBDEVFS_HUB_PORTINFO) | ||
3088 | COMPATIBLE_IOCTL(USBDEVFS_RESET) | ||
3089 | COMPATIBLE_IOCTL(USBDEVFS_SUBMITURB32) | ||
3090 | COMPATIBLE_IOCTL(USBDEVFS_REAPURB32) | ||
3091 | COMPATIBLE_IOCTL(USBDEVFS_REAPURBNDELAY32) | ||
3092 | COMPATIBLE_IOCTL(USBDEVFS_CLEAR_HALT) | ||
3093 | /* MTD */ | ||
3094 | COMPATIBLE_IOCTL(MEMGETINFO) | ||
3095 | COMPATIBLE_IOCTL(MEMERASE) | ||
3096 | COMPATIBLE_IOCTL(MEMLOCK) | ||
3097 | COMPATIBLE_IOCTL(MEMUNLOCK) | ||
3098 | COMPATIBLE_IOCTL(MEMGETREGIONCOUNT) | ||
3099 | COMPATIBLE_IOCTL(MEMGETREGIONINFO) | ||
3100 | COMPATIBLE_IOCTL(MEMGETBADBLOCK) | ||
3101 | COMPATIBLE_IOCTL(MEMSETBADBLOCK) | ||
3102 | /* NBD */ | ||
3103 | ULONG_IOCTL(NBD_SET_SOCK) | ||
3104 | ULONG_IOCTL(NBD_SET_BLKSIZE) | ||
3105 | ULONG_IOCTL(NBD_SET_SIZE) | ||
3106 | COMPATIBLE_IOCTL(NBD_DO_IT) | ||
3107 | COMPATIBLE_IOCTL(NBD_CLEAR_SOCK) | ||
3108 | COMPATIBLE_IOCTL(NBD_CLEAR_QUE) | ||
3109 | COMPATIBLE_IOCTL(NBD_PRINT_DEBUG) | ||
3110 | ULONG_IOCTL(NBD_SET_SIZE_BLOCKS) | ||
3111 | COMPATIBLE_IOCTL(NBD_DISCONNECT) | ||
3112 | /* i2c */ | ||
3113 | COMPATIBLE_IOCTL(I2C_SLAVE) | ||
3114 | COMPATIBLE_IOCTL(I2C_SLAVE_FORCE) | ||
3115 | COMPATIBLE_IOCTL(I2C_TENBIT) | ||
3116 | COMPATIBLE_IOCTL(I2C_PEC) | ||
3117 | COMPATIBLE_IOCTL(I2C_RETRIES) | ||
3118 | COMPATIBLE_IOCTL(I2C_TIMEOUT) | ||
3119 | /* wireless */ | ||
3120 | COMPATIBLE_IOCTL(SIOCSIWCOMMIT) | ||
3121 | COMPATIBLE_IOCTL(SIOCGIWNAME) | ||
3122 | COMPATIBLE_IOCTL(SIOCSIWNWID) | ||
3123 | COMPATIBLE_IOCTL(SIOCGIWNWID) | ||
3124 | COMPATIBLE_IOCTL(SIOCSIWFREQ) | ||
3125 | COMPATIBLE_IOCTL(SIOCGIWFREQ) | ||
3126 | COMPATIBLE_IOCTL(SIOCSIWMODE) | ||
3127 | COMPATIBLE_IOCTL(SIOCGIWMODE) | ||
3128 | COMPATIBLE_IOCTL(SIOCSIWSENS) | ||
3129 | COMPATIBLE_IOCTL(SIOCGIWSENS) | ||
3130 | COMPATIBLE_IOCTL(SIOCSIWRANGE) | ||
3131 | COMPATIBLE_IOCTL(SIOCSIWPRIV) | ||
3132 | COMPATIBLE_IOCTL(SIOCGIWPRIV) | ||
3133 | COMPATIBLE_IOCTL(SIOCSIWSTATS) | ||
3134 | COMPATIBLE_IOCTL(SIOCGIWSTATS) | ||
3135 | COMPATIBLE_IOCTL(SIOCSIWAP) | ||
3136 | COMPATIBLE_IOCTL(SIOCGIWAP) | ||
3137 | COMPATIBLE_IOCTL(SIOCSIWSCAN) | ||
3138 | COMPATIBLE_IOCTL(SIOCSIWRATE) | ||
3139 | COMPATIBLE_IOCTL(SIOCGIWRATE) | ||
3140 | COMPATIBLE_IOCTL(SIOCSIWRTS) | ||
3141 | COMPATIBLE_IOCTL(SIOCGIWRTS) | ||
3142 | COMPATIBLE_IOCTL(SIOCSIWFRAG) | ||
3143 | COMPATIBLE_IOCTL(SIOCGIWFRAG) | ||
3144 | COMPATIBLE_IOCTL(SIOCSIWTXPOW) | ||
3145 | COMPATIBLE_IOCTL(SIOCGIWTXPOW) | ||
3146 | COMPATIBLE_IOCTL(SIOCSIWRETRY) | ||
3147 | COMPATIBLE_IOCTL(SIOCGIWRETRY) | ||
3148 | COMPATIBLE_IOCTL(SIOCSIWPOWER) | ||
3149 | COMPATIBLE_IOCTL(SIOCGIWPOWER) | ||
3150 | /* hiddev */ | ||
3151 | COMPATIBLE_IOCTL(HIDIOCGVERSION) | ||
3152 | COMPATIBLE_IOCTL(HIDIOCAPPLICATION) | ||
3153 | COMPATIBLE_IOCTL(HIDIOCGDEVINFO) | ||
3154 | COMPATIBLE_IOCTL(HIDIOCGSTRING) | ||
3155 | COMPATIBLE_IOCTL(HIDIOCINITREPORT) | ||
3156 | COMPATIBLE_IOCTL(HIDIOCGREPORT) | ||
3157 | COMPATIBLE_IOCTL(HIDIOCSREPORT) | ||
3158 | COMPATIBLE_IOCTL(HIDIOCGREPORTINFO) | ||
3159 | COMPATIBLE_IOCTL(HIDIOCGFIELDINFO) | ||
3160 | COMPATIBLE_IOCTL(HIDIOCGUSAGE) | ||
3161 | COMPATIBLE_IOCTL(HIDIOCSUSAGE) | ||
3162 | COMPATIBLE_IOCTL(HIDIOCGUCODE) | ||
3163 | COMPATIBLE_IOCTL(HIDIOCGFLAG) | ||
3164 | COMPATIBLE_IOCTL(HIDIOCSFLAG) | ||
3165 | COMPATIBLE_IOCTL(HIDIOCGCOLLECTIONINDEX) | ||
3166 | COMPATIBLE_IOCTL(HIDIOCGCOLLECTIONINFO) | ||
3167 | /* dvb */ | ||
3168 | COMPATIBLE_IOCTL(AUDIO_STOP) | ||
3169 | COMPATIBLE_IOCTL(AUDIO_PLAY) | ||
3170 | COMPATIBLE_IOCTL(AUDIO_PAUSE) | ||
3171 | COMPATIBLE_IOCTL(AUDIO_CONTINUE) | ||
3172 | COMPATIBLE_IOCTL(AUDIO_SELECT_SOURCE) | ||
3173 | COMPATIBLE_IOCTL(AUDIO_SET_MUTE) | ||
3174 | COMPATIBLE_IOCTL(AUDIO_SET_AV_SYNC) | ||
3175 | COMPATIBLE_IOCTL(AUDIO_SET_BYPASS_MODE) | ||
3176 | COMPATIBLE_IOCTL(AUDIO_CHANNEL_SELECT) | ||
3177 | COMPATIBLE_IOCTL(AUDIO_GET_STATUS) | ||
3178 | COMPATIBLE_IOCTL(AUDIO_GET_CAPABILITIES) | ||
3179 | COMPATIBLE_IOCTL(AUDIO_CLEAR_BUFFER) | ||
3180 | COMPATIBLE_IOCTL(AUDIO_SET_ID) | ||
3181 | COMPATIBLE_IOCTL(AUDIO_SET_MIXER) | ||
3182 | COMPATIBLE_IOCTL(AUDIO_SET_STREAMTYPE) | ||
3183 | COMPATIBLE_IOCTL(AUDIO_SET_EXT_ID) | ||
3184 | COMPATIBLE_IOCTL(AUDIO_SET_ATTRIBUTES) | ||
3185 | COMPATIBLE_IOCTL(AUDIO_SET_KARAOKE) | ||
3186 | COMPATIBLE_IOCTL(DMX_START) | ||
3187 | COMPATIBLE_IOCTL(DMX_STOP) | ||
3188 | COMPATIBLE_IOCTL(DMX_SET_FILTER) | ||
3189 | COMPATIBLE_IOCTL(DMX_SET_PES_FILTER) | ||
3190 | COMPATIBLE_IOCTL(DMX_SET_BUFFER_SIZE) | ||
3191 | COMPATIBLE_IOCTL(DMX_GET_PES_PIDS) | ||
3192 | COMPATIBLE_IOCTL(DMX_GET_CAPS) | ||
3193 | COMPATIBLE_IOCTL(DMX_SET_SOURCE) | ||
3194 | COMPATIBLE_IOCTL(DMX_GET_STC) | ||
3195 | COMPATIBLE_IOCTL(FE_GET_INFO) | ||
3196 | COMPATIBLE_IOCTL(FE_DISEQC_RESET_OVERLOAD) | ||
3197 | COMPATIBLE_IOCTL(FE_DISEQC_SEND_MASTER_CMD) | ||
3198 | COMPATIBLE_IOCTL(FE_DISEQC_RECV_SLAVE_REPLY) | ||
3199 | COMPATIBLE_IOCTL(FE_DISEQC_SEND_BURST) | ||
3200 | COMPATIBLE_IOCTL(FE_SET_TONE) | ||
3201 | COMPATIBLE_IOCTL(FE_SET_VOLTAGE) | ||
3202 | COMPATIBLE_IOCTL(FE_ENABLE_HIGH_LNB_VOLTAGE) | ||
3203 | COMPATIBLE_IOCTL(FE_READ_STATUS) | ||
3204 | COMPATIBLE_IOCTL(FE_READ_BER) | ||
3205 | COMPATIBLE_IOCTL(FE_READ_SIGNAL_STRENGTH) | ||
3206 | COMPATIBLE_IOCTL(FE_READ_SNR) | ||
3207 | COMPATIBLE_IOCTL(FE_READ_UNCORRECTED_BLOCKS) | ||
3208 | COMPATIBLE_IOCTL(FE_SET_FRONTEND) | ||
3209 | COMPATIBLE_IOCTL(FE_GET_FRONTEND) | ||
3210 | COMPATIBLE_IOCTL(FE_GET_EVENT) | ||
3211 | COMPATIBLE_IOCTL(FE_DISHNETWORK_SEND_LEGACY_CMD) | ||
3212 | COMPATIBLE_IOCTL(VIDEO_STOP) | ||
3213 | COMPATIBLE_IOCTL(VIDEO_PLAY) | ||
3214 | COMPATIBLE_IOCTL(VIDEO_FREEZE) | ||
3215 | COMPATIBLE_IOCTL(VIDEO_CONTINUE) | ||
3216 | COMPATIBLE_IOCTL(VIDEO_SELECT_SOURCE) | ||
3217 | COMPATIBLE_IOCTL(VIDEO_SET_BLANK) | ||
3218 | COMPATIBLE_IOCTL(VIDEO_GET_STATUS) | ||
3219 | COMPATIBLE_IOCTL(VIDEO_SET_DISPLAY_FORMAT) | ||
3220 | COMPATIBLE_IOCTL(VIDEO_FAST_FORWARD) | ||
3221 | COMPATIBLE_IOCTL(VIDEO_SLOWMOTION) | ||
3222 | COMPATIBLE_IOCTL(VIDEO_GET_CAPABILITIES) | ||
3223 | COMPATIBLE_IOCTL(VIDEO_CLEAR_BUFFER) | ||
3224 | COMPATIBLE_IOCTL(VIDEO_SET_ID) | ||
3225 | COMPATIBLE_IOCTL(VIDEO_SET_STREAMTYPE) | ||
3226 | COMPATIBLE_IOCTL(VIDEO_SET_FORMAT) | ||
3227 | COMPATIBLE_IOCTL(VIDEO_SET_SYSTEM) | ||
3228 | COMPATIBLE_IOCTL(VIDEO_SET_HIGHLIGHT) | ||
3229 | COMPATIBLE_IOCTL(VIDEO_SET_SPU) | ||
3230 | COMPATIBLE_IOCTL(VIDEO_GET_NAVI) | ||
3231 | COMPATIBLE_IOCTL(VIDEO_SET_ATTRIBUTES) | ||
3232 | COMPATIBLE_IOCTL(VIDEO_GET_SIZE) | ||
3233 | COMPATIBLE_IOCTL(VIDEO_GET_FRAME_RATE) | ||
3234 | |||
3235 | /* now things that need handlers */ | ||
2409 | HANDLE_IOCTL(MEMREADOOB32, mtd_rw_oob) | 3236 | HANDLE_IOCTL(MEMREADOOB32, mtd_rw_oob) |
2410 | HANDLE_IOCTL(MEMWRITEOOB32, mtd_rw_oob) | 3237 | HANDLE_IOCTL(MEMWRITEOOB32, mtd_rw_oob) |
2411 | #ifdef CONFIG_NET | 3238 | #ifdef CONFIG_NET |
diff --git a/include/linux/compat_ioctl.h b/include/linux/compat_ioctl.h deleted file mode 100644 index c26c3adcfacf..000000000000 --- a/include/linux/compat_ioctl.h +++ /dev/null | |||
@@ -1,830 +0,0 @@ | |||
1 | /* List here explicitly which ioctl's are known to have | ||
2 | * compatible types passed or none at all... Please include | ||
3 | * only stuff that is compatible on *all architectures*. | ||
4 | */ | ||
5 | |||
6 | COMPATIBLE_IOCTL(0x4B50) /* KDGHWCLK - not in the kernel, but don't complain */ | ||
7 | COMPATIBLE_IOCTL(0x4B51) /* KDSHWCLK - not in the kernel, but don't complain */ | ||
8 | |||
9 | /* Big T */ | ||
10 | COMPATIBLE_IOCTL(TCGETA) | ||
11 | COMPATIBLE_IOCTL(TCSETA) | ||
12 | COMPATIBLE_IOCTL(TCSETAW) | ||
13 | COMPATIBLE_IOCTL(TCSETAF) | ||
14 | COMPATIBLE_IOCTL(TCSBRK) | ||
15 | ULONG_IOCTL(TCSBRKP) | ||
16 | COMPATIBLE_IOCTL(TCXONC) | ||
17 | COMPATIBLE_IOCTL(TCFLSH) | ||
18 | COMPATIBLE_IOCTL(TCGETS) | ||
19 | COMPATIBLE_IOCTL(TCSETS) | ||
20 | COMPATIBLE_IOCTL(TCSETSW) | ||
21 | COMPATIBLE_IOCTL(TCSETSF) | ||
22 | COMPATIBLE_IOCTL(TIOCLINUX) | ||
23 | COMPATIBLE_IOCTL(TIOCSBRK) | ||
24 | COMPATIBLE_IOCTL(TIOCCBRK) | ||
25 | ULONG_IOCTL(TIOCMIWAIT) | ||
26 | COMPATIBLE_IOCTL(TIOCGICOUNT) | ||
27 | /* Little t */ | ||
28 | COMPATIBLE_IOCTL(TIOCGETD) | ||
29 | COMPATIBLE_IOCTL(TIOCSETD) | ||
30 | COMPATIBLE_IOCTL(TIOCEXCL) | ||
31 | COMPATIBLE_IOCTL(TIOCNXCL) | ||
32 | COMPATIBLE_IOCTL(TIOCCONS) | ||
33 | COMPATIBLE_IOCTL(TIOCGSOFTCAR) | ||
34 | COMPATIBLE_IOCTL(TIOCSSOFTCAR) | ||
35 | COMPATIBLE_IOCTL(TIOCSWINSZ) | ||
36 | COMPATIBLE_IOCTL(TIOCGWINSZ) | ||
37 | COMPATIBLE_IOCTL(TIOCMGET) | ||
38 | COMPATIBLE_IOCTL(TIOCMBIC) | ||
39 | COMPATIBLE_IOCTL(TIOCMBIS) | ||
40 | COMPATIBLE_IOCTL(TIOCMSET) | ||
41 | COMPATIBLE_IOCTL(TIOCPKT) | ||
42 | COMPATIBLE_IOCTL(TIOCNOTTY) | ||
43 | COMPATIBLE_IOCTL(TIOCSTI) | ||
44 | COMPATIBLE_IOCTL(TIOCOUTQ) | ||
45 | COMPATIBLE_IOCTL(TIOCSPGRP) | ||
46 | COMPATIBLE_IOCTL(TIOCGPGRP) | ||
47 | ULONG_IOCTL(TIOCSCTTY) | ||
48 | COMPATIBLE_IOCTL(TIOCGPTN) | ||
49 | COMPATIBLE_IOCTL(TIOCSPTLCK) | ||
50 | COMPATIBLE_IOCTL(TIOCSERGETLSR) | ||
51 | /* Little f */ | ||
52 | COMPATIBLE_IOCTL(FIOCLEX) | ||
53 | COMPATIBLE_IOCTL(FIONCLEX) | ||
54 | COMPATIBLE_IOCTL(FIOASYNC) | ||
55 | COMPATIBLE_IOCTL(FIONBIO) | ||
56 | COMPATIBLE_IOCTL(FIONREAD) /* This is also TIOCINQ */ | ||
57 | /* 0x00 */ | ||
58 | COMPATIBLE_IOCTL(FIBMAP) | ||
59 | COMPATIBLE_IOCTL(FIGETBSZ) | ||
60 | /* 0x03 -- HD/IDE ioctl's used by hdparm and friends. | ||
61 | * Some need translations, these do not. | ||
62 | */ | ||
63 | COMPATIBLE_IOCTL(HDIO_GET_IDENTITY) | ||
64 | COMPATIBLE_IOCTL(HDIO_DRIVE_TASK) | ||
65 | COMPATIBLE_IOCTL(HDIO_DRIVE_CMD) | ||
66 | ULONG_IOCTL(HDIO_SET_MULTCOUNT) | ||
67 | ULONG_IOCTL(HDIO_SET_UNMASKINTR) | ||
68 | ULONG_IOCTL(HDIO_SET_KEEPSETTINGS) | ||
69 | ULONG_IOCTL(HDIO_SET_32BIT) | ||
70 | ULONG_IOCTL(HDIO_SET_NOWERR) | ||
71 | ULONG_IOCTL(HDIO_SET_DMA) | ||
72 | ULONG_IOCTL(HDIO_SET_PIO_MODE) | ||
73 | ULONG_IOCTL(HDIO_SET_NICE) | ||
74 | ULONG_IOCTL(HDIO_SET_WCACHE) | ||
75 | ULONG_IOCTL(HDIO_SET_ACOUSTIC) | ||
76 | ULONG_IOCTL(HDIO_SET_BUSSTATE) | ||
77 | ULONG_IOCTL(HDIO_SET_ADDRESS) | ||
78 | COMPATIBLE_IOCTL(HDIO_SCAN_HWIF) | ||
79 | /* 0x330 is reserved -- it used to be HDIO_GETGEO_BIG */ | ||
80 | COMPATIBLE_IOCTL(0x330) | ||
81 | /* 0x02 -- Floppy ioctls */ | ||
82 | COMPATIBLE_IOCTL(FDMSGON) | ||
83 | COMPATIBLE_IOCTL(FDMSGOFF) | ||
84 | COMPATIBLE_IOCTL(FDSETEMSGTRESH) | ||
85 | COMPATIBLE_IOCTL(FDFLUSH) | ||
86 | COMPATIBLE_IOCTL(FDWERRORCLR) | ||
87 | COMPATIBLE_IOCTL(FDSETMAXERRS) | ||
88 | COMPATIBLE_IOCTL(FDGETMAXERRS) | ||
89 | COMPATIBLE_IOCTL(FDGETDRVTYP) | ||
90 | COMPATIBLE_IOCTL(FDEJECT) | ||
91 | COMPATIBLE_IOCTL(FDCLRPRM) | ||
92 | COMPATIBLE_IOCTL(FDFMTBEG) | ||
93 | COMPATIBLE_IOCTL(FDFMTEND) | ||
94 | COMPATIBLE_IOCTL(FDRESET) | ||
95 | COMPATIBLE_IOCTL(FDTWADDLE) | ||
96 | COMPATIBLE_IOCTL(FDFMTTRK) | ||
97 | COMPATIBLE_IOCTL(FDRAWCMD) | ||
98 | /* 0x12 */ | ||
99 | #ifdef CONFIG_BLOCK | ||
100 | COMPATIBLE_IOCTL(BLKRASET) | ||
101 | COMPATIBLE_IOCTL(BLKROSET) | ||
102 | COMPATIBLE_IOCTL(BLKROGET) | ||
103 | COMPATIBLE_IOCTL(BLKRRPART) | ||
104 | COMPATIBLE_IOCTL(BLKFLSBUF) | ||
105 | COMPATIBLE_IOCTL(BLKSECTSET) | ||
106 | COMPATIBLE_IOCTL(BLKSSZGET) | ||
107 | COMPATIBLE_IOCTL(BLKTRACESTART) | ||
108 | COMPATIBLE_IOCTL(BLKTRACESTOP) | ||
109 | COMPATIBLE_IOCTL(BLKTRACESETUP) | ||
110 | COMPATIBLE_IOCTL(BLKTRACETEARDOWN) | ||
111 | ULONG_IOCTL(BLKRASET) | ||
112 | ULONG_IOCTL(BLKFRASET) | ||
113 | #endif | ||
114 | /* RAID */ | ||
115 | COMPATIBLE_IOCTL(RAID_VERSION) | ||
116 | COMPATIBLE_IOCTL(GET_ARRAY_INFO) | ||
117 | COMPATIBLE_IOCTL(GET_DISK_INFO) | ||
118 | COMPATIBLE_IOCTL(PRINT_RAID_DEBUG) | ||
119 | COMPATIBLE_IOCTL(RAID_AUTORUN) | ||
120 | COMPATIBLE_IOCTL(CLEAR_ARRAY) | ||
121 | COMPATIBLE_IOCTL(ADD_NEW_DISK) | ||
122 | ULONG_IOCTL(HOT_REMOVE_DISK) | ||
123 | COMPATIBLE_IOCTL(SET_ARRAY_INFO) | ||
124 | COMPATIBLE_IOCTL(SET_DISK_INFO) | ||
125 | COMPATIBLE_IOCTL(WRITE_RAID_INFO) | ||
126 | COMPATIBLE_IOCTL(UNPROTECT_ARRAY) | ||
127 | COMPATIBLE_IOCTL(PROTECT_ARRAY) | ||
128 | ULONG_IOCTL(HOT_ADD_DISK) | ||
129 | ULONG_IOCTL(SET_DISK_FAULTY) | ||
130 | COMPATIBLE_IOCTL(RUN_ARRAY) | ||
131 | COMPATIBLE_IOCTL(STOP_ARRAY) | ||
132 | COMPATIBLE_IOCTL(STOP_ARRAY_RO) | ||
133 | COMPATIBLE_IOCTL(RESTART_ARRAY_RW) | ||
134 | COMPATIBLE_IOCTL(GET_BITMAP_FILE) | ||
135 | ULONG_IOCTL(SET_BITMAP_FILE) | ||
136 | /* DM */ | ||
137 | COMPATIBLE_IOCTL(DM_VERSION_32) | ||
138 | COMPATIBLE_IOCTL(DM_REMOVE_ALL_32) | ||
139 | COMPATIBLE_IOCTL(DM_LIST_DEVICES_32) | ||
140 | COMPATIBLE_IOCTL(DM_DEV_CREATE_32) | ||
141 | COMPATIBLE_IOCTL(DM_DEV_REMOVE_32) | ||
142 | COMPATIBLE_IOCTL(DM_DEV_RENAME_32) | ||
143 | COMPATIBLE_IOCTL(DM_DEV_SUSPEND_32) | ||
144 | COMPATIBLE_IOCTL(DM_DEV_STATUS_32) | ||
145 | COMPATIBLE_IOCTL(DM_DEV_WAIT_32) | ||
146 | COMPATIBLE_IOCTL(DM_TABLE_LOAD_32) | ||
147 | COMPATIBLE_IOCTL(DM_TABLE_CLEAR_32) | ||
148 | COMPATIBLE_IOCTL(DM_TABLE_DEPS_32) | ||
149 | COMPATIBLE_IOCTL(DM_TABLE_STATUS_32) | ||
150 | COMPATIBLE_IOCTL(DM_LIST_VERSIONS_32) | ||
151 | COMPATIBLE_IOCTL(DM_TARGET_MSG_32) | ||
152 | COMPATIBLE_IOCTL(DM_DEV_SET_GEOMETRY_32) | ||
153 | COMPATIBLE_IOCTL(DM_VERSION) | ||
154 | COMPATIBLE_IOCTL(DM_REMOVE_ALL) | ||
155 | COMPATIBLE_IOCTL(DM_LIST_DEVICES) | ||
156 | COMPATIBLE_IOCTL(DM_DEV_CREATE) | ||
157 | COMPATIBLE_IOCTL(DM_DEV_REMOVE) | ||
158 | COMPATIBLE_IOCTL(DM_DEV_RENAME) | ||
159 | COMPATIBLE_IOCTL(DM_DEV_SUSPEND) | ||
160 | COMPATIBLE_IOCTL(DM_DEV_STATUS) | ||
161 | COMPATIBLE_IOCTL(DM_DEV_WAIT) | ||
162 | COMPATIBLE_IOCTL(DM_TABLE_LOAD) | ||
163 | COMPATIBLE_IOCTL(DM_TABLE_CLEAR) | ||
164 | COMPATIBLE_IOCTL(DM_TABLE_DEPS) | ||
165 | COMPATIBLE_IOCTL(DM_TABLE_STATUS) | ||
166 | COMPATIBLE_IOCTL(DM_LIST_VERSIONS) | ||
167 | COMPATIBLE_IOCTL(DM_TARGET_MSG) | ||
168 | COMPATIBLE_IOCTL(DM_DEV_SET_GEOMETRY) | ||
169 | /* Big K */ | ||
170 | COMPATIBLE_IOCTL(PIO_FONT) | ||
171 | COMPATIBLE_IOCTL(GIO_FONT) | ||
172 | ULONG_IOCTL(KDSIGACCEPT) | ||
173 | COMPATIBLE_IOCTL(KDGETKEYCODE) | ||
174 | COMPATIBLE_IOCTL(KDSETKEYCODE) | ||
175 | ULONG_IOCTL(KIOCSOUND) | ||
176 | ULONG_IOCTL(KDMKTONE) | ||
177 | COMPATIBLE_IOCTL(KDGKBTYPE) | ||
178 | ULONG_IOCTL(KDSETMODE) | ||
179 | COMPATIBLE_IOCTL(KDGETMODE) | ||
180 | ULONG_IOCTL(KDSKBMODE) | ||
181 | COMPATIBLE_IOCTL(KDGKBMODE) | ||
182 | ULONG_IOCTL(KDSKBMETA) | ||
183 | COMPATIBLE_IOCTL(KDGKBMETA) | ||
184 | COMPATIBLE_IOCTL(KDGKBENT) | ||
185 | COMPATIBLE_IOCTL(KDSKBENT) | ||
186 | COMPATIBLE_IOCTL(KDGKBSENT) | ||
187 | COMPATIBLE_IOCTL(KDSKBSENT) | ||
188 | COMPATIBLE_IOCTL(KDGKBDIACR) | ||
189 | COMPATIBLE_IOCTL(KDSKBDIACR) | ||
190 | COMPATIBLE_IOCTL(KDKBDREP) | ||
191 | COMPATIBLE_IOCTL(KDGKBLED) | ||
192 | ULONG_IOCTL(KDSKBLED) | ||
193 | COMPATIBLE_IOCTL(KDGETLED) | ||
194 | ULONG_IOCTL(KDSETLED) | ||
195 | COMPATIBLE_IOCTL(GIO_SCRNMAP) | ||
196 | COMPATIBLE_IOCTL(PIO_SCRNMAP) | ||
197 | COMPATIBLE_IOCTL(GIO_UNISCRNMAP) | ||
198 | COMPATIBLE_IOCTL(PIO_UNISCRNMAP) | ||
199 | COMPATIBLE_IOCTL(PIO_FONTRESET) | ||
200 | COMPATIBLE_IOCTL(PIO_UNIMAPCLR) | ||
201 | /* Big S */ | ||
202 | COMPATIBLE_IOCTL(SCSI_IOCTL_GET_IDLUN) | ||
203 | COMPATIBLE_IOCTL(SCSI_IOCTL_DOORLOCK) | ||
204 | COMPATIBLE_IOCTL(SCSI_IOCTL_DOORUNLOCK) | ||
205 | COMPATIBLE_IOCTL(SCSI_IOCTL_TEST_UNIT_READY) | ||
206 | COMPATIBLE_IOCTL(SCSI_IOCTL_GET_BUS_NUMBER) | ||
207 | COMPATIBLE_IOCTL(SCSI_IOCTL_SEND_COMMAND) | ||
208 | COMPATIBLE_IOCTL(SCSI_IOCTL_PROBE_HOST) | ||
209 | COMPATIBLE_IOCTL(SCSI_IOCTL_GET_PCI) | ||
210 | /* Big T */ | ||
211 | COMPATIBLE_IOCTL(TUNSETNOCSUM) | ||
212 | COMPATIBLE_IOCTL(TUNSETDEBUG) | ||
213 | COMPATIBLE_IOCTL(TUNSETPERSIST) | ||
214 | COMPATIBLE_IOCTL(TUNSETOWNER) | ||
215 | /* Big V */ | ||
216 | COMPATIBLE_IOCTL(VT_SETMODE) | ||
217 | COMPATIBLE_IOCTL(VT_GETMODE) | ||
218 | COMPATIBLE_IOCTL(VT_GETSTATE) | ||
219 | COMPATIBLE_IOCTL(VT_OPENQRY) | ||
220 | ULONG_IOCTL(VT_ACTIVATE) | ||
221 | ULONG_IOCTL(VT_WAITACTIVE) | ||
222 | ULONG_IOCTL(VT_RELDISP) | ||
223 | ULONG_IOCTL(VT_DISALLOCATE) | ||
224 | COMPATIBLE_IOCTL(VT_RESIZE) | ||
225 | COMPATIBLE_IOCTL(VT_RESIZEX) | ||
226 | COMPATIBLE_IOCTL(VT_LOCKSWITCH) | ||
227 | COMPATIBLE_IOCTL(VT_UNLOCKSWITCH) | ||
228 | COMPATIBLE_IOCTL(VT_GETHIFONTMASK) | ||
229 | /* Little p (/dev/rtc, /dev/envctrl, etc.) */ | ||
230 | COMPATIBLE_IOCTL(RTC_AIE_ON) | ||
231 | COMPATIBLE_IOCTL(RTC_AIE_OFF) | ||
232 | COMPATIBLE_IOCTL(RTC_UIE_ON) | ||
233 | COMPATIBLE_IOCTL(RTC_UIE_OFF) | ||
234 | COMPATIBLE_IOCTL(RTC_PIE_ON) | ||
235 | COMPATIBLE_IOCTL(RTC_PIE_OFF) | ||
236 | COMPATIBLE_IOCTL(RTC_WIE_ON) | ||
237 | COMPATIBLE_IOCTL(RTC_WIE_OFF) | ||
238 | COMPATIBLE_IOCTL(RTC_ALM_SET) | ||
239 | COMPATIBLE_IOCTL(RTC_ALM_READ) | ||
240 | COMPATIBLE_IOCTL(RTC_RD_TIME) | ||
241 | COMPATIBLE_IOCTL(RTC_SET_TIME) | ||
242 | COMPATIBLE_IOCTL(RTC_WKALM_SET) | ||
243 | COMPATIBLE_IOCTL(RTC_WKALM_RD) | ||
244 | /* | ||
245 | * These two are only for the sbus rtc driver, but | ||
246 | * hwclock tries them on every rtc device first when | ||
247 | * running on sparc. On other architectures the entries | ||
248 | * are useless but harmless. | ||
249 | */ | ||
250 | COMPATIBLE_IOCTL(_IOR('p', 20, int[7])) /* RTCGET */ | ||
251 | COMPATIBLE_IOCTL(_IOW('p', 21, int[7])) /* RTCSET */ | ||
252 | /* Little m */ | ||
253 | COMPATIBLE_IOCTL(MTIOCTOP) | ||
254 | /* Socket level stuff */ | ||
255 | COMPATIBLE_IOCTL(FIOQSIZE) | ||
256 | COMPATIBLE_IOCTL(FIOSETOWN) | ||
257 | COMPATIBLE_IOCTL(SIOCSPGRP) | ||
258 | COMPATIBLE_IOCTL(FIOGETOWN) | ||
259 | COMPATIBLE_IOCTL(SIOCGPGRP) | ||
260 | COMPATIBLE_IOCTL(SIOCATMARK) | ||
261 | COMPATIBLE_IOCTL(SIOCSIFLINK) | ||
262 | COMPATIBLE_IOCTL(SIOCSIFENCAP) | ||
263 | COMPATIBLE_IOCTL(SIOCGIFENCAP) | ||
264 | COMPATIBLE_IOCTL(SIOCSIFNAME) | ||
265 | COMPATIBLE_IOCTL(SIOCSARP) | ||
266 | COMPATIBLE_IOCTL(SIOCGARP) | ||
267 | COMPATIBLE_IOCTL(SIOCDARP) | ||
268 | COMPATIBLE_IOCTL(SIOCSRARP) | ||
269 | COMPATIBLE_IOCTL(SIOCGRARP) | ||
270 | COMPATIBLE_IOCTL(SIOCDRARP) | ||
271 | COMPATIBLE_IOCTL(SIOCADDDLCI) | ||
272 | COMPATIBLE_IOCTL(SIOCDELDLCI) | ||
273 | COMPATIBLE_IOCTL(SIOCGMIIPHY) | ||
274 | COMPATIBLE_IOCTL(SIOCGMIIREG) | ||
275 | COMPATIBLE_IOCTL(SIOCSMIIREG) | ||
276 | COMPATIBLE_IOCTL(SIOCGIFVLAN) | ||
277 | COMPATIBLE_IOCTL(SIOCSIFVLAN) | ||
278 | COMPATIBLE_IOCTL(SIOCBRADDBR) | ||
279 | COMPATIBLE_IOCTL(SIOCBRDELBR) | ||
280 | /* SG stuff */ | ||
281 | COMPATIBLE_IOCTL(SG_SET_TIMEOUT) | ||
282 | COMPATIBLE_IOCTL(SG_GET_TIMEOUT) | ||
283 | COMPATIBLE_IOCTL(SG_EMULATED_HOST) | ||
284 | ULONG_IOCTL(SG_SET_TRANSFORM) | ||
285 | COMPATIBLE_IOCTL(SG_GET_TRANSFORM) | ||
286 | COMPATIBLE_IOCTL(SG_SET_RESERVED_SIZE) | ||
287 | COMPATIBLE_IOCTL(SG_GET_RESERVED_SIZE) | ||
288 | COMPATIBLE_IOCTL(SG_GET_SCSI_ID) | ||
289 | COMPATIBLE_IOCTL(SG_SET_FORCE_LOW_DMA) | ||
290 | COMPATIBLE_IOCTL(SG_GET_LOW_DMA) | ||
291 | COMPATIBLE_IOCTL(SG_SET_FORCE_PACK_ID) | ||
292 | COMPATIBLE_IOCTL(SG_GET_PACK_ID) | ||
293 | COMPATIBLE_IOCTL(SG_GET_NUM_WAITING) | ||
294 | COMPATIBLE_IOCTL(SG_SET_DEBUG) | ||
295 | COMPATIBLE_IOCTL(SG_GET_SG_TABLESIZE) | ||
296 | COMPATIBLE_IOCTL(SG_GET_COMMAND_Q) | ||
297 | COMPATIBLE_IOCTL(SG_SET_COMMAND_Q) | ||
298 | COMPATIBLE_IOCTL(SG_GET_VERSION_NUM) | ||
299 | COMPATIBLE_IOCTL(SG_NEXT_CMD_LEN) | ||
300 | COMPATIBLE_IOCTL(SG_SCSI_RESET) | ||
301 | COMPATIBLE_IOCTL(SG_GET_REQUEST_TABLE) | ||
302 | COMPATIBLE_IOCTL(SG_SET_KEEP_ORPHAN) | ||
303 | COMPATIBLE_IOCTL(SG_GET_KEEP_ORPHAN) | ||
304 | /* PPP stuff */ | ||
305 | COMPATIBLE_IOCTL(PPPIOCGFLAGS) | ||
306 | COMPATIBLE_IOCTL(PPPIOCSFLAGS) | ||
307 | COMPATIBLE_IOCTL(PPPIOCGASYNCMAP) | ||
308 | COMPATIBLE_IOCTL(PPPIOCSASYNCMAP) | ||
309 | COMPATIBLE_IOCTL(PPPIOCGUNIT) | ||
310 | COMPATIBLE_IOCTL(PPPIOCGRASYNCMAP) | ||
311 | COMPATIBLE_IOCTL(PPPIOCSRASYNCMAP) | ||
312 | COMPATIBLE_IOCTL(PPPIOCGMRU) | ||
313 | COMPATIBLE_IOCTL(PPPIOCSMRU) | ||
314 | COMPATIBLE_IOCTL(PPPIOCSMAXCID) | ||
315 | COMPATIBLE_IOCTL(PPPIOCGXASYNCMAP) | ||
316 | COMPATIBLE_IOCTL(PPPIOCSXASYNCMAP) | ||
317 | COMPATIBLE_IOCTL(PPPIOCXFERUNIT) | ||
318 | /* PPPIOCSCOMPRESS is translated */ | ||
319 | COMPATIBLE_IOCTL(PPPIOCGNPMODE) | ||
320 | COMPATIBLE_IOCTL(PPPIOCSNPMODE) | ||
321 | COMPATIBLE_IOCTL(PPPIOCGDEBUG) | ||
322 | COMPATIBLE_IOCTL(PPPIOCSDEBUG) | ||
323 | /* PPPIOCSPASS is translated */ | ||
324 | /* PPPIOCSACTIVE is translated */ | ||
325 | /* PPPIOCGIDLE is translated */ | ||
326 | COMPATIBLE_IOCTL(PPPIOCNEWUNIT) | ||
327 | COMPATIBLE_IOCTL(PPPIOCATTACH) | ||
328 | COMPATIBLE_IOCTL(PPPIOCDETACH) | ||
329 | COMPATIBLE_IOCTL(PPPIOCSMRRU) | ||
330 | COMPATIBLE_IOCTL(PPPIOCCONNECT) | ||
331 | COMPATIBLE_IOCTL(PPPIOCDISCONN) | ||
332 | COMPATIBLE_IOCTL(PPPIOCATTCHAN) | ||
333 | COMPATIBLE_IOCTL(PPPIOCGCHAN) | ||
334 | /* PPPOX */ | ||
335 | COMPATIBLE_IOCTL(PPPOEIOCSFWD) | ||
336 | COMPATIBLE_IOCTL(PPPOEIOCDFWD) | ||
337 | /* LP */ | ||
338 | COMPATIBLE_IOCTL(LPGETSTATUS) | ||
339 | /* ppdev */ | ||
340 | COMPATIBLE_IOCTL(PPSETMODE) | ||
341 | COMPATIBLE_IOCTL(PPRSTATUS) | ||
342 | COMPATIBLE_IOCTL(PPRCONTROL) | ||
343 | COMPATIBLE_IOCTL(PPWCONTROL) | ||
344 | COMPATIBLE_IOCTL(PPFCONTROL) | ||
345 | COMPATIBLE_IOCTL(PPRDATA) | ||
346 | COMPATIBLE_IOCTL(PPWDATA) | ||
347 | COMPATIBLE_IOCTL(PPCLAIM) | ||
348 | COMPATIBLE_IOCTL(PPRELEASE) | ||
349 | COMPATIBLE_IOCTL(PPYIELD) | ||
350 | COMPATIBLE_IOCTL(PPEXCL) | ||
351 | COMPATIBLE_IOCTL(PPDATADIR) | ||
352 | COMPATIBLE_IOCTL(PPNEGOT) | ||
353 | COMPATIBLE_IOCTL(PPWCTLONIRQ) | ||
354 | COMPATIBLE_IOCTL(PPCLRIRQ) | ||
355 | COMPATIBLE_IOCTL(PPSETPHASE) | ||
356 | COMPATIBLE_IOCTL(PPGETMODES) | ||
357 | COMPATIBLE_IOCTL(PPGETMODE) | ||
358 | COMPATIBLE_IOCTL(PPGETPHASE) | ||
359 | COMPATIBLE_IOCTL(PPGETFLAGS) | ||
360 | COMPATIBLE_IOCTL(PPSETFLAGS) | ||
361 | /* CDROM stuff */ | ||
362 | COMPATIBLE_IOCTL(CDROMPAUSE) | ||
363 | COMPATIBLE_IOCTL(CDROMRESUME) | ||
364 | COMPATIBLE_IOCTL(CDROMPLAYMSF) | ||
365 | COMPATIBLE_IOCTL(CDROMPLAYTRKIND) | ||
366 | COMPATIBLE_IOCTL(CDROMREADTOCHDR) | ||
367 | COMPATIBLE_IOCTL(CDROMREADTOCENTRY) | ||
368 | COMPATIBLE_IOCTL(CDROMSTOP) | ||
369 | COMPATIBLE_IOCTL(CDROMSTART) | ||
370 | COMPATIBLE_IOCTL(CDROMEJECT) | ||
371 | COMPATIBLE_IOCTL(CDROMVOLCTRL) | ||
372 | COMPATIBLE_IOCTL(CDROMSUBCHNL) | ||
373 | ULONG_IOCTL(CDROMEJECT_SW) | ||
374 | COMPATIBLE_IOCTL(CDROMMULTISESSION) | ||
375 | COMPATIBLE_IOCTL(CDROM_GET_MCN) | ||
376 | COMPATIBLE_IOCTL(CDROMRESET) | ||
377 | COMPATIBLE_IOCTL(CDROMVOLREAD) | ||
378 | COMPATIBLE_IOCTL(CDROMSEEK) | ||
379 | COMPATIBLE_IOCTL(CDROMPLAYBLK) | ||
380 | COMPATIBLE_IOCTL(CDROMCLOSETRAY) | ||
381 | ULONG_IOCTL(CDROM_SET_OPTIONS) | ||
382 | ULONG_IOCTL(CDROM_CLEAR_OPTIONS) | ||
383 | ULONG_IOCTL(CDROM_SELECT_SPEED) | ||
384 | ULONG_IOCTL(CDROM_SELECT_DISC) | ||
385 | ULONG_IOCTL(CDROM_MEDIA_CHANGED) | ||
386 | ULONG_IOCTL(CDROM_DRIVE_STATUS) | ||
387 | COMPATIBLE_IOCTL(CDROM_DISC_STATUS) | ||
388 | COMPATIBLE_IOCTL(CDROM_CHANGER_NSLOTS) | ||
389 | ULONG_IOCTL(CDROM_LOCKDOOR) | ||
390 | ULONG_IOCTL(CDROM_DEBUG) | ||
391 | COMPATIBLE_IOCTL(CDROM_GET_CAPABILITY) | ||
392 | /* Ignore cdrom.h about these next 5 ioctls, they absolutely do | ||
393 | * not take a struct cdrom_read, instead they take a struct cdrom_msf | ||
394 | * which is compatible. | ||
395 | */ | ||
396 | COMPATIBLE_IOCTL(CDROMREADMODE2) | ||
397 | COMPATIBLE_IOCTL(CDROMREADMODE1) | ||
398 | COMPATIBLE_IOCTL(CDROMREADRAW) | ||
399 | COMPATIBLE_IOCTL(CDROMREADCOOKED) | ||
400 | COMPATIBLE_IOCTL(CDROMREADALL) | ||
401 | /* DVD ioctls */ | ||
402 | COMPATIBLE_IOCTL(DVD_READ_STRUCT) | ||
403 | COMPATIBLE_IOCTL(DVD_WRITE_STRUCT) | ||
404 | COMPATIBLE_IOCTL(DVD_AUTH) | ||
405 | /* pktcdvd */ | ||
406 | COMPATIBLE_IOCTL(PACKET_CTRL_CMD) | ||
407 | /* Big A */ | ||
408 | /* sparc only */ | ||
409 | /* Big Q for sound/OSS */ | ||
410 | COMPATIBLE_IOCTL(SNDCTL_SEQ_RESET) | ||
411 | COMPATIBLE_IOCTL(SNDCTL_SEQ_SYNC) | ||
412 | COMPATIBLE_IOCTL(SNDCTL_SYNTH_INFO) | ||
413 | COMPATIBLE_IOCTL(SNDCTL_SEQ_CTRLRATE) | ||
414 | COMPATIBLE_IOCTL(SNDCTL_SEQ_GETOUTCOUNT) | ||
415 | COMPATIBLE_IOCTL(SNDCTL_SEQ_GETINCOUNT) | ||
416 | COMPATIBLE_IOCTL(SNDCTL_SEQ_PERCMODE) | ||
417 | COMPATIBLE_IOCTL(SNDCTL_FM_LOAD_INSTR) | ||
418 | COMPATIBLE_IOCTL(SNDCTL_SEQ_TESTMIDI) | ||
419 | COMPATIBLE_IOCTL(SNDCTL_SEQ_RESETSAMPLES) | ||
420 | COMPATIBLE_IOCTL(SNDCTL_SEQ_NRSYNTHS) | ||
421 | COMPATIBLE_IOCTL(SNDCTL_SEQ_NRMIDIS) | ||
422 | COMPATIBLE_IOCTL(SNDCTL_MIDI_INFO) | ||
423 | COMPATIBLE_IOCTL(SNDCTL_SEQ_THRESHOLD) | ||
424 | COMPATIBLE_IOCTL(SNDCTL_SYNTH_MEMAVL) | ||
425 | COMPATIBLE_IOCTL(SNDCTL_FM_4OP_ENABLE) | ||
426 | COMPATIBLE_IOCTL(SNDCTL_SEQ_PANIC) | ||
427 | COMPATIBLE_IOCTL(SNDCTL_SEQ_OUTOFBAND) | ||
428 | COMPATIBLE_IOCTL(SNDCTL_SEQ_GETTIME) | ||
429 | COMPATIBLE_IOCTL(SNDCTL_SYNTH_ID) | ||
430 | COMPATIBLE_IOCTL(SNDCTL_SYNTH_CONTROL) | ||
431 | COMPATIBLE_IOCTL(SNDCTL_SYNTH_REMOVESAMPLE) | ||
432 | /* Big T for sound/OSS */ | ||
433 | COMPATIBLE_IOCTL(SNDCTL_TMR_TIMEBASE) | ||
434 | COMPATIBLE_IOCTL(SNDCTL_TMR_START) | ||
435 | COMPATIBLE_IOCTL(SNDCTL_TMR_STOP) | ||
436 | COMPATIBLE_IOCTL(SNDCTL_TMR_CONTINUE) | ||
437 | COMPATIBLE_IOCTL(SNDCTL_TMR_TEMPO) | ||
438 | COMPATIBLE_IOCTL(SNDCTL_TMR_SOURCE) | ||
439 | COMPATIBLE_IOCTL(SNDCTL_TMR_METRONOME) | ||
440 | COMPATIBLE_IOCTL(SNDCTL_TMR_SELECT) | ||
441 | /* Little m for sound/OSS */ | ||
442 | COMPATIBLE_IOCTL(SNDCTL_MIDI_PRETIME) | ||
443 | COMPATIBLE_IOCTL(SNDCTL_MIDI_MPUMODE) | ||
444 | COMPATIBLE_IOCTL(SNDCTL_MIDI_MPUCMD) | ||
445 | /* Big P for sound/OSS */ | ||
446 | COMPATIBLE_IOCTL(SNDCTL_DSP_RESET) | ||
447 | COMPATIBLE_IOCTL(SNDCTL_DSP_SYNC) | ||
448 | COMPATIBLE_IOCTL(SNDCTL_DSP_SPEED) | ||
449 | COMPATIBLE_IOCTL(SNDCTL_DSP_STEREO) | ||
450 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETBLKSIZE) | ||
451 | COMPATIBLE_IOCTL(SNDCTL_DSP_CHANNELS) | ||
452 | COMPATIBLE_IOCTL(SOUND_PCM_WRITE_FILTER) | ||
453 | COMPATIBLE_IOCTL(SNDCTL_DSP_POST) | ||
454 | COMPATIBLE_IOCTL(SNDCTL_DSP_SUBDIVIDE) | ||
455 | COMPATIBLE_IOCTL(SNDCTL_DSP_SETFRAGMENT) | ||
456 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETFMTS) | ||
457 | COMPATIBLE_IOCTL(SNDCTL_DSP_SETFMT) | ||
458 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETOSPACE) | ||
459 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETISPACE) | ||
460 | COMPATIBLE_IOCTL(SNDCTL_DSP_NONBLOCK) | ||
461 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETCAPS) | ||
462 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETTRIGGER) | ||
463 | COMPATIBLE_IOCTL(SNDCTL_DSP_SETTRIGGER) | ||
464 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETIPTR) | ||
465 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETOPTR) | ||
466 | /* SNDCTL_DSP_MAPINBUF, XXX needs translation */ | ||
467 | /* SNDCTL_DSP_MAPOUTBUF, XXX needs translation */ | ||
468 | COMPATIBLE_IOCTL(SNDCTL_DSP_SETSYNCRO) | ||
469 | COMPATIBLE_IOCTL(SNDCTL_DSP_SETDUPLEX) | ||
470 | COMPATIBLE_IOCTL(SNDCTL_DSP_GETODELAY) | ||
471 | COMPATIBLE_IOCTL(SNDCTL_DSP_PROFILE) | ||
472 | COMPATIBLE_IOCTL(SOUND_PCM_READ_RATE) | ||
473 | COMPATIBLE_IOCTL(SOUND_PCM_READ_CHANNELS) | ||
474 | COMPATIBLE_IOCTL(SOUND_PCM_READ_BITS) | ||
475 | COMPATIBLE_IOCTL(SOUND_PCM_READ_FILTER) | ||
476 | /* Big C for sound/OSS */ | ||
477 | COMPATIBLE_IOCTL(SNDCTL_COPR_RESET) | ||
478 | COMPATIBLE_IOCTL(SNDCTL_COPR_LOAD) | ||
479 | COMPATIBLE_IOCTL(SNDCTL_COPR_RDATA) | ||
480 | COMPATIBLE_IOCTL(SNDCTL_COPR_RCODE) | ||
481 | COMPATIBLE_IOCTL(SNDCTL_COPR_WDATA) | ||
482 | COMPATIBLE_IOCTL(SNDCTL_COPR_WCODE) | ||
483 | COMPATIBLE_IOCTL(SNDCTL_COPR_RUN) | ||
484 | COMPATIBLE_IOCTL(SNDCTL_COPR_HALT) | ||
485 | COMPATIBLE_IOCTL(SNDCTL_COPR_SENDMSG) | ||
486 | COMPATIBLE_IOCTL(SNDCTL_COPR_RCVMSG) | ||
487 | /* Big M for sound/OSS */ | ||
488 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_VOLUME) | ||
489 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_BASS) | ||
490 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_TREBLE) | ||
491 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_SYNTH) | ||
492 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_PCM) | ||
493 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_SPEAKER) | ||
494 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_LINE) | ||
495 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_MIC) | ||
496 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_CD) | ||
497 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_IMIX) | ||
498 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_ALTPCM) | ||
499 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_RECLEV) | ||
500 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_IGAIN) | ||
501 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_OGAIN) | ||
502 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_LINE1) | ||
503 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_LINE2) | ||
504 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_LINE3) | ||
505 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_DIGITAL1)) | ||
506 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_DIGITAL2)) | ||
507 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_DIGITAL3)) | ||
508 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_PHONEIN)) | ||
509 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_PHONEOUT)) | ||
510 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_VIDEO)) | ||
511 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_RADIO)) | ||
512 | COMPATIBLE_IOCTL(MIXER_READ(SOUND_MIXER_MONITOR)) | ||
513 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_MUTE) | ||
514 | /* SOUND_MIXER_READ_ENHANCE, same value as READ_MUTE */ | ||
515 | /* SOUND_MIXER_READ_LOUD, same value as READ_MUTE */ | ||
516 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_RECSRC) | ||
517 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_DEVMASK) | ||
518 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_RECMASK) | ||
519 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_STEREODEVS) | ||
520 | COMPATIBLE_IOCTL(SOUND_MIXER_READ_CAPS) | ||
521 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_VOLUME) | ||
522 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_BASS) | ||
523 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_TREBLE) | ||
524 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_SYNTH) | ||
525 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_PCM) | ||
526 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_SPEAKER) | ||
527 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_LINE) | ||
528 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_MIC) | ||
529 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_CD) | ||
530 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_IMIX) | ||
531 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_ALTPCM) | ||
532 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_RECLEV) | ||
533 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_IGAIN) | ||
534 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_OGAIN) | ||
535 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_LINE1) | ||
536 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_LINE2) | ||
537 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_LINE3) | ||
538 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_DIGITAL1)) | ||
539 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_DIGITAL2)) | ||
540 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_DIGITAL3)) | ||
541 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_PHONEIN)) | ||
542 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_PHONEOUT)) | ||
543 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_VIDEO)) | ||
544 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_RADIO)) | ||
545 | COMPATIBLE_IOCTL(MIXER_WRITE(SOUND_MIXER_MONITOR)) | ||
546 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_MUTE) | ||
547 | /* SOUND_MIXER_WRITE_ENHANCE, same value as WRITE_MUTE */ | ||
548 | /* SOUND_MIXER_WRITE_LOUD, same value as WRITE_MUTE */ | ||
549 | COMPATIBLE_IOCTL(SOUND_MIXER_WRITE_RECSRC) | ||
550 | COMPATIBLE_IOCTL(SOUND_MIXER_INFO) | ||
551 | COMPATIBLE_IOCTL(SOUND_OLD_MIXER_INFO) | ||
552 | COMPATIBLE_IOCTL(SOUND_MIXER_ACCESS) | ||
553 | COMPATIBLE_IOCTL(SOUND_MIXER_AGC) | ||
554 | COMPATIBLE_IOCTL(SOUND_MIXER_3DSE) | ||
555 | COMPATIBLE_IOCTL(SOUND_MIXER_PRIVATE1) | ||
556 | COMPATIBLE_IOCTL(SOUND_MIXER_PRIVATE2) | ||
557 | COMPATIBLE_IOCTL(SOUND_MIXER_PRIVATE3) | ||
558 | COMPATIBLE_IOCTL(SOUND_MIXER_PRIVATE4) | ||
559 | COMPATIBLE_IOCTL(SOUND_MIXER_PRIVATE5) | ||
560 | COMPATIBLE_IOCTL(SOUND_MIXER_GETLEVELS) | ||
561 | COMPATIBLE_IOCTL(SOUND_MIXER_SETLEVELS) | ||
562 | COMPATIBLE_IOCTL(OSS_GETVERSION) | ||
563 | /* AUTOFS */ | ||
564 | ULONG_IOCTL(AUTOFS_IOC_READY) | ||
565 | ULONG_IOCTL(AUTOFS_IOC_FAIL) | ||
566 | COMPATIBLE_IOCTL(AUTOFS_IOC_CATATONIC) | ||
567 | COMPATIBLE_IOCTL(AUTOFS_IOC_PROTOVER) | ||
568 | COMPATIBLE_IOCTL(AUTOFS_IOC_EXPIRE) | ||
569 | COMPATIBLE_IOCTL(AUTOFS_IOC_EXPIRE_MULTI) | ||
570 | COMPATIBLE_IOCTL(AUTOFS_IOC_PROTOSUBVER) | ||
571 | COMPATIBLE_IOCTL(AUTOFS_IOC_ASKREGHOST) | ||
572 | COMPATIBLE_IOCTL(AUTOFS_IOC_TOGGLEREGHOST) | ||
573 | COMPATIBLE_IOCTL(AUTOFS_IOC_ASKUMOUNT) | ||
574 | /* Raw devices */ | ||
575 | COMPATIBLE_IOCTL(RAW_SETBIND) | ||
576 | COMPATIBLE_IOCTL(RAW_GETBIND) | ||
577 | /* SMB ioctls which do not need any translations */ | ||
578 | COMPATIBLE_IOCTL(SMB_IOC_NEWCONN) | ||
579 | /* Little a */ | ||
580 | COMPATIBLE_IOCTL(ATMSIGD_CTRL) | ||
581 | COMPATIBLE_IOCTL(ATMARPD_CTRL) | ||
582 | COMPATIBLE_IOCTL(ATMLEC_CTRL) | ||
583 | COMPATIBLE_IOCTL(ATMLEC_MCAST) | ||
584 | COMPATIBLE_IOCTL(ATMLEC_DATA) | ||
585 | COMPATIBLE_IOCTL(ATM_SETSC) | ||
586 | COMPATIBLE_IOCTL(SIOCSIFATMTCP) | ||
587 | COMPATIBLE_IOCTL(SIOCMKCLIP) | ||
588 | COMPATIBLE_IOCTL(ATMARP_MKIP) | ||
589 | COMPATIBLE_IOCTL(ATMARP_SETENTRY) | ||
590 | COMPATIBLE_IOCTL(ATMARP_ENCAP) | ||
591 | COMPATIBLE_IOCTL(ATMTCP_CREATE) | ||
592 | COMPATIBLE_IOCTL(ATMTCP_REMOVE) | ||
593 | COMPATIBLE_IOCTL(ATMMPC_CTRL) | ||
594 | COMPATIBLE_IOCTL(ATMMPC_DATA) | ||
595 | /* Watchdog */ | ||
596 | COMPATIBLE_IOCTL(WDIOC_GETSUPPORT) | ||
597 | COMPATIBLE_IOCTL(WDIOC_GETSTATUS) | ||
598 | COMPATIBLE_IOCTL(WDIOC_GETBOOTSTATUS) | ||
599 | COMPATIBLE_IOCTL(WDIOC_GETTEMP) | ||
600 | COMPATIBLE_IOCTL(WDIOC_SETOPTIONS) | ||
601 | COMPATIBLE_IOCTL(WDIOC_KEEPALIVE) | ||
602 | COMPATIBLE_IOCTL(WDIOC_SETTIMEOUT) | ||
603 | COMPATIBLE_IOCTL(WDIOC_GETTIMEOUT) | ||
604 | /* Big R */ | ||
605 | COMPATIBLE_IOCTL(RNDGETENTCNT) | ||
606 | COMPATIBLE_IOCTL(RNDADDTOENTCNT) | ||
607 | COMPATIBLE_IOCTL(RNDGETPOOL) | ||
608 | COMPATIBLE_IOCTL(RNDADDENTROPY) | ||
609 | COMPATIBLE_IOCTL(RNDZAPENTCNT) | ||
610 | COMPATIBLE_IOCTL(RNDCLEARPOOL) | ||
611 | /* Bluetooth */ | ||
612 | COMPATIBLE_IOCTL(HCIDEVUP) | ||
613 | COMPATIBLE_IOCTL(HCIDEVDOWN) | ||
614 | COMPATIBLE_IOCTL(HCIDEVRESET) | ||
615 | COMPATIBLE_IOCTL(HCIDEVRESTAT) | ||
616 | COMPATIBLE_IOCTL(HCIGETDEVLIST) | ||
617 | COMPATIBLE_IOCTL(HCIGETDEVINFO) | ||
618 | COMPATIBLE_IOCTL(HCIGETCONNLIST) | ||
619 | COMPATIBLE_IOCTL(HCIGETCONNINFO) | ||
620 | COMPATIBLE_IOCTL(HCISETRAW) | ||
621 | COMPATIBLE_IOCTL(HCISETSCAN) | ||
622 | COMPATIBLE_IOCTL(HCISETAUTH) | ||
623 | COMPATIBLE_IOCTL(HCISETENCRYPT) | ||
624 | COMPATIBLE_IOCTL(HCISETPTYPE) | ||
625 | COMPATIBLE_IOCTL(HCISETLINKPOL) | ||
626 | COMPATIBLE_IOCTL(HCISETLINKMODE) | ||
627 | COMPATIBLE_IOCTL(HCISETACLMTU) | ||
628 | COMPATIBLE_IOCTL(HCISETSCOMTU) | ||
629 | COMPATIBLE_IOCTL(HCIINQUIRY) | ||
630 | COMPATIBLE_IOCTL(HCIUARTSETPROTO) | ||
631 | COMPATIBLE_IOCTL(HCIUARTGETPROTO) | ||
632 | COMPATIBLE_IOCTL(RFCOMMCREATEDEV) | ||
633 | COMPATIBLE_IOCTL(RFCOMMRELEASEDEV) | ||
634 | COMPATIBLE_IOCTL(RFCOMMGETDEVLIST) | ||
635 | COMPATIBLE_IOCTL(RFCOMMGETDEVINFO) | ||
636 | COMPATIBLE_IOCTL(RFCOMMSTEALDLC) | ||
637 | COMPATIBLE_IOCTL(BNEPCONNADD) | ||
638 | COMPATIBLE_IOCTL(BNEPCONNDEL) | ||
639 | COMPATIBLE_IOCTL(BNEPGETCONNLIST) | ||
640 | COMPATIBLE_IOCTL(BNEPGETCONNINFO) | ||
641 | COMPATIBLE_IOCTL(CMTPCONNADD) | ||
642 | COMPATIBLE_IOCTL(CMTPCONNDEL) | ||
643 | COMPATIBLE_IOCTL(CMTPGETCONNLIST) | ||
644 | COMPATIBLE_IOCTL(CMTPGETCONNINFO) | ||
645 | COMPATIBLE_IOCTL(HIDPCONNADD) | ||
646 | COMPATIBLE_IOCTL(HIDPCONNDEL) | ||
647 | COMPATIBLE_IOCTL(HIDPGETCONNLIST) | ||
648 | COMPATIBLE_IOCTL(HIDPGETCONNINFO) | ||
649 | /* CAPI */ | ||
650 | COMPATIBLE_IOCTL(CAPI_REGISTER) | ||
651 | COMPATIBLE_IOCTL(CAPI_GET_MANUFACTURER) | ||
652 | COMPATIBLE_IOCTL(CAPI_GET_VERSION) | ||
653 | COMPATIBLE_IOCTL(CAPI_GET_SERIAL) | ||
654 | COMPATIBLE_IOCTL(CAPI_GET_PROFILE) | ||
655 | COMPATIBLE_IOCTL(CAPI_MANUFACTURER_CMD) | ||
656 | COMPATIBLE_IOCTL(CAPI_GET_ERRCODE) | ||
657 | COMPATIBLE_IOCTL(CAPI_INSTALLED) | ||
658 | COMPATIBLE_IOCTL(CAPI_GET_FLAGS) | ||
659 | COMPATIBLE_IOCTL(CAPI_SET_FLAGS) | ||
660 | COMPATIBLE_IOCTL(CAPI_CLR_FLAGS) | ||
661 | COMPATIBLE_IOCTL(CAPI_NCCI_OPENCOUNT) | ||
662 | COMPATIBLE_IOCTL(CAPI_NCCI_GETUNIT) | ||
663 | /* Siemens Gigaset */ | ||
664 | COMPATIBLE_IOCTL(GIGASET_REDIR) | ||
665 | COMPATIBLE_IOCTL(GIGASET_CONFIG) | ||
666 | COMPATIBLE_IOCTL(GIGASET_BRKCHARS) | ||
667 | COMPATIBLE_IOCTL(GIGASET_VERSION) | ||
668 | /* Misc. */ | ||
669 | COMPATIBLE_IOCTL(0x41545900) /* ATYIO_CLKR */ | ||
670 | COMPATIBLE_IOCTL(0x41545901) /* ATYIO_CLKW */ | ||
671 | COMPATIBLE_IOCTL(PCIIOC_CONTROLLER) | ||
672 | COMPATIBLE_IOCTL(PCIIOC_MMAP_IS_IO) | ||
673 | COMPATIBLE_IOCTL(PCIIOC_MMAP_IS_MEM) | ||
674 | COMPATIBLE_IOCTL(PCIIOC_WRITE_COMBINE) | ||
675 | /* USB */ | ||
676 | COMPATIBLE_IOCTL(USBDEVFS_RESETEP) | ||
677 | COMPATIBLE_IOCTL(USBDEVFS_SETINTERFACE) | ||
678 | COMPATIBLE_IOCTL(USBDEVFS_SETCONFIGURATION) | ||
679 | COMPATIBLE_IOCTL(USBDEVFS_GETDRIVER) | ||
680 | COMPATIBLE_IOCTL(USBDEVFS_DISCARDURB) | ||
681 | COMPATIBLE_IOCTL(USBDEVFS_CLAIMINTERFACE) | ||
682 | COMPATIBLE_IOCTL(USBDEVFS_RELEASEINTERFACE) | ||
683 | COMPATIBLE_IOCTL(USBDEVFS_CONNECTINFO) | ||
684 | COMPATIBLE_IOCTL(USBDEVFS_HUB_PORTINFO) | ||
685 | COMPATIBLE_IOCTL(USBDEVFS_RESET) | ||
686 | COMPATIBLE_IOCTL(USBDEVFS_SUBMITURB32) | ||
687 | COMPATIBLE_IOCTL(USBDEVFS_REAPURB32) | ||
688 | COMPATIBLE_IOCTL(USBDEVFS_REAPURBNDELAY32) | ||
689 | COMPATIBLE_IOCTL(USBDEVFS_CLEAR_HALT) | ||
690 | /* MTD */ | ||
691 | COMPATIBLE_IOCTL(MEMGETINFO) | ||
692 | COMPATIBLE_IOCTL(MEMERASE) | ||
693 | COMPATIBLE_IOCTL(MEMLOCK) | ||
694 | COMPATIBLE_IOCTL(MEMUNLOCK) | ||
695 | COMPATIBLE_IOCTL(MEMGETREGIONCOUNT) | ||
696 | COMPATIBLE_IOCTL(MEMGETREGIONINFO) | ||
697 | COMPATIBLE_IOCTL(MEMGETBADBLOCK) | ||
698 | COMPATIBLE_IOCTL(MEMSETBADBLOCK) | ||
699 | /* NBD */ | ||
700 | ULONG_IOCTL(NBD_SET_SOCK) | ||
701 | ULONG_IOCTL(NBD_SET_BLKSIZE) | ||
702 | ULONG_IOCTL(NBD_SET_SIZE) | ||
703 | COMPATIBLE_IOCTL(NBD_DO_IT) | ||
704 | COMPATIBLE_IOCTL(NBD_CLEAR_SOCK) | ||
705 | COMPATIBLE_IOCTL(NBD_CLEAR_QUE) | ||
706 | COMPATIBLE_IOCTL(NBD_PRINT_DEBUG) | ||
707 | ULONG_IOCTL(NBD_SET_SIZE_BLOCKS) | ||
708 | COMPATIBLE_IOCTL(NBD_DISCONNECT) | ||
709 | /* i2c */ | ||
710 | COMPATIBLE_IOCTL(I2C_SLAVE) | ||
711 | COMPATIBLE_IOCTL(I2C_SLAVE_FORCE) | ||
712 | COMPATIBLE_IOCTL(I2C_TENBIT) | ||
713 | COMPATIBLE_IOCTL(I2C_PEC) | ||
714 | COMPATIBLE_IOCTL(I2C_RETRIES) | ||
715 | COMPATIBLE_IOCTL(I2C_TIMEOUT) | ||
716 | /* wireless */ | ||
717 | COMPATIBLE_IOCTL(SIOCSIWCOMMIT) | ||
718 | COMPATIBLE_IOCTL(SIOCGIWNAME) | ||
719 | COMPATIBLE_IOCTL(SIOCSIWNWID) | ||
720 | COMPATIBLE_IOCTL(SIOCGIWNWID) | ||
721 | COMPATIBLE_IOCTL(SIOCSIWFREQ) | ||
722 | COMPATIBLE_IOCTL(SIOCGIWFREQ) | ||
723 | COMPATIBLE_IOCTL(SIOCSIWMODE) | ||
724 | COMPATIBLE_IOCTL(SIOCGIWMODE) | ||
725 | COMPATIBLE_IOCTL(SIOCSIWSENS) | ||
726 | COMPATIBLE_IOCTL(SIOCGIWSENS) | ||
727 | COMPATIBLE_IOCTL(SIOCSIWRANGE) | ||
728 | COMPATIBLE_IOCTL(SIOCSIWPRIV) | ||
729 | COMPATIBLE_IOCTL(SIOCGIWPRIV) | ||
730 | COMPATIBLE_IOCTL(SIOCSIWSTATS) | ||
731 | COMPATIBLE_IOCTL(SIOCGIWSTATS) | ||
732 | COMPATIBLE_IOCTL(SIOCSIWAP) | ||
733 | COMPATIBLE_IOCTL(SIOCGIWAP) | ||
734 | COMPATIBLE_IOCTL(SIOCSIWSCAN) | ||
735 | COMPATIBLE_IOCTL(SIOCSIWRATE) | ||
736 | COMPATIBLE_IOCTL(SIOCGIWRATE) | ||
737 | COMPATIBLE_IOCTL(SIOCSIWRTS) | ||
738 | COMPATIBLE_IOCTL(SIOCGIWRTS) | ||
739 | COMPATIBLE_IOCTL(SIOCSIWFRAG) | ||
740 | COMPATIBLE_IOCTL(SIOCGIWFRAG) | ||
741 | COMPATIBLE_IOCTL(SIOCSIWTXPOW) | ||
742 | COMPATIBLE_IOCTL(SIOCGIWTXPOW) | ||
743 | COMPATIBLE_IOCTL(SIOCSIWRETRY) | ||
744 | COMPATIBLE_IOCTL(SIOCGIWRETRY) | ||
745 | COMPATIBLE_IOCTL(SIOCSIWPOWER) | ||
746 | COMPATIBLE_IOCTL(SIOCGIWPOWER) | ||
747 | /* hiddev */ | ||
748 | COMPATIBLE_IOCTL(HIDIOCGVERSION) | ||
749 | COMPATIBLE_IOCTL(HIDIOCAPPLICATION) | ||
750 | COMPATIBLE_IOCTL(HIDIOCGDEVINFO) | ||
751 | COMPATIBLE_IOCTL(HIDIOCGSTRING) | ||
752 | COMPATIBLE_IOCTL(HIDIOCINITREPORT) | ||
753 | COMPATIBLE_IOCTL(HIDIOCGREPORT) | ||
754 | COMPATIBLE_IOCTL(HIDIOCSREPORT) | ||
755 | COMPATIBLE_IOCTL(HIDIOCGREPORTINFO) | ||
756 | COMPATIBLE_IOCTL(HIDIOCGFIELDINFO) | ||
757 | COMPATIBLE_IOCTL(HIDIOCGUSAGE) | ||
758 | COMPATIBLE_IOCTL(HIDIOCSUSAGE) | ||
759 | COMPATIBLE_IOCTL(HIDIOCGUCODE) | ||
760 | COMPATIBLE_IOCTL(HIDIOCGFLAG) | ||
761 | COMPATIBLE_IOCTL(HIDIOCSFLAG) | ||
762 | COMPATIBLE_IOCTL(HIDIOCGCOLLECTIONINDEX) | ||
763 | COMPATIBLE_IOCTL(HIDIOCGCOLLECTIONINFO) | ||
764 | /* dvb */ | ||
765 | COMPATIBLE_IOCTL(AUDIO_STOP) | ||
766 | COMPATIBLE_IOCTL(AUDIO_PLAY) | ||
767 | COMPATIBLE_IOCTL(AUDIO_PAUSE) | ||
768 | COMPATIBLE_IOCTL(AUDIO_CONTINUE) | ||
769 | COMPATIBLE_IOCTL(AUDIO_SELECT_SOURCE) | ||
770 | COMPATIBLE_IOCTL(AUDIO_SET_MUTE) | ||
771 | COMPATIBLE_IOCTL(AUDIO_SET_AV_SYNC) | ||
772 | COMPATIBLE_IOCTL(AUDIO_SET_BYPASS_MODE) | ||
773 | COMPATIBLE_IOCTL(AUDIO_CHANNEL_SELECT) | ||
774 | COMPATIBLE_IOCTL(AUDIO_GET_STATUS) | ||
775 | COMPATIBLE_IOCTL(AUDIO_GET_CAPABILITIES) | ||
776 | COMPATIBLE_IOCTL(AUDIO_CLEAR_BUFFER) | ||
777 | COMPATIBLE_IOCTL(AUDIO_SET_ID) | ||
778 | COMPATIBLE_IOCTL(AUDIO_SET_MIXER) | ||
779 | COMPATIBLE_IOCTL(AUDIO_SET_STREAMTYPE) | ||
780 | COMPATIBLE_IOCTL(AUDIO_SET_EXT_ID) | ||
781 | COMPATIBLE_IOCTL(AUDIO_SET_ATTRIBUTES) | ||
782 | COMPATIBLE_IOCTL(AUDIO_SET_KARAOKE) | ||
783 | COMPATIBLE_IOCTL(DMX_START) | ||
784 | COMPATIBLE_IOCTL(DMX_STOP) | ||
785 | COMPATIBLE_IOCTL(DMX_SET_FILTER) | ||
786 | COMPATIBLE_IOCTL(DMX_SET_PES_FILTER) | ||
787 | COMPATIBLE_IOCTL(DMX_SET_BUFFER_SIZE) | ||
788 | COMPATIBLE_IOCTL(DMX_GET_PES_PIDS) | ||
789 | COMPATIBLE_IOCTL(DMX_GET_CAPS) | ||
790 | COMPATIBLE_IOCTL(DMX_SET_SOURCE) | ||
791 | COMPATIBLE_IOCTL(DMX_GET_STC) | ||
792 | COMPATIBLE_IOCTL(FE_GET_INFO) | ||
793 | COMPATIBLE_IOCTL(FE_DISEQC_RESET_OVERLOAD) | ||
794 | COMPATIBLE_IOCTL(FE_DISEQC_SEND_MASTER_CMD) | ||
795 | COMPATIBLE_IOCTL(FE_DISEQC_RECV_SLAVE_REPLY) | ||
796 | COMPATIBLE_IOCTL(FE_DISEQC_SEND_BURST) | ||
797 | COMPATIBLE_IOCTL(FE_SET_TONE) | ||
798 | COMPATIBLE_IOCTL(FE_SET_VOLTAGE) | ||
799 | COMPATIBLE_IOCTL(FE_ENABLE_HIGH_LNB_VOLTAGE) | ||
800 | COMPATIBLE_IOCTL(FE_READ_STATUS) | ||
801 | COMPATIBLE_IOCTL(FE_READ_BER) | ||
802 | COMPATIBLE_IOCTL(FE_READ_SIGNAL_STRENGTH) | ||
803 | COMPATIBLE_IOCTL(FE_READ_SNR) | ||
804 | COMPATIBLE_IOCTL(FE_READ_UNCORRECTED_BLOCKS) | ||
805 | COMPATIBLE_IOCTL(FE_SET_FRONTEND) | ||
806 | COMPATIBLE_IOCTL(FE_GET_FRONTEND) | ||
807 | COMPATIBLE_IOCTL(FE_GET_EVENT) | ||
808 | COMPATIBLE_IOCTL(FE_DISHNETWORK_SEND_LEGACY_CMD) | ||
809 | COMPATIBLE_IOCTL(VIDEO_STOP) | ||
810 | COMPATIBLE_IOCTL(VIDEO_PLAY) | ||
811 | COMPATIBLE_IOCTL(VIDEO_FREEZE) | ||
812 | COMPATIBLE_IOCTL(VIDEO_CONTINUE) | ||
813 | COMPATIBLE_IOCTL(VIDEO_SELECT_SOURCE) | ||
814 | COMPATIBLE_IOCTL(VIDEO_SET_BLANK) | ||
815 | COMPATIBLE_IOCTL(VIDEO_GET_STATUS) | ||
816 | COMPATIBLE_IOCTL(VIDEO_SET_DISPLAY_FORMAT) | ||
817 | COMPATIBLE_IOCTL(VIDEO_FAST_FORWARD) | ||
818 | COMPATIBLE_IOCTL(VIDEO_SLOWMOTION) | ||
819 | COMPATIBLE_IOCTL(VIDEO_GET_CAPABILITIES) | ||
820 | COMPATIBLE_IOCTL(VIDEO_CLEAR_BUFFER) | ||
821 | COMPATIBLE_IOCTL(VIDEO_SET_ID) | ||
822 | COMPATIBLE_IOCTL(VIDEO_SET_STREAMTYPE) | ||
823 | COMPATIBLE_IOCTL(VIDEO_SET_FORMAT) | ||
824 | COMPATIBLE_IOCTL(VIDEO_SET_SYSTEM) | ||
825 | COMPATIBLE_IOCTL(VIDEO_SET_HIGHLIGHT) | ||
826 | COMPATIBLE_IOCTL(VIDEO_SET_SPU) | ||
827 | COMPATIBLE_IOCTL(VIDEO_GET_NAVI) | ||
828 | COMPATIBLE_IOCTL(VIDEO_SET_ATTRIBUTES) | ||
829 | COMPATIBLE_IOCTL(VIDEO_GET_SIZE) | ||
830 | COMPATIBLE_IOCTL(VIDEO_GET_FRAME_RATE) | ||