netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
To: dcbw-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	duncan.sands-GANU6spQydw@public.gmane.org,
	linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	hicham.haouari-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Subject: Re: [PATCH] ueagle-atm: fix PHY signal initialization race
Date: Tue, 28 Dec 2010 13:42:01 -0800 (PST)	[thread overview]
Message-ID: <20101228.134201.189717347.davem@davemloft.net> (raw)
In-Reply-To: <1292782671.5282.20.camel-wKZy7rqYPVb5EHUCmHmTqw@public.gmane.org>

From: Dan Williams <dcbw-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Date: Sun, 19 Dec 2010 12:17:50 -0600

> A race exists when initializing ueagle-atm devices where the generic atm
> device may not yet be created before the driver attempts to initialize
> it's PHY signal state, which checks whether the atm device has been
> created or not.  This often causes the sysfs 'carrier' attribute to be
> '1' even though no signal has actually been found.
> 
> uea_probe
>    usbatm_usb_probe
>       driver->bind (uea_bind)
>          uea_boot
>             kthread_run(uea_kthread)     uea_kthread
>       usbatm_atm_init                       uea_start_reset
>          atm_dev_register                      UPDATE_ATM_SIGNAL
 ...
> Signed-off-by: Dan Williams <dcbw-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

Applied, thanks Dan.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2010-12-28 21:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-19 18:17 [PATCH] ueagle-atm: fix PHY signal initialization race Dan Williams
     [not found] ` <1292782671.5282.20.camel-wKZy7rqYPVb5EHUCmHmTqw@public.gmane.org>
2010-12-28 21:42   ` David Miller [this message]

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=20101228.134201.189717347.davem@davemloft.net \
    --to=davem-ft/pcqaiutieiz0/mpfg9q@public.gmane.org \
    --cc=dcbw-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=duncan.sands-GANU6spQydw@public.gmane.org \
    --cc=hicham.haouari-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.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).