require '_h2ph_pre.ph';

unless(defined(&_LINUX_ETHTOOL_H)) {
    eval 'sub _LINUX_ETHTOOL_H () {1;}' unless defined(&_LINUX_ETHTOOL_H);
    eval 'sub ETHTOOL_BUSINFO_LEN () {32;}' unless defined(&ETHTOOL_BUSINFO_LEN);
    eval 'sub SOPASS_MAX () {6;}' unless defined(&SOPASS_MAX);
    eval 'sub ETHTOOL_GSET () {0x1;}' unless defined(&ETHTOOL_GSET);
    eval 'sub ETHTOOL_SSET () {0x2;}' unless defined(&ETHTOOL_SSET);
    eval 'sub ETHTOOL_GDRVINFO () {0x3;}' unless defined(&ETHTOOL_GDRVINFO);
    eval 'sub ETHTOOL_GREGS () {0x4;}' unless defined(&ETHTOOL_GREGS);
    eval 'sub ETHTOOL_GWOL () {0x5;}' unless defined(&ETHTOOL_GWOL);
    eval 'sub ETHTOOL_SWOL () {0x6;}' unless defined(&ETHTOOL_SWOL);
    eval 'sub ETHTOOL_GMSGLVL () {0x7;}' unless defined(&ETHTOOL_GMSGLVL);
    eval 'sub ETHTOOL_SMSGLVL () {0x8;}' unless defined(&ETHTOOL_SMSGLVL);
    eval 'sub ETHTOOL_NWAY_RST () {0x9;}' unless defined(&ETHTOOL_NWAY_RST);
    eval 'sub ETHTOOL_GLINK () {0xa;}' unless defined(&ETHTOOL_GLINK);
    eval 'sub ETHTOOL_GEEPROM () {0xb;}' unless defined(&ETHTOOL_GEEPROM);
    eval 'sub ETHTOOL_SEEPROM () {0xc;}' unless defined(&ETHTOOL_SEEPROM);
    eval 'sub SPARC_ETH_GSET () { &ETHTOOL_GSET;}' unless defined(&SPARC_ETH_GSET);
    eval 'sub SPARC_ETH_SSET () { &ETHTOOL_SSET;}' unless defined(&SPARC_ETH_SSET);
    eval 'sub SUPPORTED_10baseT_Half () {(1<< 0);}' unless defined(&SUPPORTED_10baseT_Half);
    eval 'sub SUPPORTED_10baseT_Full () {(1<< 1);}' unless defined(&SUPPORTED_10baseT_Full);
    eval 'sub SUPPORTED_100baseT_Half () {(1<< 2);}' unless defined(&SUPPORTED_100baseT_Half);
    eval 'sub SUPPORTED_100baseT_Full () {(1<< 3);}' unless defined(&SUPPORTED_100baseT_Full);
    eval 'sub SUPPORTED_1000baseT_Half () {(1<< 4);}' unless defined(&SUPPORTED_1000baseT_Half);
    eval 'sub SUPPORTED_1000baseT_Full () {(1<< 5);}' unless defined(&SUPPORTED_1000baseT_Full);
    eval 'sub SUPPORTED_Autoneg () {(1<< 6);}' unless defined(&SUPPORTED_Autoneg);
    eval 'sub SUPPORTED_TP () {(1<< 7);}' unless defined(&SUPPORTED_TP);
    eval 'sub SUPPORTED_AUI () {(1<< 8);}' unless defined(&SUPPORTED_AUI);
    eval 'sub SUPPORTED_MII () {(1<< 9);}' unless defined(&SUPPORTED_MII);
    eval 'sub SUPPORTED_FIBRE () {(1<< 10);}' unless defined(&SUPPORTED_FIBRE);
    eval 'sub SUPPORTED_BNC () {(1<< 11);}' unless defined(&SUPPORTED_BNC);
    eval 'sub ADVERTISED_10baseT_Half () {(1<< 0);}' unless defined(&ADVERTISED_10baseT_Half);
    eval 'sub ADVERTISED_10baseT_Full () {(1<< 1);}' unless defined(&ADVERTISED_10baseT_Full);
    eval 'sub ADVERTISED_100baseT_Half () {(1<< 2);}' unless defined(&ADVERTISED_100baseT_Half);
    eval 'sub ADVERTISED_100baseT_Full () {(1<< 3);}' unless defined(&ADVERTISED_100baseT_Full);
    eval 'sub ADVERTISED_1000baseT_Half () {(1<< 4);}' unless defined(&ADVERTISED_1000baseT_Half);
    eval 'sub ADVERTISED_1000baseT_Full () {(1<< 5);}' unless defined(&ADVERTISED_1000baseT_Full);
    eval 'sub ADVERTISED_Autoneg () {(1<< 6);}' unless defined(&ADVERTISED_Autoneg);
    eval 'sub ADVERTISED_TP () {(1<< 7);}' unless defined(&ADVERTISED_TP);
    eval 'sub ADVERTISED_AUI () {(1<< 8);}' unless defined(&ADVERTISED_AUI);
    eval 'sub ADVERTISED_MII () {(1<< 9);}' unless defined(&ADVERTISED_MII);
    eval 'sub ADVERTISED_FIBRE () {(1<< 10);}' unless defined(&ADVERTISED_FIBRE);
    eval 'sub ADVERTISED_BNC () {(1<< 11);}' unless defined(&ADVERTISED_BNC);
    eval 'sub SPEED_10 () {10;}' unless defined(&SPEED_10);
    eval 'sub SPEED_100 () {100;}' unless defined(&SPEED_100);
    eval 'sub SPEED_1000 () {1000;}' unless defined(&SPEED_1000);
    eval 'sub DUPLEX_HALF () {0x;}' unless defined(&DUPLEX_HALF);
    eval 'sub DUPLEX_FULL () {0x1;}' unless defined(&DUPLEX_FULL);
    eval 'sub PORT_TP () {0x;}' unless defined(&PORT_TP);
    eval 'sub PORT_AUI () {0x1;}' unless defined(&PORT_AUI);
    eval 'sub PORT_MII () {0x2;}' unless defined(&PORT_MII);
    eval 'sub PORT_FIBRE () {0x3;}' unless defined(&PORT_FIBRE);
    eval 'sub PORT_BNC () {0x4;}' unless defined(&PORT_BNC);
    eval 'sub XCVR_INTERNAL () {0x;}' unless defined(&XCVR_INTERNAL);
    eval 'sub XCVR_EXTERNAL () {0x1;}' unless defined(&XCVR_EXTERNAL);
    eval 'sub XCVR_DUMMY1 () {0x2;}' unless defined(&XCVR_DUMMY1);
    eval 'sub XCVR_DUMMY2 () {0x3;}' unless defined(&XCVR_DUMMY2);
    eval 'sub XCVR_DUMMY3 () {0x4;}' unless defined(&XCVR_DUMMY3);
    eval 'sub AUTONEG_DISABLE () {0x;}' unless defined(&AUTONEG_DISABLE);
    eval 'sub AUTONEG_ENABLE () {0x1;}' unless defined(&AUTONEG_ENABLE);
    eval 'sub WAKE_PHY () {(1<< 0);}' unless defined(&WAKE_PHY);
    eval 'sub WAKE_UCAST () {(1<< 1);}' unless defined(&WAKE_UCAST);
    eval 'sub WAKE_MCAST () {(1<< 2);}' unless defined(&WAKE_MCAST);
    eval 'sub WAKE_BCAST () {(1<< 3);}' unless defined(&WAKE_BCAST);
    eval 'sub WAKE_ARP () {(1<< 4);}' unless defined(&WAKE_ARP);
    eval 'sub WAKE_MAGIC () {(1<< 5);}' unless defined(&WAKE_MAGIC);
    eval 'sub WAKE_MAGICSECURE () {(1<< 6);}' unless defined(&WAKE_MAGICSECURE);
}
1;
