Thread (5 messages) flat view 5 messages, 3 authors, 2012-11-27

Re: [PATCH 2/2] smsc75xx: support PHY wakeup source

From: Joe Perches <joe@perches.com>
Date: 2012-11-27 15:56:44

On Tue, 2012-11-27 at 14:28 +0000, Steve Glendinning wrote:
This patch enables LAN7500 family devices to wake from suspend
on either link up or link down events.
[]
quoted hunk ↗ jump to hunk
diff --git a/drivers/net/usb/smsc75xx.c b/drivers/net/usb/smsc75xx.c
[]
+static int smsc75xx_enter_suspend1(struct usbnet *dev)
+{
+	u32 val;
+	int ret;
+
+	ret = smsc75xx_read_reg_nopm(dev, PMT_CTL, &val);
+	check_warn_return(ret, "Error reading PMT_CTL");
Hi Steve, can you please add newlines to these new
check_warn_<foo> messages and the netdev_<level> ones too?
It helps avoid message interleaving.
+		if (!link_up) {
+			struct mii_if_info *mii = &dev->mii;
+			netdev_info(dev->net, "entering SUSPEND1 mode");
etc..
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help