9004e12a91
This unifies all the ioctlent.h's in the linux subdir while still allowing each arch to maintain its own minor list. The basic method is: - each arch has linux/<arch>/ioctlent.h.in which defines only the arch-specific ioctls; - linux/ioctlent.h.in which defines only the common ioctls; - at build time, these two headers are combined and sorted to produce the linux/ioctlent.h file. This also requires a little tweaking of the include files since the common ioctlent.h is a built file. * linux/ioctlent.h: Split into linux/ioctlent.h.in and linux/i386/ioctlent.h.in, remove asm entries from the former, remove non-asm entries from the latter. * linux/alpha/ioctlent.h: Rename to linux/alpha/ioctlent.h.in, remove non-asm entries. * linux/bfin/ioctlent.h: Rename to linux/bfin/ioctlent.h.in, remove non-asm entries. * linux/hppa/ioctlent.h: Rename to linux/hppa/ioctlent.h.in, remove non-asm entries. * linux/ia64/ioctlent.h: Rename to linux/ia64/ioctlent.h.in, remove non-asm entries. * linux/mips/ioctlent.h: Rename to linux/mips/ioctlent.h.in, remove non-asm entries. * linux/powerpc/ioctlent.h: Rename to linux/powerpc/ioctlent.h.in, remove non-asm entries. * linux/s390/ioctlent.h: Rename to linux/s390/ioctlent.h.in, remove non-asm entries. * linux/sh/ioctlent.h: Rename to linux/sh/ioctlent.h.in, remove non-asm entries. * linux/sparc/ioctlent.h: Rename to linux/sparc/ioctlent.h.in, remove non-asm entries. * linux/arm/ioctlent.h.in: New file. * linux/avr32/ioctlent.h.in: Likewise. * linux/i386/ioctlent.h.in: Likewise. * linux/m68k/ioctlent.h.in: Likewise. * linux/microblaze/ioctlent.h.in: Likewise. * linux/tile/ioctlent.h.in: Likewise. * linux/x86_64/ioctlent.h.in: Likewise. * linux/s390x/ioctlent.h.in: Include ioctlent.h.in instead of ioctlent.h. * linux/sh64/ioctlent.h.in: Likewise. * linux/sparc64/ioctlent.h.in: Likewise. * linux/arm/ioctlent1.h: Update ioctlent.h include. * linux/powerpc/ioctlent1.h: Likewise. * linux/sparc/ioctlent1.h: Likewise. * linux/sparc64/ioctlent1.h: Likewise. * linux/x86_64/ioctlent1.h: Likewise. * Makefile.am (AM_CPPFLAGS): Add -I$(builddir)/$(OS). (EXTRA_DIST): Update. [MAINTAINER_MODE && LINUX]: Convert from ioctlent_h to ioctlent_h_in. [LINUX]: Add $(builddir)/$(OS)/ioctlent.h generation rules. * .gitignore: Add linux/ioctlent.h. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
174 lines
7.4 KiB
C
174 lines
7.4 KiB
C
{"asm/apc.h", "APCIOCGFANCTL", 0x4100},
|
|
{"asm/apc.h", "APCIOCSFANCTL", 0x4101},
|
|
{"asm/apc.h", "APCIOCGCPWR", 0x4102},
|
|
{"asm/apc.h", "APCIOCSCPWR", 0x4103},
|
|
{"asm/apc.h", "APCIOCGBPORT", 0x4104},
|
|
{"asm/apc.h", "APCIOCSBPORT", 0x4105},
|
|
{"asm/fbio.h", "FBIOGTYPE", 0x4600},
|
|
{"asm/fbio.h", "FBIOPUTCMAP", 0x4603},
|
|
{"asm/fbio.h", "FBIOSATTR", 0x4605},
|
|
{"asm/fbio.h", "FBIOGATTR", 0x4606},
|
|
{"asm/fbio.h", "FBIOSVIDEO", 0x4607},
|
|
{"asm/fbio.h", "FBIOGVIDEO", 0x4608},
|
|
{"asm/fbio.h", "FBIOSCURSOR", 0x4618},
|
|
{"asm/fbio.h", "FBIOGCURSOR", 0x4619},
|
|
{"asm/fbio.h", "FBIOSCURPOS", 0x461a},
|
|
{"asm/fbio.h", "FBIOGCURPOS", 0x461b},
|
|
{"asm/fbio.h", "FBIOGCURMAX", 0x461c},
|
|
{"asm/fbio.h", "FBIO_WID_ALLOC", 0x461e},
|
|
{"asm/fbio.h", "FBIO_WID_FREE", 0x461f},
|
|
{"asm/fbio.h", "FBIO_WID_PUT", 0x4620},
|
|
{"asm/fbio.h", "FBIO_WID_GET", 0x4621},
|
|
{"asm/fbio.h", "LEO_CLUTALLOC", 0x4c35},
|
|
{"asm/fbio.h", "LEO_CLUTFREE", 0x4c36},
|
|
{"asm/fbio.h", "LEO_CLUTREAD", 0x4c37},
|
|
{"asm/fbio.h", "LEO_CLUTPOST", 0x4c38},
|
|
{"asm/fbio.h", "LEO_SETGAMMA", 0x4c44},
|
|
{"asm/fbio.h", "LEO_GETGAMMA", 0x4c45},
|
|
{"asm/openpromio.h", "OPIOCGET", 0x4f01},
|
|
{"asm/openpromio.h", "OPIOCSET", 0x4f02},
|
|
{"asm/openpromio.h", "OPIOCNEXTPROP", 0x4f03},
|
|
{"asm/openpromio.h", "OPIOCGETOPTNODE", 0x4f04},
|
|
{"asm/openpromio.h", "OPIOCGETNEXT", 0x4f05},
|
|
{"asm/openpromio.h", "OPIOCGETCHILD", 0x4f06},
|
|
{"asm/ioctls.h", "TCGETA", 0x5401},
|
|
{"asm-generic/ioctls.h", "TCGETS", 0x5401},
|
|
{"asm/ioctls.h", "TCSETA", 0x5402},
|
|
{"asm-generic/ioctls.h", "TCSETS", 0x5402},
|
|
{"asm/ioctls.h", "TCSETAW", 0x5403},
|
|
{"asm-generic/ioctls.h", "TCSETSW", 0x5403},
|
|
{"asm/ioctls.h", "TCSETAF", 0x5404},
|
|
{"asm-generic/ioctls.h", "TCSETSF", 0x5404},
|
|
{"asm-generic/ioctls.h", "TCGETA", 0x5405},
|
|
{"asm/ioctls.h", "TCSBRK", 0x5405},
|
|
{"asm-generic/ioctls.h", "TCSETA", 0x5406},
|
|
{"asm/ioctls.h", "TCXONC", 0x5406},
|
|
{"asm/ioctls.h", "TCFLSH", 0x5407},
|
|
{"asm-generic/ioctls.h", "TCSETAW", 0x5407},
|
|
{"asm/ioctls.h", "TCGETS", 0x5408},
|
|
{"asm-generic/ioctls.h", "TCSETAF", 0x5408},
|
|
{"asm-generic/ioctls.h", "TCSBRK", 0x5409},
|
|
{"asm/ioctls.h", "TCSETS", 0x5409},
|
|
{"asm/ioctls.h", "TCSETSW", 0x540a},
|
|
{"asm-generic/ioctls.h", "TCXONC", 0x540a},
|
|
{"asm-generic/ioctls.h", "TCFLSH", 0x540b},
|
|
{"asm/ioctls.h", "TCSETSF", 0x540b},
|
|
{"asm/ioctls.h", "TCGETS2", 0x540c},
|
|
{"asm-generic/ioctls.h", "TIOCEXCL", 0x540c},
|
|
{"asm/ioctls.h", "TCSETS2", 0x540d},
|
|
{"asm-generic/ioctls.h", "TIOCNXCL", 0x540d},
|
|
{"asm/ioctls.h", "TCSETSW2", 0x540e},
|
|
{"asm-generic/ioctls.h", "TIOCSCTTY", 0x540e},
|
|
{"asm/ioctls.h", "TCSETSF2", 0x540f},
|
|
{"asm-generic/ioctls.h", "TIOCGPGRP", 0x540f},
|
|
{"asm-generic/ioctls.h", "TIOCSPGRP", 0x5410},
|
|
{"asm-generic/ioctls.h", "TIOCOUTQ", 0x5411},
|
|
{"asm-generic/ioctls.h", "TIOCSTI", 0x5412},
|
|
{"asm-generic/ioctls.h", "TIOCGWINSZ", 0x5413},
|
|
{"asm-generic/ioctls.h", "TIOCSWINSZ", 0x5414},
|
|
{"asm-generic/ioctls.h", "TIOCMGET", 0x5415},
|
|
{"asm-generic/ioctls.h", "TIOCMBIS", 0x5416},
|
|
{"asm-generic/ioctls.h", "TIOCMBIC", 0x5417},
|
|
{"asm-generic/ioctls.h", "TIOCMSET", 0x5418},
|
|
{"asm-generic/ioctls.h", "TIOCGSOFTCAR", 0x5419},
|
|
{"asm-generic/ioctls.h", "TIOCSSOFTCAR", 0x541a},
|
|
{"asm-generic/ioctls.h", "FIONREAD", 0x541b},
|
|
{"asm/ioctls.h", "TIOCLINUX", 0x541c},
|
|
{"asm-generic/ioctls.h", "TIOCCONS", 0x541d},
|
|
{"asm/ioctls.h", "TIOCGSERIAL", 0x541e},
|
|
{"asm/ioctls.h", "TIOCSSERIAL", 0x541f},
|
|
{"asm-generic/ioctls.h", "TIOCPKT", 0x5420},
|
|
{"asm-generic/ioctls.h", "FIONBIO", 0x5421},
|
|
{"asm-generic/ioctls.h", "TIOCNOTTY", 0x5422},
|
|
{"asm-generic/ioctls.h", "TIOCSETD", 0x5423},
|
|
{"asm-generic/ioctls.h", "TIOCGETD", 0x5424},
|
|
{"asm/ioctls.h", "TCSBRKP", 0x5425},
|
|
{"asm-generic/ioctls.h", "TIOCSBRK", 0x5427},
|
|
{"asm-generic/ioctls.h", "TIOCCBRK", 0x5428},
|
|
{"asm-generic/ioctls.h", "TIOCGSID", 0x5429},
|
|
{"asm-generic/ioctls.h", "TCGETS2", 0x542a},
|
|
{"asm-generic/ioctls.h", "TCSETS2", 0x542b},
|
|
{"asm-generic/ioctls.h", "TCSETSW2", 0x542c},
|
|
{"asm-generic/ioctls.h", "TCSETSF2", 0x542d},
|
|
{"asm-generic/ioctls.h", "TIOCGRS485", 0x542e},
|
|
{"asm-generic/ioctls.h", "TIOCSRS485", 0x542f},
|
|
{"asm-generic/ioctls.h", "TIOCGPTN", 0x5430},
|
|
{"asm-generic/ioctls.h", "TIOCSPTLCK", 0x5431},
|
|
{"asm-generic/ioctls.h", "TCGETX", 0x5432},
|
|
{"asm-generic/ioctls.h", "TCSETX", 0x5433},
|
|
{"asm-generic/ioctls.h", "TCSETXF", 0x5434},
|
|
{"asm-generic/ioctls.h", "TCSETXW", 0x5435},
|
|
{"asm-generic/ioctls.h", "TIOCSIG", 0x5436},
|
|
{"asm-generic/ioctls.h", "FIONCLEX", 0x5450},
|
|
{"asm-generic/ioctls.h", "FIOCLEX", 0x5451},
|
|
{"asm-generic/ioctls.h", "FIOASYNC", 0x5452},
|
|
{"asm/ioctls.h", "TIOCSERCONFIG", 0x5453},
|
|
{"asm/ioctls.h", "TIOCSERGWILD", 0x5454},
|
|
{"asm/ioctls.h", "TIOCSERSWILD", 0x5455},
|
|
{"asm/ioctls.h", "TIOCGLCKTRMIOS", 0x5456},
|
|
{"asm/ioctls.h", "TIOCSLCKTRMIOS", 0x5457},
|
|
{"asm/ioctls.h", "TIOCSERGSTRUCT", 0x5458},
|
|
{"asm/ioctls.h", "TIOCSERGETLSR", 0x5459},
|
|
{"asm/ioctls.h", "TIOCSERGETMULTI", 0x545a},
|
|
{"asm/ioctls.h", "TIOCSERSETMULTI", 0x545b},
|
|
{"asm/ioctls.h", "TIOCMIWAIT", 0x545c},
|
|
{"asm/ioctls.h", "TIOCGICOUNT", 0x545d},
|
|
{"asm-generic/ioctls.h", "FIOQSIZE", 0x5460},
|
|
{"asm/watchdog.h", "WIOCSTART", 0x570a},
|
|
{"asm/watchdog.h", "WIOCSTOP", 0x570b},
|
|
{"asm/watchdog.h", "WIOCGSTAT", 0x570c},
|
|
{"asm/ioctls.h", "FIOCLEX", 0x6601},
|
|
{"asm/ioctls.h", "FIONCLEX", 0x6602},
|
|
{"asm/ioctls.h", "FIOASYNC", 0x667d},
|
|
{"asm/ioctls.h", "FIONBIO", 0x667e},
|
|
{"asm/ioctls.h", "FIONREAD", 0x667f},
|
|
{"asm/ioctls.h", "FIOQSIZE", 0x6680},
|
|
{"asm/envctrl.h", "ENVCTRL_RD_CPU_TEMPERATURE", 0x7040},
|
|
{"asm/envctrl.h", "ENVCTRL_RD_CPU_VOLTAGE", 0x7041},
|
|
{"asm/envctrl.h", "ENVCTRL_RD_FAN_STATUS", 0x7042},
|
|
{"asm/envctrl.h", "ENVCTRL_RD_WARNING_TEMPERATURE", 0x7043},
|
|
{"asm/envctrl.h", "ENVCTRL_RD_SHUTDOWN_TEMPERATURE", 0x7044},
|
|
{"asm/display7seg.h", "D7SIOCRD", 0x7045},
|
|
{"asm/envctrl.h", "ENVCTRL_RD_VOLTAGE_STATUS", 0x7045},
|
|
{"asm/display7seg.h", "D7SIOCWR", 0x7046},
|
|
{"asm/envctrl.h", "ENVCTRL_RD_SCSI_TEMPERATURE", 0x7046},
|
|
{"asm/display7seg.h", "D7SIOCTM", 0x7047},
|
|
{"asm/envctrl.h", "ENVCTRL_RD_ETHERNET_TEMPERATURE", 0x7047},
|
|
{"asm/envctrl.h", "ENVCTRL_RD_MTHRBD_TEMPERATURE", 0x7048},
|
|
{"asm/envctrl.h", "ENVCTRL_RD_GLOBALADDRESS", 0x7049},
|
|
{"asm/ioctls.h", "TIOCGETD", 0x7400},
|
|
{"asm/ioctls.h", "TIOCSETD", 0x7401},
|
|
{"asm/ioctls.h", "TIOCEXCL", 0x740d},
|
|
{"asm/ioctls.h", "TIOCNXCL", 0x740e},
|
|
{"asm/ioctls.h", "TIOCCONS", 0x7424},
|
|
{"asm/ioctls.h", "TIOCGSOFTCAR", 0x7464},
|
|
{"asm/ioctls.h", "TIOCSSOFTCAR", 0x7465},
|
|
{"asm/ioctls.h", "TIOCSWINSZ", 0x7467},
|
|
{"asm/ioctls.h", "TIOCGWINSZ", 0x7468},
|
|
{"asm/ioctls.h", "TIOCMGET", 0x746a},
|
|
{"asm/ioctls.h", "TIOCMBIC", 0x746b},
|
|
{"asm/ioctls.h", "TIOCMBIS", 0x746c},
|
|
{"asm/ioctls.h", "TIOCMSET", 0x746d},
|
|
{"asm/ioctls.h", "TIOCSTART", 0x746e},
|
|
{"asm/ioctls.h", "TIOCSTOP", 0x746f},
|
|
{"asm/ioctls.h", "TIOCPKT", 0x7470},
|
|
{"asm/ioctls.h", "TIOCNOTTY", 0x7471},
|
|
{"asm/ioctls.h", "TIOCSTI", 0x7472},
|
|
{"asm/ioctls.h", "TIOCOUTQ", 0x7473},
|
|
{"asm/ioctls.h", "TIOCCBRK", 0x747a},
|
|
{"asm/ioctls.h", "TIOCSBRK", 0x747b},
|
|
{"asm/ioctls.h", "TIOCSPGRP", 0x7482},
|
|
{"asm/ioctls.h", "TIOCGPGRP", 0x7483},
|
|
{"asm/ioctls.h", "TIOCSCTTY", 0x7484},
|
|
{"asm/ioctls.h", "TIOCGSID", 0x7485},
|
|
{"asm/ioctls.h", "TIOCGPTN", 0x7486},
|
|
{"asm/ioctls.h", "TIOCSPTLCK", 0x7487},
|
|
{"asm/ioctls.h", "TIOCSIG", 0x7488},
|
|
{"asm/sockios.h", "FIOSETOWN", 0x8901},
|
|
{"asm/sockios.h", "SIOCSPGRP", 0x8902},
|
|
{"asm/sockios.h", "FIOGETOWN", 0x8903},
|
|
{"asm/sockios.h", "SIOCGPGRP", 0x8904},
|
|
{"asm/sockios.h", "SIOCATMARK", 0x8905},
|
|
{"asm/sockios.h", "SIOCGSTAMP", 0x8906},
|
|
{"asm/sockios.h", "SIOCGSTAMPNS", 0x8907},
|