Index: uspace/drv/audio/hdaudio/codec.c
===================================================================
--- uspace/drv/audio/hdaudio/codec.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/audio/hdaudio/codec.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -435,15 +435,15 @@
 	if ((pcaps & BIT_V(uint32_t, pwc_output)) != 0) {
 		ddf_msg(LVL_NOTE, "PIN %d will enable output", aw);
-	    	pctl = pctl | BIT_V(uint8_t, pctl_out_enable);
+		pctl = pctl | BIT_V(uint8_t, pctl_out_enable);
 	}
 
 	if ((pcaps & BIT_V(uint32_t, pwc_input)) != 0) {
 		ddf_msg(LVL_NOTE, "PIN %d will enable input", aw);
-	    	pctl = pctl | BIT_V(uint8_t, pctl_in_enable);
+		pctl = pctl | BIT_V(uint8_t, pctl_in_enable);
 	}
 
 	if ((pcaps & BIT_V(uint32_t, pwc_hpd)) != 0) {
 		ddf_msg(LVL_NOTE, "PIN %d will enable headphone drive", aw);
-	    	pctl = pctl | BIT_V(uint8_t, pctl_hpd_enable);
+		pctl = pctl | BIT_V(uint8_t, pctl_hpd_enable);
 	}
 
Index: uspace/drv/audio/hdaudio/hdactl.c
===================================================================
--- uspace/drv/audio/hdaudio/hdactl.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/audio/hdaudio/hdactl.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -514,5 +514,5 @@
 	ddf_msg(LVL_NOTE, "reg 0x%zx STATESTS = 0x%x",
 	    (void *)&hda->regs->statests - (void *)hda->regs,
-		hda_reg16_read(&hda->regs->statests));
+	    hda_reg16_read(&hda->regs->statests));
 	/**
 	  * Clear STATESTS bits so they don't generate an interrupt later
@@ -523,5 +523,5 @@
 	ddf_msg(LVL_NOTE, "after clearing reg 0x%zx STATESTS = 0x%x",
 	    (void *)&hda->regs->statests - (void *)hda->regs,
-		hda_reg16_read(&hda->regs->statests));
+	    hda_reg16_read(&hda->regs->statests));
 
 	gctl = hda_reg32_read(&hda->regs->gctl);
@@ -544,5 +544,5 @@
 
 		ddf_msg(LVL_NOTE, "Waiting for controller to initialize.");
-		async_usleep(100*1000);
+		async_usleep(100 * 1000);
 		--cnt;
 	}
Index: uspace/drv/audio/hdaudio/pcm_iface.c
===================================================================
--- uspace/drv/audio/hdaudio/pcm_iface.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/audio/hdaudio/pcm_iface.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -356,5 +356,6 @@
 
 	if (hda->ev_sess == NULL) {
-		if (0) ddf_log_warning("No one listening for event %u", event);
+		if (0)
+			ddf_log_warning("No one listening for event %u", event);
 		return;
 	}
Index: uspace/drv/audio/sb16/dsp_commands.h
===================================================================
--- uspace/drv/audio/sb16/dsp_commands.h	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/audio/sb16/dsp_commands.h	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -166,9 +166,9 @@
 #define DSP_MODE_STEREO 0x20
 
-static inline const char * mode_to_str(uint8_t mode)
+static inline const char *mode_to_str(uint8_t mode)
 {
 	if (mode & 0xcf)
 		return "unknown";
-	static const char * names[] = {
+	static const char *names[] = {
 		"unsigned mono (8bit)",
 		"signed mono (16bit)",
Index: uspace/drv/audio/sb16/mixer_iface.c
===================================================================
--- uspace/drv/audio/sb16/mixer_iface.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/audio/sb16/mixer_iface.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -46,5 +46,5 @@
 }
 
-static errno_t sb_get_info(ddf_fun_t *fun, const char** name, unsigned *items)
+static errno_t sb_get_info(ddf_fun_t *fun, const char **name, unsigned *items)
 {
 	sb_mixer_t *mixer = fun_to_mixer(fun);
@@ -58,5 +58,5 @@
 }
 
-static errno_t sb_get_item_info(ddf_fun_t *fun, unsigned item, const char** name,
+static errno_t sb_get_item_info(ddf_fun_t *fun, unsigned item, const char **name,
     unsigned *max_level)
 {
Index: uspace/drv/audio/sb16/pcm_iface.c
===================================================================
--- uspace/drv/audio/sb16/pcm_iface.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/audio/sb16/pcm_iface.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -47,5 +47,5 @@
 }
 
-static errno_t sb_get_info_str(ddf_fun_t *fun, const char** name)
+static errno_t sb_get_info_str(ddf_fun_t *fun, const char **name)
 {
 	if (name)
@@ -79,5 +79,5 @@
 }
 
-static async_sess_t * sb_get_event_session(ddf_fun_t *fun)
+static async_sess_t *sb_get_event_session(ddf_fun_t *fun)
 {
 	return sb_dsp_get_event_session(fun_to_dsp(fun));
Index: uspace/drv/audio/sb16/sb16.c
===================================================================
--- uspace/drv/audio/sb16/sb16.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/audio/sb16/sb16.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -60,11 +60,15 @@
     unsigned major, unsigned minor)
 {
-	switch (major)
-	{
-	case 1: return SB_MIXER_NONE; /* SB 1.5 and early 2.0 = no mixer chip */
-	case 2: return (minor == 0) ? SB_MIXER_NONE : SB_MIXER_CT1335;
-	case 3: return SB_MIXER_CT1345; /* SB Pro */
-	case 4: return SB_MIXER_CT1745; /* SB 16  */
-	default: return SB_MIXER_UNKNOWN;
+	switch (major) {
+	case 1:
+		return SB_MIXER_NONE; /* SB 1.5 and early 2.0 = no mixer chip */
+	case 2:
+		return (minor == 0) ? SB_MIXER_NONE : SB_MIXER_CT1335;
+	case 3:
+		return SB_MIXER_CT1345; /* SB Pro */
+	case 4:
+		return SB_MIXER_CT1745; /* SB 16  */
+	default:
+		return SB_MIXER_UNKNOWN;
 	}
 }
Index: uspace/drv/block/ahci/ahci.c
===================================================================
--- uspace/drv/block/ahci/ahci.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/block/ahci/ahci.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -978,5 +978,5 @@
 	sata->cmd_header->cmdtableu = HI(phys);
 	sata->cmd_header->cmdtable = LO(phys);
-	sata->cmd_table = (uint32_t*) virt_table;
+	sata->cmd_table = (uint32_t *) virt_table;
 
 	return sata;
@@ -1076,5 +1076,5 @@
 	fibril_mutex_unlock(&sata_devices_count_lock);
 
-	rc= ddf_fun_set_name(sata->fun, sata_dev_name);
+	rc = ddf_fun_set_name(sata->fun, sata_dev_name);
 	if (rc != EOK) {
 		ddf_msg(LVL_ERROR, "Failed setting function name.");
Index: uspace/drv/block/ata_bd/ata_bd.c
===================================================================
--- uspace/drv/block/ata_bd/ata_bd.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/block/ata_bd/ata_bd.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -428,5 +428,5 @@
 
 		d->blocks =
-		     (uint32_t) idata.total_lba28_0 |
+		    (uint32_t) idata.total_lba28_0 |
 		    ((uint32_t) idata.total_lba28_1 << 16);
 	} else {
@@ -439,5 +439,5 @@
 
 		d->blocks =
-		     (uint64_t) idata.total_lba48_0 |
+		    (uint64_t) idata.total_lba48_0 |
 		    ((uint64_t) idata.total_lba48_1 << 16) |
 		    ((uint64_t) idata.total_lba48_2 << 32) |
@@ -461,5 +461,6 @@
 	for (i = 0; i < len; ++i) {
 		c = model[i];
-		if (c >= 0x80) c = '?';
+		if (c >= 0x80)
+			c = '?';
 
 		chr_encode(c, d->model, &pos, 40);
@@ -795,5 +796,5 @@
 	pio_write_8(&ctrl->cmd->drive_head, drv_head);
 
-	if (wait_status(ctrl, 0, ~(SR_BSY|SR_DRQ), NULL, TIMEOUT_BSY) != EOK) {
+	if (wait_status(ctrl, 0, ~(SR_BSY | SR_DRQ), NULL, TIMEOUT_BSY) != EOK) {
 		fibril_mutex_unlock(&ctrl->lock);
 		return EIO;
@@ -1263,5 +1264,6 @@
 	while ((status & ~n_reset) != 0 || (status & set) != set) {
 		--cnt;
-		if (cnt <= 0) break;
+		if (cnt <= 0)
+			break;
 
 		status = pio_read_8(&ctrl->cmd->status);
@@ -1272,5 +1274,6 @@
 		async_usleep(10000);
 		--cnt;
-		if (cnt <= 0) break;
+		if (cnt <= 0)
+			break;
 
 		status = pio_read_8(&ctrl->cmd->status);
Index: uspace/drv/block/usbmast/bo_trans.c
===================================================================
--- uspace/drv/block/usbmast/bo_trans.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/block/usbmast/bo_trans.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -116,5 +116,5 @@
 		usb_pipe_clear_halt(
 		    usb_device_get_default_pipe(mfun->mdev->usb_dev), dpipe);
-        } else if (rc != EOK) {
+	} else if (rc != EOK) {
 		usb_log_error("Failed to transfer data: %s", str_error(rc));
 		return EIO;
@@ -141,5 +141,5 @@
 	if (csw.dCSWTag != tag) {
 		usb_log_error("Received CSW with incorrect tag. (expected: %"
-		    PRIX32" received: %"PRIx32, tag, csw.dCSWTag);
+		    PRIX32 " received: %" PRIx32, tag, csw.dCSWTag);
 		return EIO;
 	}
Index: uspace/drv/block/usbmast/main.c
===================================================================
--- uspace/drv/block/usbmast/main.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/block/usbmast/main.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -179,5 +179,5 @@
 	usb_log_debug("Get LUN count...");
 	mdev->lun_count = usb_masstor_get_lun_count(mdev);
-	mdev->luns = calloc(mdev->lun_count, sizeof(ddf_fun_t*));
+	mdev->luns = calloc(mdev->lun_count, sizeof(ddf_fun_t *));
 	if (mdev->luns == NULL) {
 		usb_log_error("Failed allocating luns table.");
Index: uspace/drv/block/usbmast/scsi_ms.c
===================================================================
--- uspace/drv/block/usbmast/scsi_ms.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/block/usbmast/scsi_ms.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -196,5 +196,5 @@
 	if (cmd.rcvd_size < SCSI_STD_INQUIRY_DATA_MIN_SIZE) {
 		usb_log_error("SCSI Inquiry response too short (%zu).",
-		     cmd.rcvd_size);
+		    cmd.rcvd_size);
 		return EIO;
 	}
@@ -306,5 +306,5 @@
 	if (cmd.rcvd_size < sizeof(data)) {
 		usb_log_error("SCSI Read Capacity response too short (%zu).",
-		     cmd.rcvd_size);
+		    cmd.rcvd_size);
 		return EIO;
 	}
@@ -349,5 +349,5 @@
 	rc = usbmast_run_cmd(mfun, &cmd);
 
-        if (rc != EOK) {
+	if (rc != EOK) {
 		usb_log_error("Read (10) transport failed, device %s: %s.",
 		    usb_device_get_name(mfun->mdev->usb_dev), str_error(rc));
Index: uspace/drv/bus/adb/cuda_adb/main.c
===================================================================
--- uspace/drv/bus/adb/cuda_adb/main.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/bus/adb/cuda_adb/main.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -103,5 +103,5 @@
 	errno_t rc;
 
-        ddf_msg(LVL_DEBUG, "cuda_dev_add(%p)", dev);
+	ddf_msg(LVL_DEBUG, "cuda_dev_add(%p)", dev);
 	cuda = ddf_dev_data_alloc(dev, sizeof(cuda_t));
 	if (cuda == NULL) {
@@ -124,30 +124,30 @@
 static errno_t cuda_dev_remove(ddf_dev_t *dev)
 {
-        cuda_t *cuda = (cuda_t *)ddf_dev_data_get(dev);
+	cuda_t *cuda = (cuda_t *)ddf_dev_data_get(dev);
 
-        ddf_msg(LVL_DEBUG, "cuda_dev_remove(%p)", dev);
+	ddf_msg(LVL_DEBUG, "cuda_dev_remove(%p)", dev);
 
-        return cuda_remove(cuda);
+	return cuda_remove(cuda);
 }
 
 static errno_t cuda_dev_gone(ddf_dev_t *dev)
 {
-        cuda_t *cuda = (cuda_t *)ddf_dev_data_get(dev);
+	cuda_t *cuda = (cuda_t *)ddf_dev_data_get(dev);
 
-        ddf_msg(LVL_DEBUG, "cuda_dev_gone(%p)", dev);
+	ddf_msg(LVL_DEBUG, "cuda_dev_gone(%p)", dev);
 
-        return cuda_gone(cuda);
+	return cuda_gone(cuda);
 }
 
 static errno_t cuda_fun_online(ddf_fun_t *fun)
 {
-        ddf_msg(LVL_DEBUG, "cuda_fun_online()");
-        return ddf_fun_online(fun);
+	ddf_msg(LVL_DEBUG, "cuda_fun_online()");
+	return ddf_fun_online(fun);
 }
 
 static errno_t cuda_fun_offline(ddf_fun_t *fun)
 {
-        ddf_msg(LVL_DEBUG, "cuda_fun_offline()");
-        return ddf_fun_offline(fun);
+	ddf_msg(LVL_DEBUG, "cuda_fun_offline()");
+	return ddf_fun_offline(fun);
 }
 
Index: uspace/drv/bus/isa/isa.c
===================================================================
--- uspace/drv/bus/isa/isa.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/bus/isa/isa.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -227,5 +227,5 @@
 };
 
-static ddf_dev_ops_t isa_fun_ops= {
+static ddf_dev_ops_t isa_fun_ops = {
 	.interfaces[HW_RES_DEV_IFACE] = &isa_fun_hw_res_ops,
 	.interfaces[PIO_WINDOW_DEV_IFACE] = &isa_fun_pio_window_ops,
@@ -307,5 +307,5 @@
 	}
 
-	rc = vfs_read(fd, (aoff64_t []) {0}, buf, len, &nread);
+	rc = vfs_read(fd, (aoff64_t []) { 0 }, buf, len, &nread);
 	if (rc != EOK) {
 		ddf_msg(LVL_ERROR, "Unable to read file '%s'.", conf_path);
Index: uspace/drv/bus/usb/ehci/ehci_bus.c
===================================================================
--- uspace/drv/bus/usb/ehci/ehci_bus.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/bus/usb/ehci/ehci_bus.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -145,5 +145,5 @@
 	endpoint_set_offline_locked(ep);
 	list_remove(&ehci_ep->pending_link);
-	usb_transfer_batch_t * const batch = ep->active_batch;
+	usb_transfer_batch_t *const batch = ep->active_batch;
 	endpoint_deactivate_locked(ep);
 	fibril_mutex_unlock(&hc->guard);
Index: uspace/drv/bus/usb/ehci/endpoint_list.c
===================================================================
--- uspace/drv/bus/usb/ehci/endpoint_list.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/bus/usb/ehci/endpoint_list.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -66,5 +66,5 @@
 	fibril_mutex_initialize(&instance->guard);
 
-	usb_log_debug2("EPL(%p-%s): Transfer list setup with ED: %p(%"PRIxn").",
+	usb_log_debug2("EPL(%p-%s): Transfer list setup with ED: %p(%" PRIxn ").",
 	    instance, name, instance->list_head,
 	    addr_to_phys(instance->list_head));
@@ -133,5 +133,5 @@
 	    instance, instance->name, ep, first, first->qh);
 	if (last_qh == instance->list_head) {
-		usb_log_debug2("EPL(%p-%s): head EP(%p-%"PRIxn"): %x:%x.",
+		usb_log_debug2("EPL(%p-%s): head EP(%p-%" PRIxn "): %x:%x.",
 		    instance, instance->name, last_qh,
 		    addr_to_phys(instance->list_head),
Index: uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.h
===================================================================
--- uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.h	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/bus/usb/ehci/hw_struct/transfer_descriptor.h	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -77,5 +77,5 @@
 	volatile uint32_t extended_bp[5];
 
-} __attribute__((packed,aligned(32))) td_t;
+} __attribute__((packed, aligned(32))) td_t;
 
 static_assert(sizeof(td_t) % 32 == 0);
Index: uspace/drv/bus/usb/ohci/endpoint_list.c
===================================================================
--- uspace/drv/bus/usb/ohci/endpoint_list.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/bus/usb/ohci/endpoint_list.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -128,5 +128,5 @@
 	    list_first(&instance->endpoint_list), ohci_endpoint_t, eplist_link);
 	usb_log_debug("HCD EP(%p) added to list %s, first is %p(%p).",
-		ep, instance->name, first, first->ed);
+	    ep, instance->name, first, first->ed);
 	if (last_ed == instance->list_head) {
 		usb_log_debug2("%s head ED(%p-0x%0" PRIx32 "): %x:%x:%x:%x.",
Index: uspace/drv/bus/usb/ohci/hw_struct/hcca.h
===================================================================
--- uspace/drv/bus/usb/ohci/hw_struct/hcca.h	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/bus/usb/ohci/hw_struct/hcca.h	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -69,5 +69,5 @@
  * @return Usable HCCA memory structure.
  */
-static inline hcca_t * hcca_get(void)
+static inline hcca_t *hcca_get(void)
 {
 	hcca_t *hcca = memalign(sizeof(hcca_t), sizeof(hcca_t));
Index: uspace/drv/bus/usb/ohci/ohci_bus.h
===================================================================
--- uspace/drv/bus/usb/ohci/ohci_bus.h	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/bus/usb/ohci/ohci_bus.h	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -84,5 +84,5 @@
  * @return Pointer to assigned hcd endpoint structure
  */
-static inline ohci_endpoint_t * ohci_endpoint_get(const endpoint_t *ep)
+static inline ohci_endpoint_t *ohci_endpoint_get(const endpoint_t *ep)
 {
 	assert(ep);
Index: uspace/drv/bus/usb/usbmid/usbmid.h
===================================================================
--- uspace/drv/bus/usb/usbmid/usbmid.h	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/bus/usb/usbmid/usbmid.h	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -69,5 +69,5 @@
 extern errno_t usbmid_interface_destroy(usbmid_interface_t *mid_iface);
 
-static inline usbmid_interface_t * usbmid_interface_from_link(link_t *item)
+static inline usbmid_interface_t *usbmid_interface_from_link(link_t *item)
 {
 	return list_get_instance(item, usbmid_interface_t, link);
Index: uspace/drv/bus/usb/vhc/conndev.c
===================================================================
--- uspace/drv/bus/usb/vhc/conndev.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/bus/usb/vhc/conndev.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -66,5 +66,5 @@
 	ipc_call_t data_request_call;
 	aid_t data_request = async_data_read(exch, plugged_device_name,
-	     PLUGGED_DEVICE_NAME_MAXLEN, &data_request_call);
+	    PLUGGED_DEVICE_NAME_MAXLEN, &data_request_call);
 
 	async_exchange_end(exch);
Index: uspace/drv/bus/usb/vhc/hub/virthub.h
===================================================================
--- uspace/drv/bus/usb/vhc/hub/virthub.h	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/bus/usb/vhc/hub/virthub.h	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -70,10 +70,10 @@
 	uint8_t max_current;
 	/** Whether device at given port is removable. */
-	uint8_t removable_device[BITS2BYTES(HUB_PORT_COUNT+1)];
+	uint8_t removable_device[BITS2BYTES(HUB_PORT_COUNT + 1)];
 	/** Port power control.
 	 * This is USB1.0 compatibility field, all bits must be 1.
 	 */
-	uint8_t port_power[BITS2BYTES(HUB_PORT_COUNT+1)];
-} __attribute__ ((packed)) hub_descriptor_t;
+	uint8_t port_power[BITS2BYTES(HUB_PORT_COUNT + 1)];
+} __attribute__((packed)) hub_descriptor_t;
 
 extern usbvirt_device_ops_t hub_ops;
Index: uspace/drv/bus/usb/vhc/main.c
===================================================================
--- uspace/drv/bus/usb/vhc/main.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/bus/usb/vhc/main.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -80,5 +80,5 @@
 	if (ret != EOK) {
 		usb_log_error("Failed to init HCD structures: %s.",
-		   str_error(ret));
+		    str_error(ret));
 		return ret;
 	}
@@ -111,5 +111,5 @@
 	if (ret != EOK) {
 		usb_log_error("Failed to init VHC root hub: %s",
-			str_error(ret));
+		    str_error(ret));
 		// TODO do something here...
 	}
@@ -127,5 +127,5 @@
 };
 
-int main(int argc, char * argv[])
+int main(int argc, char *argv[])
 {
 	log_init(NAME);
Index: uspace/drv/bus/usb/xhci/device.c
===================================================================
--- uspace/drv/bus/usb/xhci/device.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/bus/usb/xhci/device.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -159,6 +159,6 @@
 	if (dev->base.speed == USB_SPEED_HIGH) {
 		dev->tt_think_time = 8 +
-			8  * !!(hub_desc.characteristics & HUB_CHAR_TT_THINK_8) +
-			16 * !!(hub_desc.characteristics & HUB_CHAR_TT_THINK_16);
+		    8  * !!(hub_desc.characteristics & HUB_CHAR_TT_THINK_8) +
+		    16 * !!(hub_desc.characteristics & HUB_CHAR_TT_THINK_16);
 	}
 
@@ -222,5 +222,5 @@
 	if ((err = hc_get_device_desc(dev, &desc))) {
 		usb_log_error("Device(%d): failed to get device "
-		   "descriptor: %s", dev->address, str_error(err));
+		    "descriptor: %s", dev->address, str_error(err));
 		goto err_address;
 	}
Index: uspace/drv/bus/usb/xhci/hw_struct/common.h
===================================================================
--- uspace/drv/bus/usb/xhci/hw_struct/common.h	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/bus/usb/xhci/hw_struct/common.h	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -70,5 +70,5 @@
  */
 static inline void xhci_dword_set_bits(xhci_dword_t *storage, uint32_t value,
-	unsigned hi, unsigned lo)
+    unsigned hi, unsigned lo)
 {
 	const uint32_t mask = host2xhci(32, BIT_RANGE(uint32_t, hi, lo));
@@ -86,5 +86,5 @@
 
 static inline void xhci_qword_set_bits(xhci_qword_t *storage, uint64_t value,
-	unsigned hi, unsigned lo)
+    unsigned hi, unsigned lo)
 {
 	const uint64_t mask = host2xhci(64, BIT_RANGE(uint64_t, hi, lo));
@@ -94,5 +94,5 @@
 
 static inline int xhci_reg_wait(xhci_dword_t *reg, uint32_t mask,
-	uint32_t expected)
+    uint32_t expected)
 {
 	mask = host2xhci(32, mask);
Index: uspace/drv/bus/usb/xhci/scratchpad.c
===================================================================
--- uspace/drv/bus/usb/xhci/scratchpad.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/bus/usb/xhci/scratchpad.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -77,5 +77,5 @@
 	for (unsigned i = 0; i < num_bufs; ++i) {
 		array[i] = host2xhci(64, dma_buffer_phys(&hc->scratchpad_array,
-			    base + i * PAGE_SIZE));
+		    base + i * PAGE_SIZE));
 	}
 
Index: uspace/drv/bus/usb/xhci/transfers.h
===================================================================
--- uspace/drv/bus/usb/xhci/transfers.h	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/bus/usb/xhci/transfers.h	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -53,5 +53,5 @@
 } xhci_transfer_t;
 
-extern usb_transfer_batch_t* xhci_transfer_create(endpoint_t *);
+extern usb_transfer_batch_t *xhci_transfer_create(endpoint_t *);
 extern errno_t xhci_transfer_schedule(usb_transfer_batch_t *);
 
Index: uspace/drv/char/i8042/i8042.h
===================================================================
--- uspace/drv/char/i8042/i8042.h	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/char/i8042/i8042.h	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -56,5 +56,5 @@
 	uint8_t pad[3];
 	ioport8_t status;
-} __attribute__ ((packed)) i8042_regs_t;
+} __attribute__((packed)) i8042_regs_t;
 
 /** i8042 Port. */
Index: uspace/drv/char/msim-con/main.c
===================================================================
--- uspace/drv/char/msim-con/main.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/char/msim-con/main.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -103,5 +103,5 @@
 	errno_t rc;
 
-        ddf_msg(LVL_DEBUG, "msim_con_dev_add(%p)", dev);
+	ddf_msg(LVL_DEBUG, "msim_con_dev_add(%p)", dev);
 
 	msim_con = ddf_dev_data_alloc(dev, sizeof(msim_con_t));
@@ -124,30 +124,30 @@
 static errno_t msim_con_dev_remove(ddf_dev_t *dev)
 {
-        msim_con_t *msim_con = (msim_con_t *)ddf_dev_data_get(dev);
+	msim_con_t *msim_con = (msim_con_t *)ddf_dev_data_get(dev);
 
-        ddf_msg(LVL_DEBUG, "msim_con_dev_remove(%p)", dev);
+	ddf_msg(LVL_DEBUG, "msim_con_dev_remove(%p)", dev);
 
-        return msim_con_remove(msim_con);
+	return msim_con_remove(msim_con);
 }
 
 static errno_t msim_con_dev_gone(ddf_dev_t *dev)
 {
-        msim_con_t *msim_con = (msim_con_t *)ddf_dev_data_get(dev);
+	msim_con_t *msim_con = (msim_con_t *)ddf_dev_data_get(dev);
 
-        ddf_msg(LVL_DEBUG, "msim_con_dev_gone(%p)", dev);
+	ddf_msg(LVL_DEBUG, "msim_con_dev_gone(%p)", dev);
 
-        return msim_con_gone(msim_con);
+	return msim_con_gone(msim_con);
 }
 
 static errno_t msim_con_fun_online(ddf_fun_t *fun)
 {
-        ddf_msg(LVL_DEBUG, "msim_con_fun_online()");
-        return ddf_fun_online(fun);
+	ddf_msg(LVL_DEBUG, "msim_con_fun_online()");
+	return ddf_fun_online(fun);
 }
 
 static errno_t msim_con_fun_offline(ddf_fun_t *fun)
 {
-        ddf_msg(LVL_DEBUG, "msim_con_fun_offline()");
-        return ddf_fun_offline(fun);
+	ddf_msg(LVL_DEBUG, "msim_con_fun_offline()");
+	return ddf_fun_offline(fun);
 }
 
Index: uspace/drv/char/ski-con/main.c
===================================================================
--- uspace/drv/char/ski-con/main.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/char/ski-con/main.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -65,5 +65,5 @@
 	ski_con_t *ski_con;
 
-        ddf_msg(LVL_DEBUG, "ski_con_dev_add(%p)", dev);
+	ddf_msg(LVL_DEBUG, "ski_con_dev_add(%p)", dev);
 	ski_con = ddf_dev_data_alloc(dev, sizeof(ski_con_t));
 	if (ski_con == NULL) {
@@ -79,30 +79,30 @@
 static errno_t ski_con_dev_remove(ddf_dev_t *dev)
 {
-        ski_con_t *ski_con = (ski_con_t *)ddf_dev_data_get(dev);
+	ski_con_t *ski_con = (ski_con_t *)ddf_dev_data_get(dev);
 
-        ddf_msg(LVL_DEBUG, "ski_con_dev_remove(%p)", dev);
+	ddf_msg(LVL_DEBUG, "ski_con_dev_remove(%p)", dev);
 
-        return ski_con_remove(ski_con);
+	return ski_con_remove(ski_con);
 }
 
 static errno_t ski_con_dev_gone(ddf_dev_t *dev)
 {
-        ski_con_t *ski_con = (ski_con_t *)ddf_dev_data_get(dev);
+	ski_con_t *ski_con = (ski_con_t *)ddf_dev_data_get(dev);
 
-        ddf_msg(LVL_DEBUG, "ski_con_dev_gone(%p)", dev);
+	ddf_msg(LVL_DEBUG, "ski_con_dev_gone(%p)", dev);
 
-        return ski_con_gone(ski_con);
+	return ski_con_gone(ski_con);
 }
 
 static errno_t ski_con_fun_online(ddf_fun_t *fun)
 {
-        ddf_msg(LVL_DEBUG, "ski_con_fun_online()");
-        return ddf_fun_online(fun);
+	ddf_msg(LVL_DEBUG, "ski_con_fun_online()");
+	return ddf_fun_online(fun);
 }
 
 static errno_t ski_con_fun_offline(ddf_fun_t *fun)
 {
-        ddf_msg(LVL_DEBUG, "ski_con_fun_offline()");
-        return ddf_fun_offline(fun);
+	ddf_msg(LVL_DEBUG, "ski_con_fun_offline()");
+	return ddf_fun_offline(fun);
 }
 
Index: uspace/drv/char/ski-con/ski-con.c
===================================================================
--- uspace/drv/char/ski-con/ski-con.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/char/ski-con/ski-con.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -169,11 +169,11 @@
 #ifdef UARCH_ia64
 	asm volatile (
-		"mov r15 = %1\n"
-		"break 0x80000;;\n"	/* modifies r8 */
-		"mov %0 = r8;;\n"
-
-		: "=r" (ch)
-		: "i" (SKI_GETCHAR)
-		: "r15", "r8"
+	    "mov r15 = %1\n"
+	    "break 0x80000;;\n"	/* modifies r8 */
+	    "mov %0 = r8;;\n"
+
+	    : "=r" (ch)
+	    : "i" (SKI_GETCHAR)
+	    : "r15", "r8"
 	);
 #else
@@ -199,10 +199,10 @@
 #ifdef UARCH_ia64
 	asm volatile (
-		"mov r15 = %0\n"
-		"mov r32 = %1\n"   /* r32 is in0 */
-		"break 0x80000\n"  /* modifies r8 */
-		:
-		: "i" (SKI_PUTCHAR), "r" (ch)
-		: "r15", "in0", "r8"
+	    "mov r15 = %0\n"
+	    "mov r32 = %1\n"   /* r32 is in0 */
+	    "break 0x80000\n"  /* modifies r8 */
+	    :
+	    : "i" (SKI_PUTCHAR), "r" (ch)
+	    : "r15", "in0", "r8"
 	);
 #else
Index: uspace/drv/char/sun4v-con/main.c
===================================================================
--- uspace/drv/char/sun4v-con/main.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/char/sun4v-con/main.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -94,5 +94,5 @@
 	errno_t rc;
 
-        ddf_msg(LVL_DEBUG, "sun4v_con_dev_add(%p)", dev);
+	ddf_msg(LVL_DEBUG, "sun4v_con_dev_add(%p)", dev);
 	sun4v_con = ddf_dev_data_alloc(dev, sizeof(sun4v_con_t));
 	if (sun4v_con == NULL) {
@@ -114,30 +114,30 @@
 static errno_t sun4v_con_dev_remove(ddf_dev_t *dev)
 {
-        sun4v_con_t *sun4v_con = (sun4v_con_t *)ddf_dev_data_get(dev);
+	sun4v_con_t *sun4v_con = (sun4v_con_t *)ddf_dev_data_get(dev);
 
-        ddf_msg(LVL_DEBUG, "sun4v_con_dev_remove(%p)", dev);
+	ddf_msg(LVL_DEBUG, "sun4v_con_dev_remove(%p)", dev);
 
-        return sun4v_con_remove(sun4v_con);
+	return sun4v_con_remove(sun4v_con);
 }
 
 static errno_t sun4v_con_dev_gone(ddf_dev_t *dev)
 {
-        sun4v_con_t *sun4v_con = (sun4v_con_t *)ddf_dev_data_get(dev);
+	sun4v_con_t *sun4v_con = (sun4v_con_t *)ddf_dev_data_get(dev);
 
-        ddf_msg(LVL_DEBUG, "sun4v_con_dev_gone(%p)", dev);
+	ddf_msg(LVL_DEBUG, "sun4v_con_dev_gone(%p)", dev);
 
-        return sun4v_con_gone(sun4v_con);
+	return sun4v_con_gone(sun4v_con);
 }
 
 static errno_t sun4v_con_fun_online(ddf_fun_t *fun)
 {
-        ddf_msg(LVL_DEBUG, "sun4v_con_fun_online()");
-        return ddf_fun_online(fun);
+	ddf_msg(LVL_DEBUG, "sun4v_con_fun_online()");
+	return ddf_fun_online(fun);
 }
 
 static errno_t sun4v_con_fun_offline(ddf_fun_t *fun)
 {
-        ddf_msg(LVL_DEBUG, "sun4v_con_fun_offline()");
-        return ddf_fun_offline(fun);
+	ddf_msg(LVL_DEBUG, "sun4v_con_fun_offline()");
+	return ddf_fun_offline(fun);
 }
 
Index: uspace/drv/hid/adb-kbd/adb-kbd.c
===================================================================
--- uspace/drv/hid/adb-kbd/adb-kbd.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/hid/adb-kbd/adb-kbd.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -186,5 +186,6 @@
 	if (b1 != 0xff)
 		adb_kbd_data(kbd, b1);
-	(void)b0; (void)b1;
+	(void)b0;
+	(void)b1;
 }
 
Index: uspace/drv/hid/adb-kbd/main.c
===================================================================
--- uspace/drv/hid/adb-kbd/main.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/hid/adb-kbd/main.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -65,5 +65,5 @@
 	adb_kbd_t *adb_kbd;
 
-        ddf_msg(LVL_DEBUG, "adb_kbd_dev_add(%p)", dev);
+	ddf_msg(LVL_DEBUG, "adb_kbd_dev_add(%p)", dev);
 	adb_kbd = ddf_dev_data_alloc(dev, sizeof(adb_kbd_t));
 	if (adb_kbd == NULL) {
@@ -79,30 +79,30 @@
 static errno_t adb_kbd_dev_remove(ddf_dev_t *dev)
 {
-        adb_kbd_t *adb_kbd = (adb_kbd_t *)ddf_dev_data_get(dev);
+	adb_kbd_t *adb_kbd = (adb_kbd_t *)ddf_dev_data_get(dev);
 
-        ddf_msg(LVL_DEBUG, "adb_kbd_dev_remove(%p)", dev);
+	ddf_msg(LVL_DEBUG, "adb_kbd_dev_remove(%p)", dev);
 
-        return adb_kbd_remove(adb_kbd);
+	return adb_kbd_remove(adb_kbd);
 }
 
 static errno_t adb_kbd_dev_gone(ddf_dev_t *dev)
 {
-        adb_kbd_t *adb_kbd = (adb_kbd_t *)ddf_dev_data_get(dev);
+	adb_kbd_t *adb_kbd = (adb_kbd_t *)ddf_dev_data_get(dev);
 
-        ddf_msg(LVL_DEBUG, "adb_kbd_dev_gone(%p)", dev);
+	ddf_msg(LVL_DEBUG, "adb_kbd_dev_gone(%p)", dev);
 
-        return adb_kbd_gone(adb_kbd);
+	return adb_kbd_gone(adb_kbd);
 }
 
 static errno_t adb_kbd_fun_online(ddf_fun_t *fun)
 {
-        ddf_msg(LVL_DEBUG, "adb_kbd_fun_online()");
-        return ddf_fun_online(fun);
+	ddf_msg(LVL_DEBUG, "adb_kbd_fun_online()");
+	return ddf_fun_online(fun);
 }
 
 static errno_t adb_kbd_fun_offline(ddf_fun_t *fun)
 {
-        ddf_msg(LVL_DEBUG, "adb_kbd_fun_offline()");
-        return ddf_fun_offline(fun);
+	ddf_msg(LVL_DEBUG, "adb_kbd_fun_offline()");
+	return ddf_fun_offline(fun);
 }
 
Index: uspace/drv/hid/adb-mouse/main.c
===================================================================
--- uspace/drv/hid/adb-mouse/main.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/hid/adb-mouse/main.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -65,5 +65,5 @@
 	adb_mouse_t *adb_mouse;
 
-        ddf_msg(LVL_DEBUG, "adb_mouse_dev_add(%p)", dev);
+	ddf_msg(LVL_DEBUG, "adb_mouse_dev_add(%p)", dev);
 	adb_mouse = ddf_dev_data_alloc(dev, sizeof(adb_mouse_t));
 	if (adb_mouse == NULL) {
@@ -79,30 +79,30 @@
 static errno_t adb_mouse_dev_remove(ddf_dev_t *dev)
 {
-        adb_mouse_t *adb_mouse = (adb_mouse_t *)ddf_dev_data_get(dev);
+	adb_mouse_t *adb_mouse = (adb_mouse_t *)ddf_dev_data_get(dev);
 
-        ddf_msg(LVL_DEBUG, "adb_mouse_dev_remove(%p)", dev);
+	ddf_msg(LVL_DEBUG, "adb_mouse_dev_remove(%p)", dev);
 
-        return adb_mouse_remove(adb_mouse);
+	return adb_mouse_remove(adb_mouse);
 }
 
 static errno_t adb_mouse_dev_gone(ddf_dev_t *dev)
 {
-        adb_mouse_t *adb_mouse = (adb_mouse_t *)ddf_dev_data_get(dev);
+	adb_mouse_t *adb_mouse = (adb_mouse_t *)ddf_dev_data_get(dev);
 
-        ddf_msg(LVL_DEBUG, "adb_mouse_dev_gone(%p)", dev);
+	ddf_msg(LVL_DEBUG, "adb_mouse_dev_gone(%p)", dev);
 
-        return adb_mouse_gone(adb_mouse);
+	return adb_mouse_gone(adb_mouse);
 }
 
 static errno_t adb_mouse_fun_online(ddf_fun_t *fun)
 {
-        ddf_msg(LVL_DEBUG, "adb_mouse_fun_online()");
-        return ddf_fun_online(fun);
+	ddf_msg(LVL_DEBUG, "adb_mouse_fun_online()");
+	return ddf_fun_online(fun);
 }
 
 static errno_t adb_mouse_fun_offline(ddf_fun_t *fun)
 {
-        ddf_msg(LVL_DEBUG, "adb_mouse_fun_offline()");
-        return ddf_fun_offline(fun);
+	ddf_msg(LVL_DEBUG, "adb_mouse_fun_offline()");
+	return ddf_fun_offline(fun);
 }
 
Index: uspace/drv/hid/atkbd/main.c
===================================================================
--- uspace/drv/hid/atkbd/main.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/hid/atkbd/main.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -100,5 +100,5 @@
 		ddf_msg(LVL_ERROR, "Failed to initialize AT_KBD driver: %s.",
 		    str_error(rc));
-    		return rc;
+		return rc;
 	}
 
Index: uspace/drv/hid/usbhid/main.c
===================================================================
--- uspace/drv/hid/usbhid/main.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/hid/usbhid/main.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -162,7 +162,7 @@
 /** The driver itself. */
 static const usb_driver_t usb_hid_driver = {
-        .name = NAME,
-        .ops = &usb_hid_driver_ops,
-        .endpoints = usb_hid_endpoints
+	.name = NAME,
+	.ops = &usb_hid_driver_ops,
+	.endpoints = usb_hid_endpoints
 };
 
Index: uspace/drv/hid/usbhid/subdrivers.c
===================================================================
--- uspace/drv/hid/usbhid/subdrivers.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/hid/usbhid/subdrivers.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -48,5 +48,5 @@
 		USB_HIDUT_USAGE_GENERIC_DESKTOP_KEYBOARD
 	},
-	{0, 0}
+	{ 0, 0 }
 };
 
@@ -56,5 +56,5 @@
 		USB_HIDUT_USAGE_GENERIC_DESKTOP_MOUSE
 	},
-	{0, 0}
+	{ 0, 0 }
 };
 
@@ -64,5 +64,5 @@
 		USB_HIDUT_USAGE_CONSUMER_CONSUMER_CONTROL
 	},
-	{0, 0}
+	{ 0, 0 }
 };
 
Index: uspace/drv/hid/xtkbd/main.c
===================================================================
--- uspace/drv/hid/xtkbd/main.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/hid/xtkbd/main.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -100,5 +100,5 @@
 		ddf_msg(LVL_ERROR, "Failed to initialize XT_KBD driver: %s.",
 		    str_error(rc));
-    		return rc;
+		return rc;
 	}
 
Index: uspace/drv/intctl/apic/apic.c
===================================================================
--- uspace/drv/intctl/apic/apic.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/intctl/apic/apic.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -66,5 +66,5 @@
 		uint8_t reg_addr;	/**< APIC Register Address. */
 		unsigned int : 24;	/**< Reserved. */
-	} __attribute__ ((packed));
+	} __attribute__((packed));
 } io_regsel_t;
 
@@ -83,5 +83,5 @@
 			unsigned int masked : 1;	/**< Interrupt Mask. */
 			unsigned int : 15;		/**< Reserved. */
-		} __attribute__ ((packed));
+		} __attribute__((packed));
 	};
 	union {
@@ -90,7 +90,7 @@
 			unsigned int : 24;	/**< Reserved. */
 			uint8_t dest : 8;  	/**< Destination Field. */
-		} __attribute__ ((packed));
+		} __attribute__((packed));
 	};
-} __attribute__ ((packed)) io_redirection_reg_t;
+} __attribute__((packed)) io_redirection_reg_t;
 
 #define IO_APIC_SIZE	20
@@ -148,5 +148,5 @@
 
 	int pin = irq_to_pin(irq);
- 	if (pin == -1)
+	if (pin == -1)
 		return ENOENT;
 
Index: uspace/drv/intctl/apic/main.c
===================================================================
--- uspace/drv/intctl/apic/main.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/intctl/apic/main.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -96,5 +96,5 @@
 	errno_t rc;
 
-        ddf_msg(LVL_DEBUG, "apic_dev_add(%p)", dev);
+	ddf_msg(LVL_DEBUG, "apic_dev_add(%p)", dev);
 	apic = ddf_dev_data_alloc(dev, sizeof(apic_t));
 	if (apic == NULL) {
@@ -116,30 +116,30 @@
 static errno_t apic_dev_remove(ddf_dev_t *dev)
 {
-        apic_t *apic = (apic_t *)ddf_dev_data_get(dev);
+	apic_t *apic = (apic_t *)ddf_dev_data_get(dev);
 
-        ddf_msg(LVL_DEBUG, "apic_dev_remove(%p)", dev);
+	ddf_msg(LVL_DEBUG, "apic_dev_remove(%p)", dev);
 
-        return apic_remove(apic);
+	return apic_remove(apic);
 }
 
 static errno_t apic_dev_gone(ddf_dev_t *dev)
 {
-        apic_t *apic = (apic_t *)ddf_dev_data_get(dev);
+	apic_t *apic = (apic_t *)ddf_dev_data_get(dev);
 
-        ddf_msg(LVL_DEBUG, "apic_dev_gone(%p)", dev);
+	ddf_msg(LVL_DEBUG, "apic_dev_gone(%p)", dev);
 
-        return apic_gone(apic);
+	return apic_gone(apic);
 }
 
 static errno_t apic_fun_online(ddf_fun_t *fun)
 {
-        ddf_msg(LVL_DEBUG, "apic_fun_online()");
-        return ddf_fun_online(fun);
+	ddf_msg(LVL_DEBUG, "apic_fun_online()");
+	return ddf_fun_online(fun);
 }
 
 static errno_t apic_fun_offline(ddf_fun_t *fun)
 {
-        ddf_msg(LVL_DEBUG, "apic_fun_offline()");
-        return ddf_fun_offline(fun);
+	ddf_msg(LVL_DEBUG, "apic_fun_offline()");
+	return ddf_fun_offline(fun);
 }
 
Index: uspace/drv/intctl/i8259/main.c
===================================================================
--- uspace/drv/intctl/i8259/main.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/intctl/i8259/main.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -97,5 +97,5 @@
 	errno_t rc;
 
-        ddf_msg(LVL_DEBUG, "i8259_dev_add(%p)", dev);
+	ddf_msg(LVL_DEBUG, "i8259_dev_add(%p)", dev);
 	i8259 = ddf_dev_data_alloc(dev, sizeof(i8259_t));
 	if (i8259 == NULL) {
@@ -117,30 +117,30 @@
 static errno_t i8259_dev_remove(ddf_dev_t *dev)
 {
-        i8259_t *i8259 = (i8259_t *)ddf_dev_data_get(dev);
+	i8259_t *i8259 = (i8259_t *)ddf_dev_data_get(dev);
 
-        ddf_msg(LVL_DEBUG, "i8259_dev_remove(%p)", dev);
+	ddf_msg(LVL_DEBUG, "i8259_dev_remove(%p)", dev);
 
-        return i8259_remove(i8259);
+	return i8259_remove(i8259);
 }
 
 static errno_t i8259_dev_gone(ddf_dev_t *dev)
 {
-        i8259_t *i8259 = (i8259_t *)ddf_dev_data_get(dev);
+	i8259_t *i8259 = (i8259_t *)ddf_dev_data_get(dev);
 
-        ddf_msg(LVL_DEBUG, "i8259_dev_gone(%p)", dev);
+	ddf_msg(LVL_DEBUG, "i8259_dev_gone(%p)", dev);
 
-        return i8259_gone(i8259);
+	return i8259_gone(i8259);
 }
 
 static errno_t i8259_fun_online(ddf_fun_t *fun)
 {
-        ddf_msg(LVL_DEBUG, "i8259_fun_online()");
-        return ddf_fun_online(fun);
+	ddf_msg(LVL_DEBUG, "i8259_fun_online()");
+	return ddf_fun_online(fun);
 }
 
 static errno_t i8259_fun_offline(ddf_fun_t *fun)
 {
-        ddf_msg(LVL_DEBUG, "i8259_fun_offline()");
-        return ddf_fun_offline(fun);
+	ddf_msg(LVL_DEBUG, "i8259_fun_offline()");
+	return ddf_fun_offline(fun);
 }
 
Index: uspace/drv/intctl/icp-ic/main.c
===================================================================
--- uspace/drv/intctl/icp-ic/main.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/intctl/icp-ic/main.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -96,5 +96,5 @@
 	errno_t rc;
 
-        ddf_msg(LVL_DEBUG, "icpic_dev_add(%p)", dev);
+	ddf_msg(LVL_DEBUG, "icpic_dev_add(%p)", dev);
 	icpic = ddf_dev_data_alloc(dev, sizeof(icpic_t));
 	if (icpic == NULL) {
@@ -116,30 +116,30 @@
 static errno_t icpic_dev_remove(ddf_dev_t *dev)
 {
-        icpic_t *icpic = (icpic_t *)ddf_dev_data_get(dev);
+	icpic_t *icpic = (icpic_t *)ddf_dev_data_get(dev);
 
-        ddf_msg(LVL_DEBUG, "icpic_dev_remove(%p)", dev);
+	ddf_msg(LVL_DEBUG, "icpic_dev_remove(%p)", dev);
 
-        return icpic_remove(icpic);
+	return icpic_remove(icpic);
 }
 
 static errno_t icpic_dev_gone(ddf_dev_t *dev)
 {
-        icpic_t *icpic = (icpic_t *)ddf_dev_data_get(dev);
+	icpic_t *icpic = (icpic_t *)ddf_dev_data_get(dev);
 
-        ddf_msg(LVL_DEBUG, "icpic_dev_gone(%p)", dev);
+	ddf_msg(LVL_DEBUG, "icpic_dev_gone(%p)", dev);
 
-        return icpic_gone(icpic);
+	return icpic_gone(icpic);
 }
 
 static errno_t icpic_fun_online(ddf_fun_t *fun)
 {
-        ddf_msg(LVL_DEBUG, "icpic_fun_online()");
-        return ddf_fun_online(fun);
+	ddf_msg(LVL_DEBUG, "icpic_fun_online()");
+	return ddf_fun_online(fun);
 }
 
 static errno_t icpic_fun_offline(ddf_fun_t *fun)
 {
-        ddf_msg(LVL_DEBUG, "icpic_fun_offline()");
-        return ddf_fun_offline(fun);
+	ddf_msg(LVL_DEBUG, "icpic_fun_offline()");
+	return ddf_fun_offline(fun);
 }
 
Index: uspace/drv/intctl/obio/main.c
===================================================================
--- uspace/drv/intctl/obio/main.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/intctl/obio/main.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -116,30 +116,30 @@
 static errno_t obio_dev_remove(ddf_dev_t *dev)
 {
-        obio_t *obio = (obio_t *)ddf_dev_data_get(dev);
+	obio_t *obio = (obio_t *)ddf_dev_data_get(dev);
 
-        ddf_msg(LVL_DEBUG, "obio_dev_remove(%p)", dev);
+	ddf_msg(LVL_DEBUG, "obio_dev_remove(%p)", dev);
 
-        return obio_remove(obio);
+	return obio_remove(obio);
 }
 
 static errno_t obio_dev_gone(ddf_dev_t *dev)
 {
-        obio_t *obio = (obio_t *)ddf_dev_data_get(dev);
+	obio_t *obio = (obio_t *)ddf_dev_data_get(dev);
 
-        ddf_msg(LVL_DEBUG, "obio_dev_gone(%p)", dev);
+	ddf_msg(LVL_DEBUG, "obio_dev_gone(%p)", dev);
 
-        return obio_gone(obio);
+	return obio_gone(obio);
 }
 
 static errno_t obio_fun_online(ddf_fun_t *fun)
 {
-        ddf_msg(LVL_DEBUG, "obio_fun_online()");
-        return ddf_fun_online(fun);
+	ddf_msg(LVL_DEBUG, "obio_fun_online()");
+	return ddf_fun_online(fun);
 }
 
 static errno_t obio_fun_offline(ddf_fun_t *fun)
 {
-        ddf_msg(LVL_DEBUG, "obio_fun_offline()");
-        return ddf_fun_offline(fun);
+	ddf_msg(LVL_DEBUG, "obio_fun_offline()");
+	return ddf_fun_offline(fun);
 }
 
Index: uspace/drv/nic/ar9271/ar9271.h
===================================================================
--- uspace/drv/nic/ar9271/ar9271.h	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/nic/ar9271/ar9271.h	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -227,307 +227,307 @@
  */
 static const uint32_t ar9271_2g_mode_array[][2] = {
-	{0x00001030, 0x00000160},
-	{0x00001070, 0x0000018c},
-	{0x000010b0, 0x00003e38},
-	{0x000010f0, 0x00000000},
-	{0x00008014, 0x08400b00},
-	{0x0000801c, 0x12e0002b},
-	{0x00008318, 0x00003440},
-	{0x00009804, 0x000003c0},  /*< Note: overridden */
-	{0x00009820, 0x02020200},
-	{0x00009824, 0x01000e0e},
-	{0x00009828, 0x0a020001},  /*< Note: overridden */
-	{0x00009834, 0x00000e0e},
-	{0x00009838, 0x00000007},
-	{0x00009840, 0x206a012e},
-	{0x00009844, 0x03721620},
-	{0x00009848, 0x00001053},
-	{0x0000a848, 0x00001053},
-	{0x00009850, 0x6d4000e2},
-	{0x00009858, 0x7ec84d2e},
-	{0x0000985c, 0x3137605e},
-	{0x00009860, 0x00058d18},
-	{0x00009864, 0x0001ce00},
-	{0x00009868, 0x5ac640d0},
-	{0x0000986c, 0x06903881},
-	{0x00009910, 0x30002310},
-	{0x00009914, 0x00000898},
-	{0x00009918, 0x0000000b},
-	{0x00009924, 0xd00a800d},
-	{0x00009944, 0xffbc1020},
-	{0x00009960, 0x00000000},
-	{0x00009964, 0x00000000},
-	{0x000099b8, 0x0000421c},
-	{0x000099bc, 0x00000c00},
-	{0x000099c0, 0x05eea6d4},
-	{0x000099c4, 0x06336f77},
-	{0x000099c8, 0x6af6532f},
-	{0x000099cc, 0x08f186c8},
-	{0x000099d0, 0x00046384},
-	{0x000099d4, 0x00000000},
-	{0x000099d8, 0x00000000},
-	{0x00009a00, 0x00058084},
-	{0x00009a04, 0x00058088},
-	{0x00009a08, 0x0005808c},
-	{0x00009a0c, 0x00058100},
-	{0x00009a10, 0x00058104},
-	{0x00009a14, 0x00058108},
-	{0x00009a18, 0x0005810c},
-	{0x00009a1c, 0x00058110},
-	{0x00009a20, 0x00058114},
-	{0x00009a24, 0x00058180},
-	{0x00009a28, 0x00058184},
-	{0x00009a2c, 0x00058188},
-	{0x00009a30, 0x0005818c},
-	{0x00009a34, 0x00058190},
-	{0x00009a38, 0x00058194},
-	{0x00009a3c, 0x000581a0},
-	{0x00009a40, 0x0005820c},
-	{0x00009a44, 0x000581a8},
-	{0x00009a48, 0x00058284},
-	{0x00009a4c, 0x00058288},
-	{0x00009a50, 0x00058224},
-	{0x00009a54, 0x00058290},
-	{0x00009a58, 0x00058300},
-	{0x00009a5c, 0x00058304},
-	{0x00009a60, 0x00058308},
-	{0x00009a64, 0x0005830c},
-	{0x00009a68, 0x00058380},
-	{0x00009a6c, 0x00058384},
-	{0x00009a70, 0x00068700},
-	{0x00009a74, 0x00068704},
-	{0x00009a78, 0x00068708},
-	{0x00009a7c, 0x0006870c},
-	{0x00009a80, 0x00068780},
-	{0x00009a84, 0x00068784},
-	{0x00009a88, 0x00078b00},
-	{0x00009a8c, 0x00078b04},
-	{0x00009a90, 0x00078b08},
-	{0x00009a94, 0x00078b0c},
-	{0x00009a98, 0x00078b80},
-	{0x00009a9c, 0x00078b84},
-	{0x00009aa0, 0x00078b88},
-	{0x00009aa4, 0x00078b8c},
-	{0x00009aa8, 0x00078b90},
-	{0x00009aac, 0x000caf80},
-	{0x00009ab0, 0x000caf84},
-	{0x00009ab4, 0x000caf88},
-	{0x00009ab8, 0x000caf8c},
-	{0x00009abc, 0x000caf90},
-	{0x00009ac0, 0x000db30c},
-	{0x00009ac4, 0x000db310},
-	{0x00009ac8, 0x000db384},
-	{0x00009acc, 0x000db388},
-	{0x00009ad0, 0x000db324},
-	{0x00009ad4, 0x000eb704},
-	{0x00009ad8, 0x000eb6a4},
-	{0x00009adc, 0x000eb6a8},
-	{0x00009ae0, 0x000eb710},
-	{0x00009ae4, 0x000eb714},
-	{0x00009ae8, 0x000eb720},
-	{0x00009aec, 0x000eb724},
-	{0x00009af0, 0x000eb728},
-	{0x00009af4, 0x000eb72c},
-	{0x00009af8, 0x000eb7a0},
-	{0x00009afc, 0x000eb7a4},
-	{0x00009b00, 0x000eb7a8},
-	{0x00009b04, 0x000eb7b0},
-	{0x00009b08, 0x000eb7b4},
-	{0x00009b0c, 0x000eb7b8},
-	{0x00009b10, 0x000eb7a5},
-	{0x00009b14, 0x000eb7a9},
-	{0x00009b18, 0x000eb7ad},
-	{0x00009b1c, 0x000eb7b1},
-	{0x00009b20, 0x000eb7b5},
-	{0x00009b24, 0x000eb7b9},
-	{0x00009b28, 0x000eb7c5},
-	{0x00009b2c, 0x000eb7c9},
-	{0x00009b30, 0x000eb7d1},
-	{0x00009b34, 0x000eb7d5},
-	{0x00009b38, 0x000eb7d9},
-	{0x00009b3c, 0x000eb7c6},
-	{0x00009b40, 0x000eb7ca},
-	{0x00009b44, 0x000eb7ce},
-	{0x00009b48, 0x000eb7d2},
-	{0x00009b4c, 0x000eb7d6},
-	{0x00009b50, 0x000eb7c3},
-	{0x00009b54, 0x000eb7c7},
-	{0x00009b58, 0x000eb7cb},
-	{0x00009b5c, 0x000eb7cf},
-	{0x00009b60, 0x000eb7d7},
-	{0x00009b64, 0x000eb7db},
-	{0x00009b68, 0x000eb7db},
-	{0x00009b6c, 0x000eb7db},
-	{0x00009b70, 0x000eb7db},
-	{0x00009b74, 0x000eb7db},
-	{0x00009b78, 0x000eb7db},
-	{0x00009b7c, 0x000eb7db},
-	{0x00009b80, 0x000eb7db},
-	{0x00009b84, 0x000eb7db},
-	{0x00009b88, 0x000eb7db},
-	{0x00009b8c, 0x000eb7db},
-	{0x00009b90, 0x000eb7db},
-	{0x00009b94, 0x000eb7db},
-	{0x00009b98, 0x000eb7db},
-	{0x00009b9c, 0x000eb7db},
-	{0x00009ba0, 0x000eb7db},
-	{0x00009ba4, 0x000eb7db},
-	{0x00009ba8, 0x000eb7db},
-	{0x00009bac, 0x000eb7db},
-	{0x00009bb0, 0x000eb7db},
-	{0x00009bb4, 0x000eb7db},
-	{0x00009bb8, 0x000eb7db},
-	{0x00009bbc, 0x000eb7db},
-	{0x00009bc0, 0x000eb7db},
-	{0x00009bc4, 0x000eb7db},
-	{0x00009bc8, 0x000eb7db},
-	{0x00009bcc, 0x000eb7db},
-	{0x00009bd0, 0x000eb7db},
-	{0x00009bd4, 0x000eb7db},
-	{0x00009bd8, 0x000eb7db},
-	{0x00009bdc, 0x000eb7db},
-	{0x00009be0, 0x000eb7db},
-	{0x00009be4, 0x000eb7db},
-	{0x00009be8, 0x000eb7db},
-	{0x00009bec, 0x000eb7db},
-	{0x00009bf0, 0x000eb7db},
-	{0x00009bf4, 0x000eb7db},
-	{0x00009bf8, 0x000eb7db},
-	{0x00009bfc, 0x000eb7db},
-	{0x0000aa00, 0x00058084},
-	{0x0000aa04, 0x00058088},
-	{0x0000aa08, 0x0005808c},
-	{0x0000aa0c, 0x00058100},
-	{0x0000aa10, 0x00058104},
-	{0x0000aa14, 0x00058108},
-	{0x0000aa18, 0x0005810c},
-	{0x0000aa1c, 0x00058110},
-	{0x0000aa20, 0x00058114},
-	{0x0000aa24, 0x00058180},
-	{0x0000aa28, 0x00058184},
-	{0x0000aa2c, 0x00058188},
-	{0x0000aa30, 0x0005818c},
-	{0x0000aa34, 0x00058190},
-	{0x0000aa38, 0x00058194},
-	{0x0000aa3c, 0x000581a0},
-	{0x0000aa40, 0x0005820c},
-	{0x0000aa44, 0x000581a8},
-	{0x0000aa48, 0x00058284},
-	{0x0000aa4c, 0x00058288},
-	{0x0000aa50, 0x00058224},
-	{0x0000aa54, 0x00058290},
-	{0x0000aa58, 0x00058300},
-	{0x0000aa5c, 0x00058304},
-	{0x0000aa60, 0x00058308},
-	{0x0000aa64, 0x0005830c},
-	{0x0000aa68, 0x00058380},
-	{0x0000aa6c, 0x00058384},
-	{0x0000aa70, 0x00068700},
-	{0x0000aa74, 0x00068704},
-	{0x0000aa78, 0x00068708},
-	{0x0000aa7c, 0x0006870c},
-	{0x0000aa80, 0x00068780},
-	{0x0000aa84, 0x00068784},
-	{0x0000aa88, 0x00078b00},
-	{0x0000aa8c, 0x00078b04},
-	{0x0000aa90, 0x00078b08},
-	{0x0000aa94, 0x00078b0c},
-	{0x0000aa98, 0x00078b80},
-	{0x0000aa9c, 0x00078b84},
-	{0x0000aaa0, 0x00078b88},
-	{0x0000aaa4, 0x00078b8c},
-	{0x0000aaa8, 0x00078b90},
-	{0x0000aaac, 0x000caf80},
-	{0x0000aab0, 0x000caf84},
-	{0x0000aab4, 0x000caf88},
-	{0x0000aab8, 0x000caf8c},
-	{0x0000aabc, 0x000caf90},
-	{0x0000aac0, 0x000db30c},
-	{0x0000aac4, 0x000db310},
-	{0x0000aac8, 0x000db384},
-	{0x0000aacc, 0x000db388},
-	{0x0000aad0, 0x000db324},
-	{0x0000aad4, 0x000eb704},
-	{0x0000aad8, 0x000eb6a4},
-	{0x0000aadc, 0x000eb6a8},
-	{0x0000aae0, 0x000eb710},
-	{0x0000aae4, 0x000eb714},
-	{0x0000aae8, 0x000eb720},
-	{0x0000aaec, 0x000eb724},
-	{0x0000aaf0, 0x000eb728},
-	{0x0000aaf4, 0x000eb72c},
-	{0x0000aaf8, 0x000eb7a0},
-	{0x0000aafc, 0x000eb7a4},
-	{0x0000ab00, 0x000eb7a8},
-	{0x0000ab04, 0x000eb7b0},
-	{0x0000ab08, 0x000eb7b4},
-	{0x0000ab0c, 0x000eb7b8},
-	{0x0000ab10, 0x000eb7a5},
-	{0x0000ab14, 0x000eb7a9},
-	{0x0000ab18, 0x000eb7ad},
-	{0x0000ab1c, 0x000eb7b1},
-	{0x0000ab20, 0x000eb7b5},
-	{0x0000ab24, 0x000eb7b9},
-	{0x0000ab28, 0x000eb7c5},
-	{0x0000ab2c, 0x000eb7c9},
-	{0x0000ab30, 0x000eb7d1},
-	{0x0000ab34, 0x000eb7d5},
-	{0x0000ab38, 0x000eb7d9},
-	{0x0000ab3c, 0x000eb7c6},
-	{0x0000ab40, 0x000eb7ca},
-	{0x0000ab44, 0x000eb7ce},
-	{0x0000ab48, 0x000eb7d2},
-	{0x0000ab4c, 0x000eb7d6},
-	{0x0000ab50, 0x000eb7c3},
-	{0x0000ab54, 0x000eb7c7},
-	{0x0000ab58, 0x000eb7cb},
-	{0x0000ab5c, 0x000eb7cf},
-	{0x0000ab60, 0x000eb7d7},
-	{0x0000ab64, 0x000eb7db},
-	{0x0000ab68, 0x000eb7db},
-	{0x0000ab6c, 0x000eb7db},
-	{0x0000ab70, 0x000eb7db},
-	{0x0000ab74, 0x000eb7db},
-	{0x0000ab78, 0x000eb7db},
-	{0x0000ab7c, 0x000eb7db},
-	{0x0000ab80, 0x000eb7db},
-	{0x0000ab84, 0x000eb7db},
-	{0x0000ab88, 0x000eb7db},
-	{0x0000ab8c, 0x000eb7db},
-	{0x0000ab90, 0x000eb7db},
-	{0x0000ab94, 0x000eb7db},
-	{0x0000ab98, 0x000eb7db},
-	{0x0000ab9c, 0x000eb7db},
-	{0x0000aba0, 0x000eb7db},
-	{0x0000aba4, 0x000eb7db},
-	{0x0000aba8, 0x000eb7db},
-	{0x0000abac, 0x000eb7db},
-	{0x0000abb0, 0x000eb7db},
-	{0x0000abb4, 0x000eb7db},
-	{0x0000abb8, 0x000eb7db},
-	{0x0000abbc, 0x000eb7db},
-	{0x0000abc0, 0x000eb7db},
-	{0x0000abc4, 0x000eb7db},
-	{0x0000abc8, 0x000eb7db},
-	{0x0000abcc, 0x000eb7db},
-	{0x0000abd0, 0x000eb7db},
-	{0x0000abd4, 0x000eb7db},
-	{0x0000abd8, 0x000eb7db},
-	{0x0000abdc, 0x000eb7db},
-	{0x0000abe0, 0x000eb7db},
-	{0x0000abe4, 0x000eb7db},
-	{0x0000abe8, 0x000eb7db},
-	{0x0000abec, 0x000eb7db},
-	{0x0000abf0, 0x000eb7db},
-	{0x0000abf4, 0x000eb7db},
-	{0x0000abf8, 0x000eb7db},
-	{0x0000abfc, 0x000eb7db},
-	{0x0000a204, 0x00000004},
-	{0x0000a20c, 0x0001f000},
-	{0x0000b20c, 0x0001f000},
-	{0x0000a21c, 0x1883800a},
-	{0x0000a230, 0x00000108},
-	{0x0000a250, 0x0004a000},
-	{0x0000a358, 0x7999aa0e}
+	{ 0x00001030, 0x00000160 },
+	{ 0x00001070, 0x0000018c },
+	{ 0x000010b0, 0x00003e38 },
+	{ 0x000010f0, 0x00000000 },
+	{ 0x00008014, 0x08400b00 },
+	{ 0x0000801c, 0x12e0002b },
+	{ 0x00008318, 0x00003440 },
+	{ 0x00009804, 0x000003c0 },  /*< Note: overridden */
+	{ 0x00009820, 0x02020200 },
+	{ 0x00009824, 0x01000e0e },
+	{ 0x00009828, 0x0a020001 },  /*< Note: overridden */
+	{ 0x00009834, 0x00000e0e },
+	{ 0x00009838, 0x00000007 },
+	{ 0x00009840, 0x206a012e },
+	{ 0x00009844, 0x03721620 },
+	{ 0x00009848, 0x00001053 },
+	{ 0x0000a848, 0x00001053 },
+	{ 0x00009850, 0x6d4000e2 },
+	{ 0x00009858, 0x7ec84d2e },
+	{ 0x0000985c, 0x3137605e },
+	{ 0x00009860, 0x00058d18 },
+	{ 0x00009864, 0x0001ce00 },
+	{ 0x00009868, 0x5ac640d0 },
+	{ 0x0000986c, 0x06903881 },
+	{ 0x00009910, 0x30002310 },
+	{ 0x00009914, 0x00000898 },
+	{ 0x00009918, 0x0000000b },
+	{ 0x00009924, 0xd00a800d },
+	{ 0x00009944, 0xffbc1020 },
+	{ 0x00009960, 0x00000000 },
+	{ 0x00009964, 0x00000000 },
+	{ 0x000099b8, 0x0000421c },
+	{ 0x000099bc, 0x00000c00 },
+	{ 0x000099c0, 0x05eea6d4 },
+	{ 0x000099c4, 0x06336f77 },
+	{ 0x000099c8, 0x6af6532f },
+	{ 0x000099cc, 0x08f186c8 },
+	{ 0x000099d0, 0x00046384 },
+	{ 0x000099d4, 0x00000000 },
+	{ 0x000099d8, 0x00000000 },
+	{ 0x00009a00, 0x00058084 },
+	{ 0x00009a04, 0x00058088 },
+	{ 0x00009a08, 0x0005808c },
+	{ 0x00009a0c, 0x00058100 },
+	{ 0x00009a10, 0x00058104 },
+	{ 0x00009a14, 0x00058108 },
+	{ 0x00009a18, 0x0005810c },
+	{ 0x00009a1c, 0x00058110 },
+	{ 0x00009a20, 0x00058114 },
+	{ 0x00009a24, 0x00058180 },
+	{ 0x00009a28, 0x00058184 },
+	{ 0x00009a2c, 0x00058188 },
+	{ 0x00009a30, 0x0005818c },
+	{ 0x00009a34, 0x00058190 },
+	{ 0x00009a38, 0x00058194 },
+	{ 0x00009a3c, 0x000581a0 },
+	{ 0x00009a40, 0x0005820c },
+	{ 0x00009a44, 0x000581a8 },
+	{ 0x00009a48, 0x00058284 },
+	{ 0x00009a4c, 0x00058288 },
+	{ 0x00009a50, 0x00058224 },
+	{ 0x00009a54, 0x00058290 },
+	{ 0x00009a58, 0x00058300 },
+	{ 0x00009a5c, 0x00058304 },
+	{ 0x00009a60, 0x00058308 },
+	{ 0x00009a64, 0x0005830c },
+	{ 0x00009a68, 0x00058380 },
+	{ 0x00009a6c, 0x00058384 },
+	{ 0x00009a70, 0x00068700 },
+	{ 0x00009a74, 0x00068704 },
+	{ 0x00009a78, 0x00068708 },
+	{ 0x00009a7c, 0x0006870c },
+	{ 0x00009a80, 0x00068780 },
+	{ 0x00009a84, 0x00068784 },
+	{ 0x00009a88, 0x00078b00 },
+	{ 0x00009a8c, 0x00078b04 },
+	{ 0x00009a90, 0x00078b08 },
+	{ 0x00009a94, 0x00078b0c },
+	{ 0x00009a98, 0x00078b80 },
+	{ 0x00009a9c, 0x00078b84 },
+	{ 0x00009aa0, 0x00078b88 },
+	{ 0x00009aa4, 0x00078b8c },
+	{ 0x00009aa8, 0x00078b90 },
+	{ 0x00009aac, 0x000caf80 },
+	{ 0x00009ab0, 0x000caf84 },
+	{ 0x00009ab4, 0x000caf88 },
+	{ 0x00009ab8, 0x000caf8c },
+	{ 0x00009abc, 0x000caf90 },
+	{ 0x00009ac0, 0x000db30c },
+	{ 0x00009ac4, 0x000db310 },
+	{ 0x00009ac8, 0x000db384 },
+	{ 0x00009acc, 0x000db388 },
+	{ 0x00009ad0, 0x000db324 },
+	{ 0x00009ad4, 0x000eb704 },
+	{ 0x00009ad8, 0x000eb6a4 },
+	{ 0x00009adc, 0x000eb6a8 },
+	{ 0x00009ae0, 0x000eb710 },
+	{ 0x00009ae4, 0x000eb714 },
+	{ 0x00009ae8, 0x000eb720 },
+	{ 0x00009aec, 0x000eb724 },
+	{ 0x00009af0, 0x000eb728 },
+	{ 0x00009af4, 0x000eb72c },
+	{ 0x00009af8, 0x000eb7a0 },
+	{ 0x00009afc, 0x000eb7a4 },
+	{ 0x00009b00, 0x000eb7a8 },
+	{ 0x00009b04, 0x000eb7b0 },
+	{ 0x00009b08, 0x000eb7b4 },
+	{ 0x00009b0c, 0x000eb7b8 },
+	{ 0x00009b10, 0x000eb7a5 },
+	{ 0x00009b14, 0x000eb7a9 },
+	{ 0x00009b18, 0x000eb7ad },
+	{ 0x00009b1c, 0x000eb7b1 },
+	{ 0x00009b20, 0x000eb7b5 },
+	{ 0x00009b24, 0x000eb7b9 },
+	{ 0x00009b28, 0x000eb7c5 },
+	{ 0x00009b2c, 0x000eb7c9 },
+	{ 0x00009b30, 0x000eb7d1 },
+	{ 0x00009b34, 0x000eb7d5 },
+	{ 0x00009b38, 0x000eb7d9 },
+	{ 0x00009b3c, 0x000eb7c6 },
+	{ 0x00009b40, 0x000eb7ca },
+	{ 0x00009b44, 0x000eb7ce },
+	{ 0x00009b48, 0x000eb7d2 },
+	{ 0x00009b4c, 0x000eb7d6 },
+	{ 0x00009b50, 0x000eb7c3 },
+	{ 0x00009b54, 0x000eb7c7 },
+	{ 0x00009b58, 0x000eb7cb },
+	{ 0x00009b5c, 0x000eb7cf },
+	{ 0x00009b60, 0x000eb7d7 },
+	{ 0x00009b64, 0x000eb7db },
+	{ 0x00009b68, 0x000eb7db },
+	{ 0x00009b6c, 0x000eb7db },
+	{ 0x00009b70, 0x000eb7db },
+	{ 0x00009b74, 0x000eb7db },
+	{ 0x00009b78, 0x000eb7db },
+	{ 0x00009b7c, 0x000eb7db },
+	{ 0x00009b80, 0x000eb7db },
+	{ 0x00009b84, 0x000eb7db },
+	{ 0x00009b88, 0x000eb7db },
+	{ 0x00009b8c, 0x000eb7db },
+	{ 0x00009b90, 0x000eb7db },
+	{ 0x00009b94, 0x000eb7db },
+	{ 0x00009b98, 0x000eb7db },
+	{ 0x00009b9c, 0x000eb7db },
+	{ 0x00009ba0, 0x000eb7db },
+	{ 0x00009ba4, 0x000eb7db },
+	{ 0x00009ba8, 0x000eb7db },
+	{ 0x00009bac, 0x000eb7db },
+	{ 0x00009bb0, 0x000eb7db },
+	{ 0x00009bb4, 0x000eb7db },
+	{ 0x00009bb8, 0x000eb7db },
+	{ 0x00009bbc, 0x000eb7db },
+	{ 0x00009bc0, 0x000eb7db },
+	{ 0x00009bc4, 0x000eb7db },
+	{ 0x00009bc8, 0x000eb7db },
+	{ 0x00009bcc, 0x000eb7db },
+	{ 0x00009bd0, 0x000eb7db },
+	{ 0x00009bd4, 0x000eb7db },
+	{ 0x00009bd8, 0x000eb7db },
+	{ 0x00009bdc, 0x000eb7db },
+	{ 0x00009be0, 0x000eb7db },
+	{ 0x00009be4, 0x000eb7db },
+	{ 0x00009be8, 0x000eb7db },
+	{ 0x00009bec, 0x000eb7db },
+	{ 0x00009bf0, 0x000eb7db },
+	{ 0x00009bf4, 0x000eb7db },
+	{ 0x00009bf8, 0x000eb7db },
+	{ 0x00009bfc, 0x000eb7db },
+	{ 0x0000aa00, 0x00058084 },
+	{ 0x0000aa04, 0x00058088 },
+	{ 0x0000aa08, 0x0005808c },
+	{ 0x0000aa0c, 0x00058100 },
+	{ 0x0000aa10, 0x00058104 },
+	{ 0x0000aa14, 0x00058108 },
+	{ 0x0000aa18, 0x0005810c },
+	{ 0x0000aa1c, 0x00058110 },
+	{ 0x0000aa20, 0x00058114 },
+	{ 0x0000aa24, 0x00058180 },
+	{ 0x0000aa28, 0x00058184 },
+	{ 0x0000aa2c, 0x00058188 },
+	{ 0x0000aa30, 0x0005818c },
+	{ 0x0000aa34, 0x00058190 },
+	{ 0x0000aa38, 0x00058194 },
+	{ 0x0000aa3c, 0x000581a0 },
+	{ 0x0000aa40, 0x0005820c },
+	{ 0x0000aa44, 0x000581a8 },
+	{ 0x0000aa48, 0x00058284 },
+	{ 0x0000aa4c, 0x00058288 },
+	{ 0x0000aa50, 0x00058224 },
+	{ 0x0000aa54, 0x00058290 },
+	{ 0x0000aa58, 0x00058300 },
+	{ 0x0000aa5c, 0x00058304 },
+	{ 0x0000aa60, 0x00058308 },
+	{ 0x0000aa64, 0x0005830c },
+	{ 0x0000aa68, 0x00058380 },
+	{ 0x0000aa6c, 0x00058384 },
+	{ 0x0000aa70, 0x00068700 },
+	{ 0x0000aa74, 0x00068704 },
+	{ 0x0000aa78, 0x00068708 },
+	{ 0x0000aa7c, 0x0006870c },
+	{ 0x0000aa80, 0x00068780 },
+	{ 0x0000aa84, 0x00068784 },
+	{ 0x0000aa88, 0x00078b00 },
+	{ 0x0000aa8c, 0x00078b04 },
+	{ 0x0000aa90, 0x00078b08 },
+	{ 0x0000aa94, 0x00078b0c },
+	{ 0x0000aa98, 0x00078b80 },
+	{ 0x0000aa9c, 0x00078b84 },
+	{ 0x0000aaa0, 0x00078b88 },
+	{ 0x0000aaa4, 0x00078b8c },
+	{ 0x0000aaa8, 0x00078b90 },
+	{ 0x0000aaac, 0x000caf80 },
+	{ 0x0000aab0, 0x000caf84 },
+	{ 0x0000aab4, 0x000caf88 },
+	{ 0x0000aab8, 0x000caf8c },
+	{ 0x0000aabc, 0x000caf90 },
+	{ 0x0000aac0, 0x000db30c },
+	{ 0x0000aac4, 0x000db310 },
+	{ 0x0000aac8, 0x000db384 },
+	{ 0x0000aacc, 0x000db388 },
+	{ 0x0000aad0, 0x000db324 },
+	{ 0x0000aad4, 0x000eb704 },
+	{ 0x0000aad8, 0x000eb6a4 },
+	{ 0x0000aadc, 0x000eb6a8 },
+	{ 0x0000aae0, 0x000eb710 },
+	{ 0x0000aae4, 0x000eb714 },
+	{ 0x0000aae8, 0x000eb720 },
+	{ 0x0000aaec, 0x000eb724 },
+	{ 0x0000aaf0, 0x000eb728 },
+	{ 0x0000aaf4, 0x000eb72c },
+	{ 0x0000aaf8, 0x000eb7a0 },
+	{ 0x0000aafc, 0x000eb7a4 },
+	{ 0x0000ab00, 0x000eb7a8 },
+	{ 0x0000ab04, 0x000eb7b0 },
+	{ 0x0000ab08, 0x000eb7b4 },
+	{ 0x0000ab0c, 0x000eb7b8 },
+	{ 0x0000ab10, 0x000eb7a5 },
+	{ 0x0000ab14, 0x000eb7a9 },
+	{ 0x0000ab18, 0x000eb7ad },
+	{ 0x0000ab1c, 0x000eb7b1 },
+	{ 0x0000ab20, 0x000eb7b5 },
+	{ 0x0000ab24, 0x000eb7b9 },
+	{ 0x0000ab28, 0x000eb7c5 },
+	{ 0x0000ab2c, 0x000eb7c9 },
+	{ 0x0000ab30, 0x000eb7d1 },
+	{ 0x0000ab34, 0x000eb7d5 },
+	{ 0x0000ab38, 0x000eb7d9 },
+	{ 0x0000ab3c, 0x000eb7c6 },
+	{ 0x0000ab40, 0x000eb7ca },
+	{ 0x0000ab44, 0x000eb7ce },
+	{ 0x0000ab48, 0x000eb7d2 },
+	{ 0x0000ab4c, 0x000eb7d6 },
+	{ 0x0000ab50, 0x000eb7c3 },
+	{ 0x0000ab54, 0x000eb7c7 },
+	{ 0x0000ab58, 0x000eb7cb },
+	{ 0x0000ab5c, 0x000eb7cf },
+	{ 0x0000ab60, 0x000eb7d7 },
+	{ 0x0000ab64, 0x000eb7db },
+	{ 0x0000ab68, 0x000eb7db },
+	{ 0x0000ab6c, 0x000eb7db },
+	{ 0x0000ab70, 0x000eb7db },
+	{ 0x0000ab74, 0x000eb7db },
+	{ 0x0000ab78, 0x000eb7db },
+	{ 0x0000ab7c, 0x000eb7db },
+	{ 0x0000ab80, 0x000eb7db },
+	{ 0x0000ab84, 0x000eb7db },
+	{ 0x0000ab88, 0x000eb7db },
+	{ 0x0000ab8c, 0x000eb7db },
+	{ 0x0000ab90, 0x000eb7db },
+	{ 0x0000ab94, 0x000eb7db },
+	{ 0x0000ab98, 0x000eb7db },
+	{ 0x0000ab9c, 0x000eb7db },
+	{ 0x0000aba0, 0x000eb7db },
+	{ 0x0000aba4, 0x000eb7db },
+	{ 0x0000aba8, 0x000eb7db },
+	{ 0x0000abac, 0x000eb7db },
+	{ 0x0000abb0, 0x000eb7db },
+	{ 0x0000abb4, 0x000eb7db },
+	{ 0x0000abb8, 0x000eb7db },
+	{ 0x0000abbc, 0x000eb7db },
+	{ 0x0000abc0, 0x000eb7db },
+	{ 0x0000abc4, 0x000eb7db },
+	{ 0x0000abc8, 0x000eb7db },
+	{ 0x0000abcc, 0x000eb7db },
+	{ 0x0000abd0, 0x000eb7db },
+	{ 0x0000abd4, 0x000eb7db },
+	{ 0x0000abd8, 0x000eb7db },
+	{ 0x0000abdc, 0x000eb7db },
+	{ 0x0000abe0, 0x000eb7db },
+	{ 0x0000abe4, 0x000eb7db },
+	{ 0x0000abe8, 0x000eb7db },
+	{ 0x0000abec, 0x000eb7db },
+	{ 0x0000abf0, 0x000eb7db },
+	{ 0x0000abf4, 0x000eb7db },
+	{ 0x0000abf8, 0x000eb7db },
+	{ 0x0000abfc, 0x000eb7db },
+	{ 0x0000a204, 0x00000004 },
+	{ 0x0000a20c, 0x0001f000 },
+	{ 0x0000b20c, 0x0001f000 },
+	{ 0x0000a21c, 0x1883800a },
+	{ 0x0000a230, 0x00000108 },
+	{ 0x0000a250, 0x0004a000 },
+	{ 0x0000a358, 0x7999aa0e }
 };
 
@@ -540,37 +540,37 @@
  */
 static const uint32_t ar9271_2g_tx_array[][2] = {
-	{0x0000a300, 0x00010000},
-	{0x0000a304, 0x00016200},
-	{0x0000a308, 0x00018201},
-	{0x0000a30c, 0x0001b240},
-	{0x0000a310, 0x0001d241},
-	{0x0000a314, 0x0001f600},
-	{0x0000a318, 0x00022800},
-	{0x0000a31c, 0x00026802},
-	{0x0000a320, 0x0002b805},
-	{0x0000a324, 0x0002ea41},
-	{0x0000a328, 0x00038b00},
-	{0x0000a32c, 0x0003ab40},
-	{0x0000a330, 0x0003cd80},
-	{0x0000a334, 0x000368de},
-	{0x0000a338, 0x0003891e},
-	{0x0000a33c, 0x0003a95e},
-	{0x0000a340, 0x0003e9df},
-	{0x0000a344, 0x0003e9df},
-	{0x0000a348, 0x0003e9df},
-	{0x0000a34c, 0x0003e9df},
-	{0x0000a350, 0x0003e9df},
-	{0x0000a354, 0x0003e9df},
-	{0x00007838, 0x0000002b},
-	{0x00007824, 0x00d8a7ff},
-	{0x0000786c, 0x08609eba},
-	{0x00007820, 0x00000c00},
-	{0x0000a274, 0x0a214652},
-	{0x0000a278, 0x0e739ce7},
-	{0x0000a27c, 0x05018063},
-	{0x0000a394, 0x06318c63},
-	{0x0000a398, 0x00000063},
-	{0x0000a3dc, 0x06318c63},
-	{0x0000a3e0, 0x00000063}
+	{ 0x0000a300, 0x00010000 },
+	{ 0x0000a304, 0x00016200 },
+	{ 0x0000a308, 0x00018201 },
+	{ 0x0000a30c, 0x0001b240 },
+	{ 0x0000a310, 0x0001d241 },
+	{ 0x0000a314, 0x0001f600 },
+	{ 0x0000a318, 0x00022800 },
+	{ 0x0000a31c, 0x00026802 },
+	{ 0x0000a320, 0x0002b805 },
+	{ 0x0000a324, 0x0002ea41 },
+	{ 0x0000a328, 0x00038b00 },
+	{ 0x0000a32c, 0x0003ab40 },
+	{ 0x0000a330, 0x0003cd80 },
+	{ 0x0000a334, 0x000368de },
+	{ 0x0000a338, 0x0003891e },
+	{ 0x0000a33c, 0x0003a95e },
+	{ 0x0000a340, 0x0003e9df },
+	{ 0x0000a344, 0x0003e9df },
+	{ 0x0000a348, 0x0003e9df },
+	{ 0x0000a34c, 0x0003e9df },
+	{ 0x0000a350, 0x0003e9df },
+	{ 0x0000a354, 0x0003e9df },
+	{ 0x00007838, 0x0000002b },
+	{ 0x00007824, 0x00d8a7ff },
+	{ 0x0000786c, 0x08609eba },
+	{ 0x00007820, 0x00000c00 },
+	{ 0x0000a274, 0x0a214652 },
+	{ 0x0000a278, 0x0e739ce7 },
+	{ 0x0000a27c, 0x05018063 },
+	{ 0x0000a394, 0x06318c63 },
+	{ 0x0000a398, 0x00000063 },
+	{ 0x0000a3dc, 0x06318c63 },
+	{ 0x0000a3e0, 0x00000063 }
 };
 
@@ -583,325 +583,325 @@
  */
 static const uint32_t ar9271_init_array[][2] = {
-	{0x0000000c, 0x00000000},
-	{0x00000030, 0x00020045},
-	{0x00000034, 0x00000005},
-	{0x00000040, 0x00000000},
-	{0x00000044, 0x00000008},
-	{0x00000048, 0x00000008},
-	{0x0000004c, 0x00000010},
-	{0x00000050, 0x00000000},
-	{0x00000054, 0x0000001f},
-	{0x00000800, 0x00000000},
-	{0x00000804, 0x00000000},
-	{0x00000808, 0x00000000},
-	{0x0000080c, 0x00000000},
-	{0x00000810, 0x00000000},
-	{0x00000814, 0x00000000},
-	{0x00000818, 0x00000000},
-	{0x0000081c, 0x00000000},
-	{0x00000820, 0x00000000},
-	{0x00000824, 0x00000000},
-	{0x00001040, 0x002ffc0f},
-	{0x00001044, 0x002ffc0f},
-	{0x00001048, 0x002ffc0f},
-	{0x0000104c, 0x002ffc0f},
-	{0x00001050, 0x002ffc0f},
-	{0x00001054, 0x002ffc0f},
-	{0x00001058, 0x002ffc0f},
-	{0x0000105c, 0x002ffc0f},
-	{0x00001060, 0x002ffc0f},
-	{0x00001064, 0x002ffc0f},
-	{0x00001230, 0x00000000},
-	{0x00001270, 0x00000000},
-	{0x00001038, 0x00000000},
-	{0x00001078, 0x00000000},
-	{0x000010b8, 0x00000000},
-	{0x000010f8, 0x00000000},
-	{0x00001138, 0x00000000},
-	{0x00001178, 0x00000000},
-	{0x000011b8, 0x00000000},
-	{0x000011f8, 0x00000000},
-	{0x00001238, 0x00000000},
-	{0x00001278, 0x00000000},
-	{0x000012b8, 0x00000000},
-	{0x000012f8, 0x00000000},
-	{0x00001338, 0x00000000},
-	{0x00001378, 0x00000000},
-	{0x000013b8, 0x00000000},
-	{0x000013f8, 0x00000000},
-	{0x00001438, 0x00000000},
-	{0x00001478, 0x00000000},
-	{0x000014b8, 0x00000000},
-	{0x000014f8, 0x00000000},
-	{0x00001538, 0x00000000},
-	{0x00001578, 0x00000000},
-	{0x000015b8, 0x00000000},
-	{0x000015f8, 0x00000000},
-	{0x00001638, 0x00000000},
-	{0x00001678, 0x00000000},
-	{0x000016b8, 0x00000000},
-	{0x000016f8, 0x00000000},
-	{0x00001738, 0x00000000},
-	{0x00001778, 0x00000000},
-	{0x000017b8, 0x00000000},
-	{0x000017f8, 0x00000000},
-	{0x0000103c, 0x00000000},
-	{0x0000107c, 0x00000000},
-	{0x000010bc, 0x00000000},
-	{0x000010fc, 0x00000000},
-	{0x0000113c, 0x00000000},
-	{0x0000117c, 0x00000000},
-	{0x000011bc, 0x00000000},
-	{0x000011fc, 0x00000000},
-	{0x0000123c, 0x00000000},
-	{0x0000127c, 0x00000000},
-	{0x000012bc, 0x00000000},
-	{0x000012fc, 0x00000000},
-	{0x0000133c, 0x00000000},
-	{0x0000137c, 0x00000000},
-	{0x000013bc, 0x00000000},
-	{0x000013fc, 0x00000000},
-	{0x0000143c, 0x00000000},
-	{0x0000147c, 0x00000000},
-	{0x00004030, 0x00000002},
-	{0x0000403c, 0x00000002},
-	{0x00004024, 0x0000001f},
-	{0x00004060, 0x00000000},
-	{0x00004064, 0x00000000},
-	{0x00008018, 0x00000700},
-	{0x00008020, 0x00000000},
-	{0x00008038, 0x00000000},
-	{0x00008048, 0x00000000},
-	{0x00008054, 0x00000000},
-	{0x00008058, 0x00000000},
-	{0x0000805c, 0x000fc78f},
-	{0x00008060, 0xc7ff000f},
-	{0x00008064, 0x00000000},
-	{0x00008070, 0x00000000},
-	{0x000080b0, 0x00000000},
-	{0x000080b4, 0x00000000},
-	{0x000080b8, 0x00000000},
-	{0x000080bc, 0x00000000},
-	{0x000080c0, 0x2a80001a},
-	{0x000080c4, 0x05dc01e0},
-	{0x000080c8, 0x1f402710},
-	{0x000080cc, 0x01f40000},
-	{0x000080d0, 0x00001e00},
-	{0x000080d4, 0x00000000},
-	{0x000080d8, 0x00400000},
-	{0x000080e0, 0xffffffff},
-	{0x000080e4, 0x0000ffff},
-	{0x000080e8, 0x003f3f3f},
-	{0x000080ec, 0x00000000},
-	{0x000080f0, 0x00000000},
-	{0x000080f4, 0x00000000},
-	{0x000080f8, 0x00000000},
-	{0x000080fc, 0x00020000},
-	{0x00008100, 0x00020000},
-	{0x00008104, 0x00000001},
-	{0x00008108, 0x00000052},
-	{0x0000810c, 0x00000000},
-	{0x00008110, 0x00000168},
-	{0x00008118, 0x000100aa},
-	{0x0000811c, 0x00003210},
-	{0x00008120, 0x08f04810},
-	{0x00008124, 0x00000000},
-	{0x00008128, 0x00000000},
-	{0x0000812c, 0x00000000},
-	{0x00008130, 0x00000000},
-	{0x00008134, 0x00000000},
-	{0x00008138, 0x00000000},
-	{0x0000813c, 0x00000000},
-	{0x00008144, 0xffffffff},
-	{0x00008168, 0x00000000},
-	{0x0000816c, 0x00000000},
-	{0x00008170, 0x32143320},
-	{0x00008174, 0xfaa4fa50},
-	{0x00008178, 0x00000100},
-	{0x0000817c, 0x00000000},
-	{0x000081c0, 0x00000000},
-	{0x000081d0, 0x0000320a},
-	{0x000081ec, 0x00000000},
-	{0x000081f0, 0x00000000},
-	{0x000081f4, 0x00000000},
-	{0x000081f8, 0x00000000},
-	{0x000081fc, 0x00000000},
-	{0x00008200, 0x00000000},
-	{0x00008204, 0x00000000},
-	{0x00008208, 0x00000000},
-	{0x0000820c, 0x00000000},
-	{0x00008210, 0x00000000},
-	{0x00008214, 0x00000000},
-	{0x00008218, 0x00000000},
-	{0x0000821c, 0x00000000},
-	{0x00008220, 0x00000000},
-	{0x00008224, 0x00000000},
-	{0x00008228, 0x00000000},
-	{0x0000822c, 0x00000000},
-	{0x00008230, 0x00000000},
-	{0x00008234, 0x00000000},
-	{0x00008238, 0x00000000},
-	{0x0000823c, 0x00000000},
-	{0x00008240, 0x00100000},
-	{0x00008244, 0x0010f400},
-	{0x00008248, 0x00000100},
-	{0x0000824c, 0x0001e800},
-	{0x00008250, 0x00000000},
-	{0x00008254, 0x00000000},
-	{0x00008258, 0x00000000},
-	{0x0000825c, 0x400000ff},
-	{0x00008260, 0x00080922},
-	{0x00008264, 0x88a00010},
-	{0x00008270, 0x00000000},
-	{0x00008274, 0x40000000},
-	{0x00008278, 0x003e4180},
-	{0x0000827c, 0x00000000},
-	{0x00008284, 0x0000002c},
-	{0x00008288, 0x0000002c},
-	{0x0000828c, 0x00000000},
-	{0x00008294, 0x00000000},
-	{0x00008298, 0x00000000},
-	{0x0000829c, 0x00000000},
-	{0x00008300, 0x00000040},
-	{0x00008314, 0x00000000},
-	{0x00008328, 0x00000000},
-	{0x0000832c, 0x00000001},
-	{0x00008330, 0x00000302},
-	{0x00008334, 0x00000e00},
-	{0x00008338, 0x00ff0000},
-	{0x0000833c, 0x00000000},
-	{0x00008340, 0x00010380},
-	{0x00008344, 0x00481083},  /**< Note: disabled ADHOC_MCAST_KEYID feature */
-	{0x00007010, 0x00000030},
-	{0x00007034, 0x00000002},
-	{0x00007038, 0x000004c2},
-	{0x00007800, 0x00140000},
-	{0x00007804, 0x0e4548d8},
-	{0x00007808, 0x54214514},
-	{0x0000780c, 0x02025820},
-	{0x00007810, 0x71c0d388},
-	{0x00007814, 0x924934a8},
-	{0x0000781c, 0x00000000},
-	{0x00007828, 0x66964300},
-	{0x0000782c, 0x8db6d961},
-	{0x00007830, 0x8db6d96c},
-	{0x00007834, 0x6140008b},
-	{0x0000783c, 0x72ee0a72},
-	{0x00007840, 0xbbfffffc},
-	{0x00007844, 0x000c0db6},
-	{0x00007848, 0x6db6246f},
-	{0x0000784c, 0x6d9b66db},
-	{0x00007850, 0x6d8c6dba},
-	{0x00007854, 0x00040000},
-	{0x00007858, 0xdb003012},
-	{0x0000785c, 0x04924914},
-	{0x00007860, 0x21084210},
-	{0x00007864, 0xf7d7ffde},
-	{0x00007868, 0xc2034080},
-	{0x00007870, 0x10142c00},
-	{0x00009808, 0x00000000},
-	{0x0000980c, 0xafe68e30},
-	{0x00009810, 0xfd14e000},
-	{0x00009814, 0x9c0a9f6b},
-	{0x0000981c, 0x00000000},
-	{0x0000982c, 0x0000a000},
-	{0x00009830, 0x00000000},
-	{0x0000983c, 0x00200400},
-	{0x0000984c, 0x0040233c},
-	{0x00009854, 0x00000044},
-	{0x00009900, 0x00000000},
-	{0x00009904, 0x00000000},
-	{0x00009908, 0x00000000},
-	{0x0000990c, 0x00000000},
-	{0x0000991c, 0x10000fff},
-	{0x00009920, 0x04900000},
-	{0x00009928, 0x00000001},
-	{0x0000992c, 0x00000004},
-	{0x00009934, 0x1e1f2022},
-	{0x00009938, 0x0a0b0c0d},
-	{0x0000993c, 0x00000000},
-	{0x00009940, 0x14750604},
-	{0x00009948, 0x9280c00a},
-	{0x0000994c, 0x00020028},
-	{0x00009954, 0x5f3ca3de},
-	{0x00009958, 0x0108ecff},
-	{0x00009968, 0x000003ce},
-	{0x00009970, 0x192bb514},
-	{0x00009974, 0x00000000},
-	{0x00009978, 0x00000001},
-	{0x0000997c, 0x00000000},
-	{0x00009980, 0x00000000},
-	{0x00009984, 0x00000000},
-	{0x00009988, 0x00000000},
-	{0x0000998c, 0x00000000},
-	{0x00009990, 0x00000000},
-	{0x00009994, 0x00000000},
-	{0x00009998, 0x00000000},
-	{0x0000999c, 0x00000000},
-	{0x000099a0, 0x00000000},
-	{0x000099a4, 0x00000001},
-	{0x000099a8, 0x201fff00},
-	{0x000099ac, 0x2def0400},
-	{0x000099b0, 0x03051000},
-	{0x000099b4, 0x00000820},
-	{0x000099dc, 0x00000000},
-	{0x000099e0, 0x00000000},
-	{0x000099e4, 0xaaaaaaaa},
-	{0x000099e8, 0x3c466478},
-	{0x000099ec, 0x0cc80caa},
-	{0x000099f0, 0x00000000},
-	{0x0000a208, 0x803e68c8},
-	{0x0000a210, 0x4080a333},
-	{0x0000a214, 0x00206c10},
-	{0x0000a218, 0x009c4060},
-	{0x0000a220, 0x01834061},
-	{0x0000a224, 0x00000400},
-	{0x0000a228, 0x000003b5},
-	{0x0000a22c, 0x00000000},
-	{0x0000a234, 0x20202020},
-	{0x0000a238, 0x20202020},
-	{0x0000a244, 0x00000000},
-	{0x0000a248, 0xfffffffc},
-	{0x0000a24c, 0x00000000},
-	{0x0000a254, 0x00000000},
-	{0x0000a258, 0x0ccb5380},
-	{0x0000a25c, 0x15151501},
-	{0x0000a260, 0xdfa90f01},
-	{0x0000a268, 0x00000000},
-	{0x0000a26c, 0x0ebae9e6},
-	{0x0000a388, 0x0c000000},
-	{0x0000a38c, 0x20202020},
-	{0x0000a390, 0x20202020},
-	{0x0000a39c, 0x00000001},
-	{0x0000a3a0, 0x00000000},
-	{0x0000a3a4, 0x00000000},
-	{0x0000a3a8, 0x00000000},
-	{0x0000a3ac, 0x00000000},
-	{0x0000a3b0, 0x00000000},
-	{0x0000a3b4, 0x00000000},
-	{0x0000a3b8, 0x00000000},
-	{0x0000a3bc, 0x00000000},
-	{0x0000a3c0, 0x00000000},
-	{0x0000a3c4, 0x00000000},
-	{0x0000a3cc, 0x20202020},
-	{0x0000a3d0, 0x20202020},
-	{0x0000a3d4, 0x20202020},
-	{0x0000a3e4, 0x00000000},
-	{0x0000a3e8, 0x18c43433},
-	{0x0000a3ec, 0x00f70081},
-	{0x0000a3f0, 0x01036a2f},
-	{0x0000a3f4, 0x00000000},
-	{0x0000d270, 0x0d820820},
-	{0x0000d35c, 0x07ffffef},
-	{0x0000d360, 0x0fffffe7},
-	{0x0000d364, 0x17ffffe5},
-	{0x0000d368, 0x1fffffe4},
-	{0x0000d36c, 0x37ffffe3},
-	{0x0000d370, 0x3fffffe3},
-	{0x0000d374, 0x57ffffe3},
-	{0x0000d378, 0x5fffffe2},
-	{0x0000d37c, 0x7fffffe2},
-	{0x0000d380, 0x7f3c7bba},
-	{0x0000d384, 0xf3307ff0}
+	{ 0x0000000c, 0x00000000 },
+	{ 0x00000030, 0x00020045 },
+	{ 0x00000034, 0x00000005 },
+	{ 0x00000040, 0x00000000 },
+	{ 0x00000044, 0x00000008 },
+	{ 0x00000048, 0x00000008 },
+	{ 0x0000004c, 0x00000010 },
+	{ 0x00000050, 0x00000000 },
+	{ 0x00000054, 0x0000001f },
+	{ 0x00000800, 0x00000000 },
+	{ 0x00000804, 0x00000000 },
+	{ 0x00000808, 0x00000000 },
+	{ 0x0000080c, 0x00000000 },
+	{ 0x00000810, 0x00000000 },
+	{ 0x00000814, 0x00000000 },
+	{ 0x00000818, 0x00000000 },
+	{ 0x0000081c, 0x00000000 },
+	{ 0x00000820, 0x00000000 },
+	{ 0x00000824, 0x00000000 },
+	{ 0x00001040, 0x002ffc0f },
+	{ 0x00001044, 0x002ffc0f },
+	{ 0x00001048, 0x002ffc0f },
+	{ 0x0000104c, 0x002ffc0f },
+	{ 0x00001050, 0x002ffc0f },
+	{ 0x00001054, 0x002ffc0f },
+	{ 0x00001058, 0x002ffc0f },
+	{ 0x0000105c, 0x002ffc0f },
+	{ 0x00001060, 0x002ffc0f },
+	{ 0x00001064, 0x002ffc0f },
+	{ 0x00001230, 0x00000000 },
+	{ 0x00001270, 0x00000000 },
+	{ 0x00001038, 0x00000000 },
+	{ 0x00001078, 0x00000000 },
+	{ 0x000010b8, 0x00000000 },
+	{ 0x000010f8, 0x00000000 },
+	{ 0x00001138, 0x00000000 },
+	{ 0x00001178, 0x00000000 },
+	{ 0x000011b8, 0x00000000 },
+	{ 0x000011f8, 0x00000000 },
+	{ 0x00001238, 0x00000000 },
+	{ 0x00001278, 0x00000000 },
+	{ 0x000012b8, 0x00000000 },
+	{ 0x000012f8, 0x00000000 },
+	{ 0x00001338, 0x00000000 },
+	{ 0x00001378, 0x00000000 },
+	{ 0x000013b8, 0x00000000 },
+	{ 0x000013f8, 0x00000000 },
+	{ 0x00001438, 0x00000000 },
+	{ 0x00001478, 0x00000000 },
+	{ 0x000014b8, 0x00000000 },
+	{ 0x000014f8, 0x00000000 },
+	{ 0x00001538, 0x00000000 },
+	{ 0x00001578, 0x00000000 },
+	{ 0x000015b8, 0x00000000 },
+	{ 0x000015f8, 0x00000000 },
+	{ 0x00001638, 0x00000000 },
+	{ 0x00001678, 0x00000000 },
+	{ 0x000016b8, 0x00000000 },
+	{ 0x000016f8, 0x00000000 },
+	{ 0x00001738, 0x00000000 },
+	{ 0x00001778, 0x00000000 },
+	{ 0x000017b8, 0x00000000 },
+	{ 0x000017f8, 0x00000000 },
+	{ 0x0000103c, 0x00000000 },
+	{ 0x0000107c, 0x00000000 },
+	{ 0x000010bc, 0x00000000 },
+	{ 0x000010fc, 0x00000000 },
+	{ 0x0000113c, 0x00000000 },
+	{ 0x0000117c, 0x00000000 },
+	{ 0x000011bc, 0x00000000 },
+	{ 0x000011fc, 0x00000000 },
+	{ 0x0000123c, 0x00000000 },
+	{ 0x0000127c, 0x00000000 },
+	{ 0x000012bc, 0x00000000 },
+	{ 0x000012fc, 0x00000000 },
+	{ 0x0000133c, 0x00000000 },
+	{ 0x0000137c, 0x00000000 },
+	{ 0x000013bc, 0x00000000 },
+	{ 0x000013fc, 0x00000000 },
+	{ 0x0000143c, 0x00000000 },
+	{ 0x0000147c, 0x00000000 },
+	{ 0x00004030, 0x00000002 },
+	{ 0x0000403c, 0x00000002 },
+	{ 0x00004024, 0x0000001f },
+	{ 0x00004060, 0x00000000 },
+	{ 0x00004064, 0x00000000 },
+	{ 0x00008018, 0x00000700 },
+	{ 0x00008020, 0x00000000 },
+	{ 0x00008038, 0x00000000 },
+	{ 0x00008048, 0x00000000 },
+	{ 0x00008054, 0x00000000 },
+	{ 0x00008058, 0x00000000 },
+	{ 0x0000805c, 0x000fc78f },
+	{ 0x00008060, 0xc7ff000f },
+	{ 0x00008064, 0x00000000 },
+	{ 0x00008070, 0x00000000 },
+	{ 0x000080b0, 0x00000000 },
+	{ 0x000080b4, 0x00000000 },
+	{ 0x000080b8, 0x00000000 },
+	{ 0x000080bc, 0x00000000 },
+	{ 0x000080c0, 0x2a80001a },
+	{ 0x000080c4, 0x05dc01e0 },
+	{ 0x000080c8, 0x1f402710 },
+	{ 0x000080cc, 0x01f40000 },
+	{ 0x000080d0, 0x00001e00 },
+	{ 0x000080d4, 0x00000000 },
+	{ 0x000080d8, 0x00400000 },
+	{ 0x000080e0, 0xffffffff },
+	{ 0x000080e4, 0x0000ffff },
+	{ 0x000080e8, 0x003f3f3f },
+	{ 0x000080ec, 0x00000000 },
+	{ 0x000080f0, 0x00000000 },
+	{ 0x000080f4, 0x00000000 },
+	{ 0x000080f8, 0x00000000 },
+	{ 0x000080fc, 0x00020000 },
+	{ 0x00008100, 0x00020000 },
+	{ 0x00008104, 0x00000001 },
+	{ 0x00008108, 0x00000052 },
+	{ 0x0000810c, 0x00000000 },
+	{ 0x00008110, 0x00000168 },
+	{ 0x00008118, 0x000100aa },
+	{ 0x0000811c, 0x00003210 },
+	{ 0x00008120, 0x08f04810 },
+	{ 0x00008124, 0x00000000 },
+	{ 0x00008128, 0x00000000 },
+	{ 0x0000812c, 0x00000000 },
+	{ 0x00008130, 0x00000000 },
+	{ 0x00008134, 0x00000000 },
+	{ 0x00008138, 0x00000000 },
+	{ 0x0000813c, 0x00000000 },
+	{ 0x00008144, 0xffffffff },
+	{ 0x00008168, 0x00000000 },
+	{ 0x0000816c, 0x00000000 },
+	{ 0x00008170, 0x32143320 },
+	{ 0x00008174, 0xfaa4fa50 },
+	{ 0x00008178, 0x00000100 },
+	{ 0x0000817c, 0x00000000 },
+	{ 0x000081c0, 0x00000000 },
+	{ 0x000081d0, 0x0000320a },
+	{ 0x000081ec, 0x00000000 },
+	{ 0x000081f0, 0x00000000 },
+	{ 0x000081f4, 0x00000000 },
+	{ 0x000081f8, 0x00000000 },
+	{ 0x000081fc, 0x00000000 },
+	{ 0x00008200, 0x00000000 },
+	{ 0x00008204, 0x00000000 },
+	{ 0x00008208, 0x00000000 },
+	{ 0x0000820c, 0x00000000 },
+	{ 0x00008210, 0x00000000 },
+	{ 0x00008214, 0x00000000 },
+	{ 0x00008218, 0x00000000 },
+	{ 0x0000821c, 0x00000000 },
+	{ 0x00008220, 0x00000000 },
+	{ 0x00008224, 0x00000000 },
+	{ 0x00008228, 0x00000000 },
+	{ 0x0000822c, 0x00000000 },
+	{ 0x00008230, 0x00000000 },
+	{ 0x00008234, 0x00000000 },
+	{ 0x00008238, 0x00000000 },
+	{ 0x0000823c, 0x00000000 },
+	{ 0x00008240, 0x00100000 },
+	{ 0x00008244, 0x0010f400 },
+	{ 0x00008248, 0x00000100 },
+	{ 0x0000824c, 0x0001e800 },
+	{ 0x00008250, 0x00000000 },
+	{ 0x00008254, 0x00000000 },
+	{ 0x00008258, 0x00000000 },
+	{ 0x0000825c, 0x400000ff },
+	{ 0x00008260, 0x00080922 },
+	{ 0x00008264, 0x88a00010 },
+	{ 0x00008270, 0x00000000 },
+	{ 0x00008274, 0x40000000 },
+	{ 0x00008278, 0x003e4180 },
+	{ 0x0000827c, 0x00000000 },
+	{ 0x00008284, 0x0000002c },
+	{ 0x00008288, 0x0000002c },
+	{ 0x0000828c, 0x00000000 },
+	{ 0x00008294, 0x00000000 },
+	{ 0x00008298, 0x00000000 },
+	{ 0x0000829c, 0x00000000 },
+	{ 0x00008300, 0x00000040 },
+	{ 0x00008314, 0x00000000 },
+	{ 0x00008328, 0x00000000 },
+	{ 0x0000832c, 0x00000001 },
+	{ 0x00008330, 0x00000302 },
+	{ 0x00008334, 0x00000e00 },
+	{ 0x00008338, 0x00ff0000 },
+	{ 0x0000833c, 0x00000000 },
+	{ 0x00008340, 0x00010380 },
+	{ 0x00008344, 0x00481083 },  /**< Note: disabled ADHOC_MCAST_KEYID feature */
+	{ 0x00007010, 0x00000030 },
+	{ 0x00007034, 0x00000002 },
+	{ 0x00007038, 0x000004c2 },
+	{ 0x00007800, 0x00140000 },
+	{ 0x00007804, 0x0e4548d8 },
+	{ 0x00007808, 0x54214514 },
+	{ 0x0000780c, 0x02025820 },
+	{ 0x00007810, 0x71c0d388 },
+	{ 0x00007814, 0x924934a8 },
+	{ 0x0000781c, 0x00000000 },
+	{ 0x00007828, 0x66964300 },
+	{ 0x0000782c, 0x8db6d961 },
+	{ 0x00007830, 0x8db6d96c },
+	{ 0x00007834, 0x6140008b },
+	{ 0x0000783c, 0x72ee0a72 },
+	{ 0x00007840, 0xbbfffffc },
+	{ 0x00007844, 0x000c0db6 },
+	{ 0x00007848, 0x6db6246f },
+	{ 0x0000784c, 0x6d9b66db },
+	{ 0x00007850, 0x6d8c6dba },
+	{ 0x00007854, 0x00040000 },
+	{ 0x00007858, 0xdb003012 },
+	{ 0x0000785c, 0x04924914 },
+	{ 0x00007860, 0x21084210 },
+	{ 0x00007864, 0xf7d7ffde },
+	{ 0x00007868, 0xc2034080 },
+	{ 0x00007870, 0x10142c00 },
+	{ 0x00009808, 0x00000000 },
+	{ 0x0000980c, 0xafe68e30 },
+	{ 0x00009810, 0xfd14e000 },
+	{ 0x00009814, 0x9c0a9f6b },
+	{ 0x0000981c, 0x00000000 },
+	{ 0x0000982c, 0x0000a000 },
+	{ 0x00009830, 0x00000000 },
+	{ 0x0000983c, 0x00200400 },
+	{ 0x0000984c, 0x0040233c },
+	{ 0x00009854, 0x00000044 },
+	{ 0x00009900, 0x00000000 },
+	{ 0x00009904, 0x00000000 },
+	{ 0x00009908, 0x00000000 },
+	{ 0x0000990c, 0x00000000 },
+	{ 0x0000991c, 0x10000fff },
+	{ 0x00009920, 0x04900000 },
+	{ 0x00009928, 0x00000001 },
+	{ 0x0000992c, 0x00000004 },
+	{ 0x00009934, 0x1e1f2022 },
+	{ 0x00009938, 0x0a0b0c0d },
+	{ 0x0000993c, 0x00000000 },
+	{ 0x00009940, 0x14750604 },
+	{ 0x00009948, 0x9280c00a },
+	{ 0x0000994c, 0x00020028 },
+	{ 0x00009954, 0x5f3ca3de },
+	{ 0x00009958, 0x0108ecff },
+	{ 0x00009968, 0x000003ce },
+	{ 0x00009970, 0x192bb514 },
+	{ 0x00009974, 0x00000000 },
+	{ 0x00009978, 0x00000001 },
+	{ 0x0000997c, 0x00000000 },
+	{ 0x00009980, 0x00000000 },
+	{ 0x00009984, 0x00000000 },
+	{ 0x00009988, 0x00000000 },
+	{ 0x0000998c, 0x00000000 },
+	{ 0x00009990, 0x00000000 },
+	{ 0x00009994, 0x00000000 },
+	{ 0x00009998, 0x00000000 },
+	{ 0x0000999c, 0x00000000 },
+	{ 0x000099a0, 0x00000000 },
+	{ 0x000099a4, 0x00000001 },
+	{ 0x000099a8, 0x201fff00 },
+	{ 0x000099ac, 0x2def0400 },
+	{ 0x000099b0, 0x03051000 },
+	{ 0x000099b4, 0x00000820 },
+	{ 0x000099dc, 0x00000000 },
+	{ 0x000099e0, 0x00000000 },
+	{ 0x000099e4, 0xaaaaaaaa },
+	{ 0x000099e8, 0x3c466478 },
+	{ 0x000099ec, 0x0cc80caa },
+	{ 0x000099f0, 0x00000000 },
+	{ 0x0000a208, 0x803e68c8 },
+	{ 0x0000a210, 0x4080a333 },
+	{ 0x0000a214, 0x00206c10 },
+	{ 0x0000a218, 0x009c4060 },
+	{ 0x0000a220, 0x01834061 },
+	{ 0x0000a224, 0x00000400 },
+	{ 0x0000a228, 0x000003b5 },
+	{ 0x0000a22c, 0x00000000 },
+	{ 0x0000a234, 0x20202020 },
+	{ 0x0000a238, 0x20202020 },
+	{ 0x0000a244, 0x00000000 },
+	{ 0x0000a248, 0xfffffffc },
+	{ 0x0000a24c, 0x00000000 },
+	{ 0x0000a254, 0x00000000 },
+	{ 0x0000a258, 0x0ccb5380 },
+	{ 0x0000a25c, 0x15151501 },
+	{ 0x0000a260, 0xdfa90f01 },
+	{ 0x0000a268, 0x00000000 },
+	{ 0x0000a26c, 0x0ebae9e6 },
+	{ 0x0000a388, 0x0c000000 },
+	{ 0x0000a38c, 0x20202020 },
+	{ 0x0000a390, 0x20202020 },
+	{ 0x0000a39c, 0x00000001 },
+	{ 0x0000a3a0, 0x00000000 },
+	{ 0x0000a3a4, 0x00000000 },
+	{ 0x0000a3a8, 0x00000000 },
+	{ 0x0000a3ac, 0x00000000 },
+	{ 0x0000a3b0, 0x00000000 },
+	{ 0x0000a3b4, 0x00000000 },
+	{ 0x0000a3b8, 0x00000000 },
+	{ 0x0000a3bc, 0x00000000 },
+	{ 0x0000a3c0, 0x00000000 },
+	{ 0x0000a3c4, 0x00000000 },
+	{ 0x0000a3cc, 0x20202020 },
+	{ 0x0000a3d0, 0x20202020 },
+	{ 0x0000a3d4, 0x20202020 },
+	{ 0x0000a3e4, 0x00000000 },
+	{ 0x0000a3e8, 0x18c43433 },
+	{ 0x0000a3ec, 0x00f70081 },
+	{ 0x0000a3f0, 0x01036a2f },
+	{ 0x0000a3f4, 0x00000000 },
+	{ 0x0000d270, 0x0d820820 },
+	{ 0x0000d35c, 0x07ffffef },
+	{ 0x0000d360, 0x0fffffe7 },
+	{ 0x0000d364, 0x17ffffe5 },
+	{ 0x0000d368, 0x1fffffe4 },
+	{ 0x0000d36c, 0x37ffffe3 },
+	{ 0x0000d370, 0x3fffffe3 },
+	{ 0x0000d374, 0x57ffffe3 },
+	{ 0x0000d378, 0x5fffffe2 },
+	{ 0x0000d37c, 0x7fffffe2 },
+	{ 0x0000d380, 0x7f3c7bba },
+	{ 0x0000d384, 0xf3307ff0 }
 };
 
Index: uspace/drv/nic/rtl8139/defs.c
===================================================================
--- uspace/drv/nic/rtl8139/defs.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/nic/rtl8139/defs.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -29,5 +29,5 @@
 #include "defs.h"
 
-const char* model_names[RTL8139_VER_COUNT] = {
+const char *model_names[RTL8139_VER_COUNT] = {
 	"RTL8139",
 	"RTL8139A",
@@ -46,16 +46,16 @@
 
 const struct rtl8139_hwver_map rtl8139_versions[RTL8139_VER_COUNT + 1] = {
-	{ HWVER(1,1,0,0,0,0,0), RTL8139 },
-	{ HWVER(1,1,1,0,0,0,0), RTL8139A },
-	{ HWVER(1,1,1,0,0,1,0), RTL8139A_G },
-	{ HWVER(1,1,1,1,0,0,0), RTL8139B },
-	{ HWVER(1,1,1,1,1,0,0), RTL8130 },
-	{ HWVER(1,1,1,0,1,0,0), RTL8139C },
-	{ HWVER(1,1,1,1,0,1,0), RTL8100 },
-	{ HWVER(1,1,1,0,1,0,1), RTL8139D },
-	{ HWVER(1,1,1,0,1,1,0), RTL8139Cp },
-	{ HWVER(1,1,1,0,1,1,1), RTL8101 },
+	{ HWVER(1, 1, 0, 0, 0, 0, 0), RTL8139 },
+	{ HWVER(1, 1, 1, 0, 0, 0, 0), RTL8139A },
+	{ HWVER(1, 1, 1, 0, 0, 1, 0), RTL8139A_G },
+	{ HWVER(1, 1, 1, 1, 0, 0, 0), RTL8139B },
+	{ HWVER(1, 1, 1, 1, 1, 0, 0), RTL8130 },
+	{ HWVER(1, 1, 1, 0, 1, 0, 0), RTL8139C },
+	{ HWVER(1, 1, 1, 1, 0, 1, 0), RTL8100 },
+	{ HWVER(1, 1, 1, 0, 1, 0, 1), RTL8139D },
+	{ HWVER(1, 1, 1, 0, 1, 1, 0), RTL8139Cp },
+	{ HWVER(1, 1, 1, 0, 1, 1, 1), RTL8101 },
 	/* End value */
-	{ 0, RTL8139_VER_COUNT}
+	{ 0, RTL8139_VER_COUNT }
 };
 
Index: uspace/drv/nic/rtl8139/general.c
===================================================================
--- uspace/drv/nic/rtl8139/general.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/nic/rtl8139/general.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -51,5 +51,5 @@
  * @return NULL if the error occures, dest if succeed
  */
-void* rtl8139_memcpy_wrapped(void *dest, const void *src, size_t src_offset,
+void *rtl8139_memcpy_wrapped(void *dest, const void *src, size_t src_offset,
     size_t src_size, size_t data_size)
 {
@@ -83,5 +83,5 @@
  *  @return EOK if succeed, error code otherwise
  */
-errno_t rtl8139_timer_act_init(rtl8139_timer_act_t * ta, uint32_t timer_freq,
+errno_t rtl8139_timer_act_init(rtl8139_timer_act_t *ta, uint32_t timer_freq,
     const struct timeval *time)
 {
@@ -124,5 +124,5 @@
  *  @return Nonzero if whole period expired, zero if part of period expired
  */
-int rtl8139_timer_act_step(rtl8139_timer_act_t * ta, uint32_t *new_reg)
+int rtl8139_timer_act_step(rtl8139_timer_act_t *ta, uint32_t *new_reg)
 {
 	uint32_t next_val = 0;
Index: uspace/drv/nic/rtl8169/defs.h
===================================================================
--- uspace/drv/nic/rtl8169/defs.h	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/nic/rtl8169/defs.h	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -202,5 +202,5 @@
 	TSD_NCC_SHIFT = 24, /**< Collision Count - bit shift */
 	TSD_NCC_SIZE = 4, /**< Collision Count - bit size */
-	TSD_NCC_MASK = (1 << 4)-1, /**< Collision Count - bit size */
+	TSD_NCC_MASK = (1 << 4) - 1, /**< Collision Count - bit size */
 	TSD_ERTXTH_SHIFT = 16, /**< Early Tx Threshold - bit shift */
 	TSD_ERTXTH_SIZE = 6, /**< Early Tx  Treshold - bit size */
Index: uspace/drv/platform/amdm37x/main.c
===================================================================
--- uspace/drv/platform/amdm37x/main.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/platform/amdm37x/main.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -132,22 +132,22 @@
 
 static const amdm37x_fun_t amdm37x_funcs[] = {
-{
-	.name = "ohci",
-	.id = "usb/host=ohci",
-	.score = 90,
-	.hw_resources = { .resources = ohci_res, .count = ARRAY_SIZE(ohci_res) }
-},
-{
-	.name = "ehci",
-	.id = "usb/host=ehci",
-	.score = 90,
-	.hw_resources = { .resources = ehci_res, .count = ARRAY_SIZE(ehci_res) }
-},
-{
-	.name = "fb",
-	.id = "amdm37x&dispc",
-	.score = 90,
-	.hw_resources = { .resources = disp_res, .count = ARRAY_SIZE(disp_res) }
-},
+	{
+		.name = "ohci",
+		.id = "usb/host=ohci",
+		.score = 90,
+		.hw_resources = { .resources = ohci_res, .count = ARRAY_SIZE(ohci_res) }
+	},
+	{
+		.name = "ehci",
+		.id = "usb/host=ehci",
+		.score = 90,
+		.hw_resources = { .resources = ehci_res, .count = ARRAY_SIZE(ehci_res) }
+	},
+	{
+		.name = "fb",
+		.id = "amdm37x&dispc",
+		.score = 90,
+		.hw_resources = { .resources = disp_res, .count = ARRAY_SIZE(disp_res) }
+	},
 };
 
@@ -261,5 +261,5 @@
 };
 
-static hw_resource_list_t * amdm37x_get_resources(ddf_fun_t *fnode)
+static hw_resource_list_t *amdm37x_get_resources(ddf_fun_t *fnode)
 {
 	amdm37x_fun_t *fun = ddf_fun_data_get(fnode);
Index: uspace/drv/platform/amdm37x/prm/clock_control.h
===================================================================
--- uspace/drv/platform/amdm37x/prm/clock_control.h	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/platform/amdm37x/prm/clock_control.h	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -64,12 +64,17 @@
 static inline unsigned sys_clk_freq_kHz(unsigned reg_val)
 {
-	switch(reg_val)
-	{
-	case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_12M: return 12000;
-	case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_13M: return 13000;
-	case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_19_2M: return 19200;
-	case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_26M: return 26000;
-	case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_38_4M: return 38400;
-	case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_16_8M: return 16800;
+	switch (reg_val) {
+	case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_12M:
+		return 12000;
+	case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_13M:
+		return 13000;
+	case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_19_2M:
+		return 19200;
+	case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_26M:
+		return 26000;
+	case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_38_4M:
+		return 38400;
+	case CLOCK_CONTROL_PRM_CLKSEL_SYS_CLKIN_16_8M:
+		return 16800;
 	}
 	return 0;
Index: uspace/drv/platform/mac/mac.c
===================================================================
--- uspace/drv/platform/mac/mac.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/platform/mac/mac.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -235,9 +235,9 @@
 
 static pio_window_ops_t fun_pio_window_ops = {
-        .get_pio_window = &mac_get_pio_window
+	.get_pio_window = &mac_get_pio_window
 };
 
 static hw_res_ops_t fun_hw_res_ops = {
-   	.get_resource_list = &mac_get_resources,
+	.get_resource_list = &mac_get_resources,
 	.enable_interrupt = &mac_enable_interrupt
 };
Index: uspace/drv/root/virt/virt.c
===================================================================
--- uspace/drv/root/virt/virt.c	(revision e217228446aaaeda030cdfb8c3d6708255adacbb)
+++ uspace/drv/root/virt/virt.c	(revision 5754c31e4e22b3ba9c461583e759f5fed5d44704)
@@ -213,5 +213,5 @@
 		virt_fun_t *rvfun = list_get_instance(
 		    list_first(&virt->functions), virt_fun_t,
-			dev_link);
+		    dev_link);
 
 		rc = virt_fun_remove(rvfun);
