From: Dan Aloni <da-x@monatomic.org>
To: Linux Kernel List <linux-kernel@vger.kernel.org>
Cc: John Stoffel <john@stoffel.org>
Subject: Re: [PATCH] sata_mv: stabilize for 5081 and other fixes
Date: Thu, 9 Mar 2006 08:37:43 +0200 [thread overview]
Message-ID: <20060309063743.GA23297@localdomain> (raw)
> Dan> - MV_MAX_SG_CT = 176,
> Dan> + MV_MAX_SG_CT = 256,
> Dan> MV_SG_TBL_SZ = (16 * MV_MAX_SG_CT),
> Dan> - MV_PORT_PRIV_DMA_SZ = (MV_CRQB_Q_SZ + MV_CRPB_Q_SZ + MV_SG_TBL_SZ),
> Dan> + MV_PORT_PRIV_DMA1_SZ = (MV_CRQB_Q_SZ + MV_CRPB_Q_SZ),
> Dan> + MV_PORT_PRIV_DMA2_SZ = (MV_SG_TBL_SZ),
>
> I don't like these names for the reagions. DMA1 and DMA2 mean
> nothing. Should be be something a little more descriptive? And a
> comment why you split them up would be good too.
I admit I don't like these names either - however I didn't dedicate
enough time for this patch because I'd like the maintainer(s) to
give notes about my changes unrelated to coding conventions, but
thanks anyway.
If this patch is Right (tm) then I'll repost a better-looking version
of it or let the maintainer(s) implement in the way they see fit.
> Dan> +#pragma pack(1)
>
> I don't see these used anywhere else in the kernel, they should
> probably go.
It might not affect the packing anyway in this case, but I was
paranoid when I tried to fix the driver.
> Dan> -/*
> Dan> - * module options
> Dan> - */
> Dan> -static int msi; /* Use PCI msi; either zero (off, default) or non-zero */
> Dan> +static int msi; /* Use PCI msi; either zero (off, default) or non-zero */
Whoops, shouldn't have removed the comment. I guess I'll re-post
anyway.
--
Dan Aloni
da-x@monatomic.org, da-x@colinux.org, da-x@gmx.net, dan@xiv.co.il
next reply other threads:[~2006-03-09 6:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-09 6:37 Dan Aloni [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-03-08 19:46 [PATCH] sata_mv: stabilize for 5081 and other fixes Dan Aloni
2006-03-08 20:27 ` John Stoffel
2006-03-12 1:45 ` Jeff Garzik
2006-03-12 5:24 ` Dan Aloni
2006-03-12 5:49 ` Dan Aloni
2006-03-16 10:16 ` Sander
2006-03-16 13:04 ` Dan Aloni
2006-03-20 8:30 ` Sander
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=20060309063743.GA23297@localdomain \
--to=da-x@monatomic.org \
--cc=john@stoffel.org \
--cc=linux-kernel@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