]> Zhao Yanbai Git Server - minix.git/commit
VFS: further cleanup of device code
authorDavid van Moolenbroek <david@minix3.org>
Sun, 6 Oct 2013 13:58:54 +0000 (15:58 +0200)
committerLionel Sambuc <lionel@minix3.org>
Sat, 1 Mar 2014 08:04:58 +0000 (09:04 +0100)
commit664b726cd34a12e4dfa56644ae2728506c7f6a4a
treeb88bae7d6aa2718e5ea974c3881d9d366bcd4d98
parentcf12dbac0d7aadea8ea091bb7a6e3815cb0b6c03
VFS: further cleanup of device code

- all TTY-related exceptions have now been merged into the regular
  code paths, allowing non-TTY drivers to expose TTY-like devices;
- as part of this, CTTY_MAJOR is now fully managed by VFS instead of
  being an ugly stepchild of the TTY driver;
- device styles have become completely obsolete, support for them has
  been removed throughout the system; same for device flags, which had
  already become useless a while ago;
- device map open/close and I/O function pointers have lost their use,
  thus finally making the VFS device code actually readable;
- the device-unrelated pm_setsid has been moved to misc.c;
- some other small cleanup-related changes.

Change-Id: If90b10d1818e98a12139da3e94a15d250c9933da
25 files changed:
commands/service/service.8
commands/service/service.c
include/lib.h
include/minix/const.h
include/minix/dmap.h
include/minix/rs.h
lib/libminlib/mapdriver.c
servers/is/dmp_fs.c
servers/is/dmp_rs.c
servers/rs/const.h
servers/rs/main.c
servers/rs/manager.c
servers/rs/table.c
servers/rs/type.h
servers/rs/utility.c
servers/vfs/comm.c
servers/vfs/const.h
servers/vfs/device.c
servers/vfs/dmap.c
servers/vfs/dmap.h
servers/vfs/main.c
servers/vfs/misc.c
servers/vfs/param.h
servers/vfs/proto.h
servers/vfs/utility.c