Index: uspace/drv/ohci/root_hub.c
===================================================================
--- uspace/drv/ohci/root_hub.c	(revision 192ba25584eb8fb43acd0a2121ed2a576162e63e)
+++ uspace/drv/ohci/root_hub.c	(revision 9528537818083d8908d40cf32ab9e77e2559f9f6)
@@ -45,5 +45,5 @@
 
 /**
- *	standart device descriptor for ohci root hub
+ * standart device descriptor for ohci root hub
  */
 static const usb_standard_device_descriptor_t ohci_rh_device_descriptor = {
@@ -69,5 +69,4 @@
  */
 static const usb_standard_configuration_descriptor_t ohci_rh_conf_descriptor = {
-	/// \TODO some values are default or guessed
 	.attributes = 1 << 7,
 	.configuration_number = 1,
@@ -87,5 +86,4 @@
 	.endpoint_count = 1,
 	.interface_class = USB_CLASS_HUB,
-	/// \TODO is this correct?
 	.interface_number = 1,
 	.interface_protocol = 0,
@@ -107,19 +105,33 @@
 };
 
+/**
+ * bitmask of hub features that are valid to be cleared
+ */
 static const uint32_t hub_clear_feature_valid_mask =
     (1 << USB_HUB_FEATURE_C_HUB_LOCAL_POWER) |
 (1 << USB_HUB_FEATURE_C_HUB_OVER_CURRENT);
 
+/**
+ * bitmask of hub features that are cleared by writing 1 (and not 0)
+ */
 static const uint32_t hub_clear_feature_by_writing_one_mask =
     1 << USB_HUB_FEATURE_C_HUB_LOCAL_POWER;
 
+/**
+ * bitmask of hub features that are valid to be set
+ */
 static const uint32_t hub_set_feature_valid_mask =
     (1 << USB_HUB_FEATURE_C_HUB_OVER_CURRENT) |
 (1 << USB_HUB_FEATURE_C_HUB_LOCAL_POWER);
 
-
+/**
+ * bitmask of hub features that are set by writing 1 and cleared by writing 0
+ */
 static const uint32_t hub_set_feature_direct_mask =
     (1 << USB_HUB_FEATURE_C_HUB_OVER_CURRENT);
 
+/**
+ * bitmask of port features that are valid to be set
+ */
 static const uint32_t port_set_feature_valid_mask =
     (1 << USB_HUB_FEATURE_PORT_ENABLE) |
@@ -128,4 +140,7 @@
 (1 << USB_HUB_FEATURE_PORT_POWER);
 
+/**
+ * bitmask of port features that can be cleared
+ */
 static const uint32_t port_clear_feature_valid_mask =
     (1 << USB_HUB_FEATURE_PORT_CONNECTION) |
@@ -141,4 +156,7 @@
 //USB_HUB_FEATURE_PORT_LOW_SPEED
 
+/**
+ * bitmask with port status changes
+ */
 static const uint32_t port_status_change_mask =
     (1 << USB_HUB_FEATURE_C_PORT_CONNECTION) |
@@ -152,6 +170,4 @@
 
 static int rh_init_descriptors(rh_t *instance);
-
-static void rh_check_port_connectivity(rh_t * instance);
 
 static int process_get_port_status_request(rh_t *instance, uint16_t port,
@@ -220,8 +236,7 @@
 	if (!instance->interrupt_buffer)
 		return ENOMEM;
-	rh_check_port_connectivity(instance);
-
-
-	usb_log_info("OHCI root hub with %d ports.\n", instance->port_count);
+
+	usb_log_info("OHCI root hub with %d ports initialized.\n",
+	    instance->port_count);
 
 	return EOK;
@@ -381,31 +396,4 @@
 	return EOK;
 }
-/*----------------------------------------------------------------------------*/
-
-/**
- * check whether there are connected devices on ports and if yes, indicate
- * connection change
- * 
- * @param instance
- */
-static void rh_check_port_connectivity(rh_t * instance) {
-	size_t port;
-	usb_log_debug("rh_check_port_connectivity\n");
-	for (port = 1; port < instance->port_count; ++port) {
-		bool connected =
-		    ((instance->registers->rh_port_status[port - 1]) &
-		    (1 << USB_HUB_FEATURE_PORT_CONNECTION)) != 0;
-		if (connected) {
-			usb_log_debug("port %d has connected device\n", port);
-			instance->registers->rh_port_status[port - 1] =
-			    instance->registers->rh_port_status[port - 1]
-			    | (1 << USB_HUB_FEATURE_C_PORT_CONNECTION);
-			usb_log_debug("change indicated to status "
-			    "register\n");
-		}
-	}
-}
-
-
 /*----------------------------------------------------------------------------*/
 
