[lkml]   [2006]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] powerpc: Kill machine numbers
    On Friday 24 March 2006 09:01, Benjamin Herrenschmidt wrote:
    > > > -struct machdep_calls __initdata cell_md = {
    > > > +define_machine(cell) {
    > > >     .probe                  = cell_probe,
    > > >     .setup_arch             = cell_setup_arch,
    > > >     .init_early             = cell_init_early,
    > >
    > > You forgot to add a .name value here.
    > Yup, thanks. I think this should become cpb instead of cell, other cell
    > based boards would then have different ppc_md's though they could share
    > various routines.

    The cpb name come from an outdated code name for what we currently
    call the cell blade. My current understanding is that we try to keep
    a common machine description for at least those machines that are
    running without a hypervisor underneath them but based on rtas,
    while then adding new machine descriptions for others.

    However I really want to avoid having to add a new machine description
    every time a company comes up with a new board design. As long
    as they get everything right in the device tree, it should just
    work (as long as all device drivers are there).

    One thing I have been wondering about is what should be the right way
    to check whether we're running on something based on the
    Cell Broadband Engine Architecture, if that is needed somewhere.
    My original idea was to make this the platform number, but this
    seems impractical now.

    Arnd <><
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-03-24 09:51    [W:0.020 / U:21.884 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site