netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Stezenbach <js@sig21.net>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH 8/8] alx: remove WoL support
Date: Sat, 29 Jun 2013 21:12:48 +0200	[thread overview]
Message-ID: <20130629191248.GA10570@sig21.net> (raw)
In-Reply-To: <1372526600-15934-9-git-send-email-johannes@sipsolutions.net>

On Sat, Jun 29, 2013 at 07:23:20PM +0200, Johannes Berg wrote:
> Unfortunately, WoL is broken and the system will immediately
> resume after suspending, and I can't seem to figure out why.
> Remove WoL support until the issue can be found.
...
> -#ifdef CONFIG_PM_SLEEP
> -static SIMPLE_DEV_PM_OPS(alx_pm_ops, alx_suspend, alx_resume);
> -#define ALX_PM_OPS      (&alx_pm_ops)
> -#else
> -#define ALX_PM_OPS      NULL
> -#endif
> -
>  static DEFINE_PCI_DEVICE_TABLE(alx_pci_tbl) = {
>  	{ PCI_VDEVICE(ATTANSIC, ALX_DEV_ID_AR8161),
>  	  .driver_data = ALX_DEV_QUIRK_MSI_INTX_DISABLE_BUG },
> @@ -1614,9 +1472,7 @@ static struct pci_driver alx_driver = {
>  	.id_table    = alx_pci_tbl,
>  	.probe       = alx_probe,
>  	.remove      = alx_remove,
> -	.shutdown    = alx_shutdown,
>  	.err_handler = &alx_err_handlers,
> -	.driver.pm   = ALX_PM_OPS,
>  };

Not sure but doesn't that mean the driver breaks after suspend?
I think you removed too much, not just WOL support but all pm handling.


Johannes

  reply	other threads:[~2013-06-29 19:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-29 17:23 [PATCH 0/8] alx fixes/improvements Johannes Berg
2013-06-29 17:23 ` [PATCH 1/8] alx: treat flow control correctly in alx_set_pauseparam() Johannes Berg
2013-06-29 17:23 ` [PATCH 2/8] alx: fix 100mbit/half duplex speed translation Johannes Berg
2013-06-29 17:23 ` [PATCH 3/8] alx: remove NET_CORE Kconfig select Johannes Berg
2013-06-29 17:23 ` [PATCH 4/8] alx: make sizes unsigned Johannes Berg
2013-06-29 17:23 ` [PATCH 5/8] alx: separate link speed/duplex fields Johannes Berg
2013-06-29 17:23 ` [PATCH 6/8] alx: fix MAC address alignment problem Johannes Berg
2013-06-29 17:23 ` [PATCH 7/8] alx: fix ethtool support code Johannes Berg
2013-06-29 17:23 ` [PATCH 8/8] alx: remove WoL support Johannes Berg
2013-06-29 19:12   ` Johannes Stezenbach [this message]
2013-06-29 19:40     ` Johannes Berg
2013-06-30 15:03       ` Johannes Stezenbach
2013-07-01 20:18 ` [PATCH 0/8] alx fixes/improvements David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130629191248.GA10570@sig21.net \
    --to=js@sig21.net \
    --cc=johannes@sipsolutions.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).