All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arend van Spriel <arend@broadcom.com>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: "Rafał Miłecki" <zajec5@gmail.com>,
	linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH 3/8] bcma: add agent IOCTL bit values for Broadcom 802.11 and CR4 cores
Date: Wed, 15 Jan 2014 16:33:29 +0100	[thread overview]
Message-ID: <52D6AA49.6000707@broadcom.com> (raw)
In-Reply-To: <CACna6ryGU_Rc-iJDJWAjjrKLteg7eyPVorasB-cR4sDhE8o8dw@mail.gmail.com>

On 01/14/2014 07:29 AM, Rafał Miłecki wrote:
> 2014/1/13 Arend van Spriel <arend@broadcom.com>:
>> The IOCTL register in the agent/wrapper contains additional bits
>> that are core specific and use in the core reset sequence.
> 
> I'm not sure about this. I don't think we want to keep device-specific
> bits in a commond (bcma's) code.

Hi John,

Given that I agree with Rafał's argument, can you drop patch #3 from
this series. I applied the other patches using 'git am -3' and that
works. Let me know if I should resend them.

Gr. AvS

> For example, I can't see PCI defines (like linux/pci_regs.h) having
> any device specific bits in this shared code.
> 
> Our case with bcma is a bit more tricky, because we have a single
> register with common and device-specific bits at the same time. So
> maybe I'll find another example.
> 
> What about USB? Let's say linux/usb/ch9.h. There is a struct
> usb_ctrlrequest that has bRequestType and bRequest.
> bRequestType accepts some common values like USB_DIR_IN,
> USB_RECIP_INTERFACE, etc. They are defined in the same file.
> bRequest values are device-specific and you don't have them defined in
> the above file.
> That makes pretty much sense for me.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


  parent reply	other threads:[~2014-01-15 15:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-13 21:20 [PATCH 0/8] brcmfmac: cleanup work for 3.14 Arend van Spriel
2014-01-13 21:20 ` [PATCH 1/8] brcmfmac: Create common nvram parsing routines Arend van Spriel
2014-01-13 21:20 ` [PATCH 2/8] brcmfmac: update core reset and disable routines Arend van Spriel
2014-01-13 21:20 ` [PATCH 3/8] bcma: add agent IOCTL bit values for Broadcom 802.11 and CR4 cores Arend van Spriel
2014-01-14  6:29   ` Rafał Miłecki
2014-01-14 16:05     ` Arend van Spriel
2014-01-14 19:25       ` Rafał Miłecki
2014-01-15 15:45         ` Arend van Spriel
2014-01-15 15:33     ` Arend van Spriel [this message]
2014-01-16 18:50       ` John W. Linville
2014-01-13 21:20 ` [PATCH 4/8] brcmfmac: rework firmware download code Arend van Spriel
2014-01-13 21:20 ` [PATCH 5/8] brcmfmac: restructure brcmf_sdio_chip_recognition() Arend van Spriel
2014-01-13 21:20 ` [PATCH 6/8] brcmfmac: rename chip and core related structures Arend van Spriel
2014-01-13 21:20 ` [PATCH 7/8] brcmfmac: initialize escan function pointer during scheduled scan Arend van Spriel
2014-01-13 21:20 ` [PATCH 8/8] brcmfmac: handle SDIO card removal Arend van Spriel

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=52D6AA49.6000707@broadcom.com \
    --to=arend@broadcom.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=zajec5@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.