aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libnl-tiny/src/include/netlink/msg.h
diff options
context:
space:
mode:
authorThibaut VARENE <hacks@slashdirt.org>2017-02-12 17:11:08 +0100
committerJohn Crispin <john@phrozen.org>2017-02-14 12:19:12 +0100
commit157353c2101f5dcad2144bf2a9049c6c74fd2dcb (patch)
tree30013c458837032be3bc2f4a0bd0df75897cd8f3 /package/libs/libnl-tiny/src/include/netlink/msg.h
parentcdf51bf46ae5154e46ac9cc77c3fab79c12dec56 (diff)
downloadupstream-157353c2101f5dcad2144bf2a9049c6c74fd2dcb.tar.gz
upstream-157353c2101f5dcad2144bf2a9049c6c74fd2dcb.tar.bz2
upstream-157353c2101f5dcad2144bf2a9049c6c74fd2dcb.zip
ramips: WN3000RPv3: do not setup switch
The WN3000RPv3 is a repeater with a single ethernet port. Setting up the switch, even to disable it, is unnecessary and possibly confusing. Configure LAN as eth0 instead. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
Diffstat (limited to 'package/libs/libnl-tiny/src/include/netlink/msg.h')
0 files changed, 0 insertions, 0 deletions
nt-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
/*
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *
 * Copyright (C) IBM Corp. 2005
 *
 * Authors: Jimi Xenidis <jimix@watson.ibm.com>
 */

#ifndef _TCE_H
#define _TCE_H

#include <xen/config.h>
#include <xen/types.h>

union tce {
    u64 tce_dword;
    struct tce_bits {
        /* the bits here reflect the definition in Linux */
        /* the RPA considers all 52 bits to be the RPN */
        u64 tce_cache   : 6;
        u64 _tce_r0     : 6; /* reserved */
        u64 tce_rpn     :40; /* Real Page Number */

        /* The RPA considers the next 10 bits reserved */
        u64 tce_v       : 1; /* Valid bit */
        u64 tce_vlps    : 1; /* Valid for LPs */
        u64 tce_lpx     : 8; /* LP index */

        /* the RPA defines the following two bits as:
         *   00: no access
         *   01: System Address read only
         *   10: System Address write only
         *   11: read/write
         */
        u64 tce_write   : 1;
        u64 tce_read    : 1;
    } tce_bits;
};

union tce_bdesc {
    u64 lbd_dword;
    struct lbd_bits {
        u64 lbd_ctrl_v          : 1;
        u64 lbd_ctrl_vtoggle    : 1;
        u64 _lbd_ctrl_res0      : 6;
        u64 lbd_len             :24;
        u64 lbd_addr            :32;
    } lbd_bits;
};

struct tce_data {
    ulong t_entries;
    ulong t_base;
    ulong t_alloc_size;
    union tce *t_tce;
};

#endif /* _TCE_H */