-#ifndef IFXMIPS_SW_H
-#define IFXMIPS_SW_H
-
-
-
-/******************************************************************************
-**
-** FILE NAME : ifxmips_sw.h
-** PROJECT : IFXMips
-** MODULES : ETH Interface (MII0)
-**
-** DATE : 11 AUG 2005
-** AUTHOR : Wu Qi Ming
-** DESCRIPTION : ETH Interface (MII0) Driver Header File
-** COPYRIGHT : Copyright (c) 2006
-** Infineon Technologies AG
-** Am Campeon 1-12, 85579 Neubiberg, Germany
-**
-** 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.
-**
-** HISTORY
-** $Date $Author $Comment
-** 11 AUG 2005 Wu Qi Ming Initiate Version
-** 23 OCT 2006 Xu Liang Add GPL header.
-*******************************************************************************/
-
-
-#define SET_ETH_SPEED_AUTO SIOCDEVPRIVATE
-#define SET_ETH_SPEED_10 SIOCDEVPRIVATE+1
-#define SET_ETH_SPEED_100 SIOCDEVPRIVATE+2
-#define SET_ETH_DUPLEX_AUTO SIOCDEVPRIVATE+3
-#define SET_ETH_DUPLEX_HALF SIOCDEVPRIVATE+4
-#define SET_ETH_DUPLEX_FULL SIOCDEVPRIVATE+5
-#define SET_ETH_REG SIOCDEVPRIVATE+6
-#define VLAN_TOOLS SIOCDEVPRIVATE+7
-#define MAC_TABLE_TOOLS SIOCDEVPRIVATE+8
-#define SET_VLAN_COS SIOCDEVPRIVATE+9
-#define SET_DSCP_COS SIOCDEVPRIVATE+10
-#define ENABLE_VLAN_CLASSIFICATION SIOCDEVPRIVATE+11
-#define DISABLE_VLAN_CLASSIFICATION SIOCDEVPRIVATE+12
-#define VLAN_CLASS_FIRST SIOCDEVPRIVATE+13
-#define VLAN_CLASS_SECOND SIOCDEVPRIVATE+14
-#define ENABLE_DSCP_CLASSIFICATION SIOCDEVPRIVATE+15
-#define DISABLE_DSCP_CLASSIFICATION SIOCDEVPRIVATE+16
-#define PASS_UNICAST_PACKETS SIOCDEVPRIVATE+17
-#define FILTER_UNICAST_PACKETS SIOCDEVPRIVATE+18
-#define KEEP_BROADCAST_PACKETS SIOCDEVPRIVATE+19
-#define DROP_BROADCAST_PACKETS SIOCDEVPRIVATE+20
-#define KEEP_MULTICAST_PACKETS SIOCDEVPRIVATE+21
-#define DROP_MULTICAST_PACKETS SIOCDEVPRIVATE+22
-
-
-/*===mac table commands==*/
-#define RESET_MAC_TABLE 0
-#define READ_MAC_ENTRY 1
-#define WRITE_MAC_ENTRY 2
-#define ADD_MAC_ENTRY 3
-
-/*====vlan commands===*/
-
-#define CHANGE_VLAN_CTRL 0
-#define READ_VLAN_ENTRY 1
-#define UPDATE_VLAN_ENTRY 2
-#define CLEAR_VLAN_ENTRY 3
-#define RESET_VLAN_TABLE 4
-#define ADD_VLAN_ENTRY 5