Re: [PATCH 1/2] pci, msi: Remove unused/obsolete macros anddefinitions

From: Jesse Barnes
Date: Tue May 05 2009 - 14:38:00 EST


On Mon, 20 Apr 2009 10:54:52 +0900
Hidetoshi Seto <seto.hidetoshi@xxxxxxxxxxxxxx> wrote:

> Impact: cleanup, spec compliance
>
> This patch does:
>
> - Remove unused msi/msix_enable/disable macros.
> User should use msi/msix_set_enable() functions instead.
>
> - Remove unused msix_mask/unmask/pending macros.
> These macros are useless because they are not based on any of
> the PCI Local Bus Specifications properly.
> It seems that they were written based on a draft of PCI spec,
> and that the draft was the MSI-X ECN that underwent membership
> review in September 2002.
> (* In the draft, the size of a entry in MSI-X table was 64bit,
> containing 32bit message data and DWORD aligned lower address
> plus a pending bit and a mask bit.(30+1+1bit) The higher
> address was placed in MSI-X capability structure and shared
> by all entries.)
>
> - Remove PCI_MSIX_FLAGS_BITMASK.
> This definition also come from the draft ECN.
>
> Signed-off-by: Hidetoshi Seto <seto.hidetoshi@xxxxxxxxxxxxxx>
> Cc: Jesse Barnes <jbarnes@xxxxxxxxxxxxxxxx>

Applied to my linux-next branch, thanks.

--
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/