More cleanup of minix/com.h.

This commit is contained in:
David van Moolenbroek 2011-11-11 13:53:29 +01:00
parent b477504754
commit 85b8fbe72b
2 changed files with 6 additions and 14 deletions

View file

@ -245,14 +245,6 @@
* Messages for networking layer * * Messages for networking layer *
*===========================================================================*/ *===========================================================================*/
/* Message types for network layer requests. This layer acts like a driver. */
#define NW_OPEN DEV_OPEN
#define NW_CLOSE DEV_CLOSE
#define NW_READ DEV_READ
#define NW_WRITE DEV_WRITE
#define NW_IOCTL DEV_IOCTL
#define NW_CANCEL CANCEL
/* Base type for data link layer requests and responses. */ /* Base type for data link layer requests and responses. */
#define DL_RQ_BASE 0x200 #define DL_RQ_BASE 0x200
#define DL_RS_BASE 0x280 #define DL_RS_BASE 0x280

View file

@ -11,22 +11,22 @@ from FS:
| m_type | DEVICE | PROC_NR | COUNT | POSITION | ADDRESS | | m_type | DEVICE | PROC_NR | COUNT | POSITION | ADDRESS |
|_______________|___________|_________|_______|__________|_________| |_______________|___________|_________|_______|__________|_________|
| | | | | | | | | | | | | |
| NW_OPEN | minor dev | proc nr | mode | | | | DEV_OPEN | minor dev | proc nr | mode | | |
|_______________|___________|_________|_______|__________|_________| |_______________|___________|_________|_______|__________|_________|
| | | | | | | | | | | | | |
| NW_CLOSE | minor dev | proc nr | | | | | DEV_CLOSE | minor dev | proc nr | | | |
|_______________|___________|_________|_______|__________|_________| |_______________|___________|_________|_______|__________|_________|
| | | | | | | | | | | | | |
| NW_IOCTL | minor dev | proc nr | | NWIO.. | address | | DEV_IOCTL_S | minor dev | proc nr | | NWIO.. | address |
|_______________|___________|_________|_______|__________|_________| |_______________|___________|_________|_______|__________|_________|
| | | | | | | | | | | | | |
| NW_READ | minor dev | proc nr | count | | address | | DEV_READ_S | minor dev | proc nr | count | | address |
|_______________|___________|_________|_______|__________|_________| |_______________|___________|_________|_______|__________|_________|
| | | | | | | | | | | | | |
| NW_WRITE | minor dev | proc nr | count | | address | | DEV_WRITE_S | minor dev | proc nr | count | | address |
|_______________|___________|_________|_______|__________|_________| |_______________|___________|_________|_______|__________|_________|
| | | | | | | | | | | | | |
| NW_CANCEL | minor dev | proc nr | | | | | CANCEL | minor dev | proc nr | | | |
|_______________|___________|_________|_______|__________|_________| |_______________|___________|_________|_______|__________|_________|
from DL_ETH: from DL_ETH: