From: Michael Buesch <mb@bu3sch.de>
To: bcm43xx-dev@lists.berlios.de
Cc: John Linville <linville@tuxdriver.com>,
linux-wireless@vger.kernel.org,
Larry Finger <larry.finger@lwfinger.net>
Subject: Re: [PATCH] b43: Simplify and cleanup debugfs infrastructure
Date: Sun, 9 Sep 2007 14:12:22 +0200 [thread overview]
Message-ID: <200709091412.22672.mb@bu3sch.de> (raw)
In-Reply-To: <200709091353.52002.mb@bu3sch.de>
On Sunday 09 September 2007 13:53:51 Michael Buesch wrote:
> Index: wireless-dev/drivers/net/wireless/b43/main.c
> ===================================================================
> --- wireless-dev.orig/drivers/net/wireless/b43/main.c 2007-09-07 16:36:00.000000000 +0200
> +++ wireless-dev/drivers/net/wireless/b43/main.c 2007-09-09 13:27:14.000000000 +0200
> @@ -762,7 +762,6 @@ static void keymac_write(struct b43_wlde
> */
> if (index < 8) {
> /* TODO write to RCM 16, 19, 22 and 25 */
> - TODO();
> } else {
> b43_shm_write32(dev, B43_SHM_SHARED,
> B43_SHM_SH_PSM + (index * 6) + 0,
> @@ -3593,19 +3592,23 @@ static void b43_chip_reset(struct work_s
>
> mutex_lock(&wl->mutex);
>
> +printk("RESTART\n");
> prev_status = b43_status(dev);
> /* Bring the device down... */
> if (prev_status >= B43_STAT_STARTED)
> b43_wireless_core_stop(dev);
> +printk("exit\n");
> if (prev_status >= B43_STAT_INITIALIZED)
> b43_wireless_core_exit(dev);
>
> +printk("init\n");
> /* ...and up again. */
> if (prev_status >= B43_STAT_INITIALIZED) {
> err = b43_wireless_core_init(dev);
> if (err)
> goto out;
> }
> +printk("start\n");
> if (prev_status >= B43_STAT_STARTED) {
> err = b43_wireless_core_start(dev);
> if (err) {
> @@ -3613,6 +3616,7 @@ static void b43_chip_reset(struct work_s
> goto out;
> }
> }
> +printk("done\n");
> out:
> mutex_unlock(&wl->mutex);
> if (err)
Whoopsy. Seems like I should remove debugging code before submission :)
--
Greetings Michael.
prev parent reply other threads:[~2007-09-09 12:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-09 11:53 [PATCH] b43: Simplify and cleanup debugfs infrastructure Michael Buesch
2007-09-09 12:12 ` Michael Buesch [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=200709091412.22672.mb@bu3sch.de \
--to=mb@bu3sch.de \
--cc=bcm43xx-dev@lists.berlios.de \
--cc=larry.finger@lwfinger.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/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).