devices/ccat/module.h
branchstable-1.5
changeset 2573 ad9a35065387
parent 2570 144e11d93e99
child 2576 f6a5b3bb0594
--- a/devices/ccat/module.h	Thu Jun 05 17:27:16 2014 +0200
+++ b/devices/ccat/module.h	Thu Jun 05 17:41:48 2014 +0200
@@ -156,8 +156,7 @@
 	struct ccat_bar bar[3];	//TODO optimize this
 };
 
-struct ccat_info_block
-{
+struct ccat_info_block {
 	u16 type;
 	u16 rev;
 	union {
@@ -217,16 +216,15 @@
  */
 struct ccat_mac_infoblock {
 	u32 reserved;
-	u32	mii;
-	u32	tx_fifo;
-	u32	mac;
-	u32	rx_mem;
-	u32	tx_mem;
-	u32	misc;
-};
-
-struct ccat_mac_register
-{
+	u32 mii;
+	u32 tx_fifo;
+	u32 mac;
+	u32 rx_mem;
+	u32 tx_mem;
+	u32 misc;
+};
+
+struct ccat_mac_register {
 	/** MAC error register     @+0x0 */
 	u8 frame_len_err;
 	u8 rx_err;
@@ -241,8 +239,8 @@
 	u32 rx_frames;
 	u64 reserved3;
 	/** MAC fifo level         @+0x20 */
-	u8 tx_fifo_level : 7;
-	u8 reserved4 : 1;
+	u8 tx_fifo_level:7;
+	u8 reserved4:1;
 	u8 reserved5[7];
 	/** TX memory full error   @+0x28 */
 	u8 tx_mem_full;