From: "Grant Likely" <grant.likely@secretlab.ca>
To: "Matt Sealey" <matt@genesi-usa.com>
Cc: linuxppc-dev@ozlabs.org, paulus@samba.org, domen.puncer@telargo.com
Subject: Re: [PATCH v2 4/7] bestcomm: core bestcomm support for Freescale MPC5200
Date: Mon, 15 Oct 2007 15:06:43 -0600 [thread overview]
Message-ID: <fa686aa40710151406i6700db4ewde49a2551b95393e@mail.gmail.com> (raw)
In-Reply-To: <4713D35A.9080200@genesi-usa.com>
On 10/15/07, Matt Sealey <matt@genesi-usa.com> wrote:
>
> Grant Likely wrote:
> > On 10/15/07, Matt Sealey <matt@genesi-usa.com> wrote:
> >> My nits:
> >>
> >> Grant Likely wrote:
> >>> From: Sylvain Munaut <tnt@246tNt.com>
> >>> +static int __devinit
> >>> +bcom_engine_init(void)
> >> Why "bcom" and not "bestcomm"?
> >
> > I can type 'bcom' twice as fast. :-) bcom is a suitable shortening;
> > I'm not concerned about it.
>
> I hate acronyms and shortening for the sake of it.
>
> My IDE highlights known symbols from includes and lets me tab complete them :D
>
> After all once all these APIs are fixed and most of the drivers are implemented
> (most of them are, already, anyway, and have been from TaskSomething to sdma_
> to bcom_ changes and major API reworks), I wonder why we have to constantly
> cut every function definition down to 4 characters rhp_bjz_ywh_moo_purr()
>
> I'd level the same thing at bcom_eng (what's an Eng when it's at home? English?
> Engraved? Surely Engine but.. come on :)
>
> There's no real good need to shorten the names of things except when those
> shortenings are also used in the documentation - after all, PSC is what Freescale
> call a PSC, we wouldn't be making structures called mpc52xx_programmable_serial_controller,
> that's redundant, I don't think calling it "bestcomm" (which is it's name) over
> "bcom" (which isn't) works to anyone's advantage here.
bcom is used consistently within this file and its use is unambiguous.
It doesn't need to be changed for this submission.
>
> >>> + /* Disable COMM Bus Prefetch, apparently it's not reliable yet */
> >>> + /* FIXME: This should be done on 5200 and not 5200B ... */
> >>> + out_be16(&bcom_eng->regs->PtdCntrl, in_be16(&bcom_eng->regs->PtdCntrl) | 1);
> >> This really, really shouldn't even be here, could it be moved to a platform
> >> init, or switched on a PVR/SVR here?
> >
> > I think I'd like to leave it here for getting this series merged; it
> > may not be good to have it here; but it's not dangerous either. I'm
> > trying to keep churn on this series down to a minimum.
>
> Why not just accept the churn, and remove those two lines, and someone will
> submit a patch to make it work on the 5200 in the appropriate place later?
Simple; it's not my series. I'm taking the viewpoint of only changing
what is critical to change to get the code in. Those 2 lines may be
sub-optimal; but they are not *bad* or *dangerous* and they're easily
removed later. I'm pushing this change with my maintainer hat on; not
as the device driver developer and as such only making necessary
changes. My view is that it is *safe* and *good* to merge this driver
as is so that the FEC and other drivers can finally get unblocked.
Send me a patch to change it.
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195
next prev parent reply other threads:[~2007-10-15 21:06 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-14 4:41 [PATCH v2 0/7] 2nd respin of bestcomm patches Grant Likely
2007-10-14 4:41 ` [PATCH v2 1/7] exports rheap symbol to modules Grant Likely
2007-10-14 4:41 ` [PATCH v2 2/7] rheap: Changes config mechanism Grant Likely
2007-10-15 13:43 ` Kumar Gala
2007-10-15 13:55 ` Grant Likely
2007-10-15 14:03 ` Kumar Gala
2007-10-15 14:06 ` Grant Likely
2007-10-15 14:53 ` Timur Tabi
2007-10-15 14:54 ` Kumar Gala
2007-10-15 14:54 ` Timur Tabi
2007-10-15 15:09 ` Grant Likely
2007-10-14 4:42 ` [PATCH v2 3/7] mpc52xx: Update mpc52xx_psc structure with B revision changes Grant Likely
2007-10-14 4:42 ` [PATCH v2 4/7] bestcomm: core bestcomm support for Freescale MPC5200 Grant Likely
2007-10-14 11:33 ` Sven Luther
2007-10-14 20:22 ` Grant Likely
2007-10-14 20:25 ` Sven Luther
2007-10-14 21:23 ` Grant Likely
2007-10-15 6:12 ` Sven Luther
2007-10-15 11:55 ` Matt Sealey
2007-10-15 14:04 ` Grant Likely
2007-10-15 20:53 ` Matt Sealey
2007-10-15 20:55 ` Matt Sealey
2007-10-15 21:06 ` Grant Likely [this message]
2007-10-16 13:21 ` tnt
2007-10-15 14:06 ` Kumar Gala
2007-10-15 14:20 ` Grant Likely
2007-10-15 14:39 ` Matt Sealey
2007-10-14 4:42 ` [PATCH v2 5/7] bestcomm: ATA task support Grant Likely
2007-10-14 4:42 ` [PATCH v2 6/7] bestcomm: FEC " Grant Likely
2007-10-14 4:42 ` [PATCH v2 7/7] bestcomm: GenBD " Grant Likely
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=fa686aa40710151406i6700db4ewde49a2551b95393e@mail.gmail.com \
--to=grant.likely@secretlab.ca \
--cc=domen.puncer@telargo.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=matt@genesi-usa.com \
--cc=paulus@samba.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).