Skip to content

Commit

Permalink
hw/bt.c: quieten all the noisy BT/IPMI messages
Browse files Browse the repository at this point in the history
Suggested-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Yeah-boiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiied-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
  • Loading branch information
stewartsmith committed Jun 19, 2018
1 parent 61bbadf commit 8f650b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hw/bt.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@
#define BT_Q_DBG(msg, fmt, args...) \
_BT_Q_LOG(PR_DEBUG, msg, fmt, ##args)

#define BT_Q_INF(msg, fmt, args...) \
_BT_Q_LOG(PR_INFO, msg, fmt, ##args)
#define BT_Q_TRACE(msg, fmt, args...) \
_BT_Q_LOG(PR_TRACE, msg, fmt, ##args)

struct bt_msg {
struct list_node link;
Expand Down Expand Up @@ -270,7 +270,7 @@ static void bt_send_msg(struct bt_msg *bt_msg)
for (i = 0; i < ipmi_msg->req_size; i++)
bt_outb(ipmi_msg->data[i], BT_HOST2BMC);

BT_Q_INF(bt_msg, "Message sent to host");
BT_Q_TRACE(bt_msg, "Message sent to host");
bt_msg->send_count++;

bt_outb(BT_CTRL_H2B_ATN, BT_CTRL);
Expand Down Expand Up @@ -362,7 +362,7 @@ static void bt_get_resp(void)
ipmi_msg->data[i] = bt_inb(BT_HOST2BMC);
bt_set_h_busy(false);

BT_Q_INF(bt_msg, "IPMI MSG done");
BT_Q_TRACE(bt_msg, "IPMI MSG done");

list_del(&bt_msg->link);
bt.queue_len--;
Expand Down

0 comments on commit 8f650b6

Please sign in to comment.