Page MenuHomeFreeBSD

D49634.diff
No OneTemporary

D49634.diff

diff --git a/sys/dev/iwx/if_iwx_debug.h b/sys/dev/iwx/if_iwx_debug.h
--- a/sys/dev/iwx/if_iwx_debug.h
+++ b/sys/dev/iwx/if_iwx_debug.h
@@ -56,7 +56,7 @@
void print_opcode(const char *, int, int, uint32_t);
void print_ratenflags(const char *, int , uint32_t , int );
void iwx_dump_cmd(uint32_t , void *, uint16_t, const char *, int);
-void iwx_bbl_add_entry(uint64_t, int, int);
+void iwx_bbl_add_entry(uint32_t, int, int);
void iwx_bbl_print_log(void);
#define IWX_BBL_NONE 0x00
@@ -254,7 +254,7 @@
struct iwx_bbl_entry {
uint8_t type;
- uint64_t code;
+ uint32_t code;
uint32_t seq;
uint32_t ticks;
uint32_t count;
diff --git a/sys/dev/iwx/if_iwx_debug.c b/sys/dev/iwx/if_iwx_debug.c
--- a/sys/dev/iwx/if_iwx_debug.c
+++ b/sys/dev/iwx/if_iwx_debug.c
@@ -126,7 +126,7 @@
}
void
-iwx_bbl_add_entry(uint64_t code, int type, int ticks)
+iwx_bbl_add_entry(uint32_t code, int type, int ticks)
{
/*
* Compress together repeated notifications, but increment the sequence
@@ -162,22 +162,22 @@
switch(e->type) {
case IWX_BBL_PKT_TX:
printf("pkt ");
- printf("seq %08d\t pkt len %ld",
+ printf("seq %08d\t pkt len %u",
e->seq, e->code);
break;
printf("pkt dup ");
- printf("seq %08d\t dup count %ld",
+ printf("seq %08d\t dup count %u",
e->seq, e->code);
break;
case IWX_BBL_CMD_TX:
printf("tx -> ");
- printf("seq %08d\tcode 0x%08lx (%s:%s)",
+ printf("seq %08d\tcode 0x%08x (%s:%s)",
e->seq, e->code, get_label(command_group, group),
get_label(get_table(group), opcode));
break;
case IWX_BBL_CMD_RX:
printf("rx ");
- printf("seq %08d\tcode 0x%08lx (%s:%s)",
+ printf("seq %08d\tcode 0x%08x (%s:%s)",
e->seq, e->code, get_label(command_group, group),
get_label(get_table(group), opcode));
break;

File Metadata

Mime Type
text/plain
Expires
Thu, Jun 25, 9:43 AM (15 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34319064
Default Alt Text
D49634.diff (1 KB)

Event Timeline