From: David van Moolenbroek Date: Fri, 11 Nov 2011 12:53:29 +0000 (+0100) Subject: More cleanup of minix/com.h. X-Git-Tag: v3.2.0~260 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/Bv9ARM.ch08.html?a=commitdiff_plain;h=85b8fbe72b1bae35d4649184befed90c92bdb0b9;p=minix.git More cleanup of minix/com.h. --- diff --git a/common/include/minix/com.h b/common/include/minix/com.h index de555daed..3bfe6d87c 100644 --- a/common/include/minix/com.h +++ b/common/include/minix/com.h @@ -245,14 +245,6 @@ * 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. */ #define DL_RQ_BASE 0x200 #define DL_RS_BASE 0x280 diff --git a/servers/inet/inet.c b/servers/inet/inet.c index 40dae5e8f..bd84a54ca 100644 --- a/servers/inet/inet.c +++ b/servers/inet/inet.c @@ -11,22 +11,22 @@ from FS: | 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: