From: George Kashperko <george@znau.edu.ua>
To: linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [RFC] How to rename SSB_TMSLOW_*, B43_TMSLOW_*?
Date: Wed, 16 Feb 2011 16:58:40 +0200 [thread overview]
Message-ID: <1297868320.24013.18.camel@dev.znau.edu.ua> (raw)
In-Reply-To: <AANLkTimKE+WqChVf0XpeHsfHxT8=3vbnBh=Lo+1tLSwj@mail.gmail.com>
Hi,
> Except for following 3 defines:
> #define SSB_TMSLOW_RESET 0x00000001 /* Reset */
> #define SSB_TMSLOW_REJECT_22 0x00000002 /* Reject (Backplane rev 2.2) */
> #define SSB_TMSLOW_REJECT_23 0x00000004 /* Reject (Backplane rev 2.3) */
>
> All our SSB_TMSLOW_* and B43_TMSLOW_* defines are some core control
> bits. As we now know, core control bits are not SSB specific or TMSLOW
> specific.
>
> Should we (and how) define that names in this situation?
>
> For b43 I propose (quite obvious?) B43_CORE_CTL_*.
>
> However what about SSB_TMSLOW_*? George proposed SSB_CORECTL_*, but it
> contains "SSB", while that bits are not SSB specific. Same bits are
> used on AI bus. Should we use some SSBAI_CORE_CTL_* then? Any other
> ideas? Some better maybe?
I'm still sure AI us much more SSB rather than lets say BCMAI. In
current SSB architecture each core software-wise is represented by 4k
registers' space with own core registers and bus-specific registers in
that single 4k page. AI cores keep own core registers same as SSB in
single 4k space whereas bus-specific registers are in separate page and
have somewhat another layout. But among all the bus specific registers
for both SSB and AI despite the fact they located in different places
they either share the same meaning with just different layout
(TMSLOW/TMSHIGH) or can be abstracted by appropriate handlers
(admatch/irqflag). It looks to me much like pcie and pci which share
single software bus ideology rather than introducing two different
buses. Therefore I still don't really convinced with idea that just for
that difference in where bus-specific registers are located we should
introduce one more bus. Actually it looks somewhat similar to
core-wrappers' technique already in SSB - those admatch thingys used to
access sub-cores withing SSB core. We don't expose any sw buildups for
just those, same as we could do for AI if only let it share SSB code
base.
>
> P.S.
> Personally I prefer CORE_CTL over CORECTL (George). Which one should we use?
>
I decided on CORECTL/CORESTAT over CORE_CTL/CORE_STATE just to get long
things to be bits shorter.
Have nice day,
George
next prev parent reply other threads:[~2011-02-16 15:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-16 13:13 [RFC] How to rename SSB_TMSLOW_*, B43_TMSLOW_*? Rafał Miłecki
2011-02-16 14:58 ` George Kashperko [this message]
2011-02-16 22:17 ` Michael Büsch
2011-02-17 12:14 ` Rafał Miłecki
2011-02-17 22:00 ` Michael Büsch
2011-02-17 22:15 ` Rafał Miłecki
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=1297868320.24013.18.camel@dev.znau.edu.ua \
--to=george@znau.edu.ua \
--cc=linux-wireless@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).