From fc0d7995e9483cec4058e2c409b928da64557a89 Mon Sep 17 00:00:00 2001 From: Philip Homburg Date: Tue, 7 Aug 2007 11:53:41 +0000 Subject: [PATCH] Some parts of dmap can be private (to vfs) --- include/minix/dmap.h | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/include/minix/dmap.h b/include/minix/dmap.h index 3edbb93d1..1b15b0e9a 100644 --- a/include/minix/dmap.h +++ b/include/minix/dmap.h @@ -4,28 +4,8 @@ #include #include -/*===========================================================================* - * Device <-> Driver Table * - *===========================================================================*/ - -/* Device table. This table is indexed by major device number. It provides - * the link between major device numbers and the routines that process them. - * The table can be update dynamically. The field 'dmap_flags' describe an - * entry's current status and determines what control options are possible. - */ -#define DMAP_MUTABLE 0x01 /* mapping can be overtaken */ -#define DMAP_BUSY 0x02 /* driver busy with request */ -#define DMAP_BABY 0x04 /* driver exec() not done yet */ - enum dev_style { STYLE_DEV, STYLE_NDEV, STYLE_TTY, STYLE_CLONE }; -extern struct dmap { - int _PROTOTYPE ((*dmap_opcl), (int, Dev_t, int, int) ); - int _PROTOTYPE ((*dmap_io), (int, message *) ); - int dmap_driver; - int dmap_flags; -} dmap[]; - /*===========================================================================* * Major and minor device numbers * *===========================================================================*/