rem: TRACE(("ioctl: unknown message %d (length = %ld)\n", msg, bufferLength));
add: TRACE(("ioctl: unknown message %lu (length = %ld)\n", msg, bufferLength));
context: device_ioctl(void *data, uint32 msg, void *buffer, size_t bufferLength){	struct sis_info *info;	if (checkDeviceInfo(info = data) != B_OK)		return EINVAL;	switch (msg) {		case ETHER_GETADDR:			TRACE(("ioctl: get MAC address\n"));			memcpy(buffer, &info->address, 6);			return B_NO_ERROR;		case ETHER_INIT:			TRACE(("ioctl: init\n"));			return B_NO_ERROR;			case ETHER_GETFRAMESIZE:			TRACE(("ioctl: get frame size\n"));			*(uint32*)buffer = MAX_FRAME_SIZE;			return B_NO_ERROR;			case ETHER_SETPROMISC:			TRACE(("ioctl: set promisc\n"));			sis900_setPromiscuous(info, *(uint32 *)buffer != 0);			return B_OK;			case ETHER_NONBLOCK:			TRACE(("ioctl: non blocking ? %s\n", info->blockFlag ? "yes" : "no"));			info->blockFlag = *(int32 *)buffer ? B_TIMEOUT : 0;			return B_NO_ERROR;			case ETHER_ADDMULTI:			TRACE(("ioctl: add multicast\n"));			/* not yet implemented */			break;				default:			TRACE(("ioctl: unknown message %d (length = %ld)\n", msg, bufferLength));			break;	}	return B_ERROR;}