[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0CE8B6BE3C4AD74AB97D9D29BD24E55201303EA2@CORPEXCH1.na.ads.idt.com>
Date: Mon, 20 Sep 2010 12:49:30 -0700
From: "Bounine, Alexandre" <Alexandre.Bounine@....com>
To: "Andrew Morton" <akpm@...ux-foundation.org>
Cc: <linux-kernel@...r.kernel.org>, <linuxppc-dev@...ts.ozlabs.org>,
"Thomas Moll" <thomas.moll@...go.com>,
"Matt Porter" <mporter@...nel.crashing.org>,
"Li Yang" <leoli@...escale.com>,
"Kumar Gala" <galak@...nel.crashing.org>,
"Micha Nelissen" <micha@...i.hopto.org>
Subject: RE: [PATCH v2 03/10] RapidIO: Use stored ingress port number instead of register read
Andrew Morton <akpm@...ux-foundation.org> wrote:
>
> The "variable length array at the end of the struct" thing is pretty
> commonly used and works well. As long as we never want to change the
> number of switches on the fly (hotplug?).
This is expected to be a "strange" array - its size can be 0 or 1 only.
No number of switches in that array should be changed on the fly.
In the hotplug situation entire rio_dev structure should be added (or
removed).
RIO device can be endpoint or switch. If a RIO device is a switch - the
rio_switch
structure will be added at the end.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists