rem: TRACE("ipro1000_control() ETHER_INIT\n");
add: DEVICE_DEBUGOUT("ipro1000_control() ETHER_INIT");
context: ipro1000_control(void *cookie, uint32 op, void *arg, size_t len){	ipro1000_device *device = (ipro1000_device *)cookie;	switch (op) {		case ETHER_INIT:			TRACE("ipro1000_control() ETHER_INIT\n");			return B_OK;				case ETHER_GETADDR:			TRACE("ipro1000_control() ETHER_GETADDR\n");			memcpy(arg, &device->macaddr, sizeof(device->macaddr));			return B_OK;					case ETHER_NONBLOCK:			if (*(int32 *)arg) {				TRACE("non blocking mode on\n");				device->nonblocking = true;			} else {				TRACE("non blocking mode off\n");				device->nonblocking = false;			}			return B_OK;		case ETHER_ADDMULTI:			TRACE("ipro1000_control() ETHER_ADDMULTI not supported\n");			break;				case ETHER_REMMULTI:			TRACE("ipro1000_control() ETHER_REMMULTI not supported\n");			return B_OK;				case ETHER_SETPROMISC:			if (*(int32 *)arg) {				TRACE("promiscuous mode on not supported\n");			} else {				TRACE("promiscuous mode off\n");			}			return B_OK;		case ETHER_GETFRAMESIZE:			TRACE("ipro1000_control() ETHER_GETFRAMESIZE, framesize = %d (MTU = %d)\n", device->maxframesize,  device->maxframesize - ENET_HEADER_SIZE);			*(uint32*)arg = device->maxframesize;			return B_OK;					default:			TRACE("ipro1000_control() Invalid command\n");			break;	}		return B_ERROR;}