rem: TRACE("control(B_GET_ICON, %d)\n", ((device_icon *)data)->icon_size);
add: TRACE("control(B_GET_ICON, %ld)\n", ((device_icon *)data)->icon_size);
context: flo_control(floppy_cookie *cookie, uint32 op, void *data, size_t len){	device_geometry *geom;	status_t err;	floppy_t *flp = cookie->flp;	switch (op) {	case B_GET_ICON:		TRACE("control(B_GET_ICON, %d)\n", ((device_icon *)data)->icon_size);		if (((device_icon *)data)->icon_size == 16) { /* mini icon */			memcpy(((device_icon *)data)->icon_data, floppy_mini_icon, (16*16));			return B_OK;		}		if (((device_icon *)data)->icon_size == 32) { /* icon */			memcpy(((device_icon *)data)->icon_data, floppy_icon, (32*32));			return B_OK;		}		return EINVAL;	case B_GET_BIOS_DRIVE_ID:		TRACE("control(B_GET_BIOS_DRIVE_ID)\n");		*(uint8 *)data = 0;		return B_OK;	case B_GET_DEVICE_SIZE:		TRACE("control(B_GET_DEVICE_SIZE)\n");		err = query_media(cookie->flp, true);		*(size_t *)data = (flp->bgeom.bytes_per_sector)						* (flp->bgeom.sectors_per_track)						* (flp->bgeom.head_count)						* (flp->bgeom.cylinder_count);		return B_OK;	case B_GET_GEOMETRY:	case B_GET_BIOS_GEOMETRY:		TRACE("control(B_GET_(BIOS)_GEOMETRY)\n");		err = query_media(cookie->flp, false);		geom = (device_geometry *)data;		geom->bytes_per_sector = flp->bgeom.bytes_per_sector;		geom->sectors_per_track = flp->bgeom.sectors_per_track;		geom->cylinder_count = flp->bgeom.cylinder_count;		geom->head_count = flp->bgeom.head_count;		geom->device_type = B_DISK;		geom->removable = true;		geom->read_only = flp->bgeom.read_only;		geom->write_once = false;		return B_OK;	case B_GET_MEDIA_STATUS:		TRACE("control(B_GET_MEDIA_STATUS)\n");		err = query_media(cookie->flp, false);		*(status_t *)data = err;		return B_OK;	}	TRACE("control(%ld)\n", op);	return EINVAL;}