NetBSD/sys/compat/linux/common
gehenna 77a6b82b27 Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
..
linux_blkio.c
linux_blkio.h
linux_break.c
linux_cdrom.c
linux_cdrom.h
linux_dirent.h
linux_emuldata.h
linux_errno.c
linux_errno.h
linux_exec_aout.c
linux_exec_elf32.c check out EI_OSABI and EI_ABIVERSION for linux signatures. This is what 2002-09-05 14:32:49 +00:00
linux_exec_elf64.c
linux_exec.c
linux_exec.h
linux_fcntl.h
linux_fdio.c
linux_fdio.h
linux_file64.c
linux_file.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
linux_hdio.c
linux_hdio.h
linux_ioctl.c Merge the gehenna-devsw branch into the trunk. 2002-09-06 13:18:43 +00:00
linux_ioctl.h
linux_ipc.c
linux_ipc.h
linux_ipccall.c
linux_ipccall.h
linux_llseek.c
linux_machdep.h
linux_misc_notalpha.c
linux_misc.c
linux_misc.h
linux_mmap.h
linux_msg.h
linux_oldmmap.c
linux_oldmmap.h
linux_oldolduname.c
linux_oldolduname.h
linux_oldselect.c
linux_oldselect.h
linux_olduname.c
linux_olduname.h
linux_pipe.c
linux_ptrace.h
linux_reboot.h
linux_sched.c
linux_sched.h
linux_sem.h
linux_shm.h
linux_sig_notalpha.c
linux_sigaction.c
linux_siginfo.h remove XXX: 2002-09-05 22:27:36 +00:00
linux_signal.c
linux_signal.h
linux_signo.c
linux_socket.c
linux_socket.h
linux_socketcall.c
linux_socketcall.h
linux_sockio.h
linux_sysctl.c
linux_sysctl.h
linux_termios.c
linux_termios.h
linux_time.c
linux_types.h
linux_uselib.c
linux_util.h