break; case e1000_82573: hw->bus_type = e1000_bus_type_pci_express; hw->bus_speed = e1000_bus_speed_2500; hw->bus_width = e1000_bus_width_pciex_4; 
e1000_get_bus_info(struct e1000_hw *hw){    uint32_t status;    switch (hw->mac_type) {    case e1000_82542_rev2_0:    case e1000_82542_rev2_1:        hw->bus_type = e1000_bus_type_unknown;        hw->bus_speed = e1000_bus_speed_unknown;        hw->bus_width = e1000_bus_width_unknown;        break;    default:        status = E1000_READ_REG(hw, STATUS);        hw->bus_type = (status & E1000_STATUS_PCIX_MODE) ?                       e1000_bus_type_pcix : e1000_bus_type_pci;        if(hw->device_id == E1000_DEV_ID_82546EB_QUAD_COPPER) {            hw->bus_speed = (hw->bus_type == e1000_bus_type_pci) ?                            e1000_bus_speed_66 : e1000_bus_speed_120;        } else if(hw->bus_type == e1000_bus_type_pci) {            hw->bus_speed = (status & E1000_STATUS_PCI66) ?                            e1000_bus_speed_66 : e1000_bus_speed_33;        } else {            switch (status & E1000_STATUS_PCIX_SPEED) {            case E1000_STATUS_PCIX_SPEED_66:                hw->bus_speed = e1000_bus_speed_66;                break;            case E1000_STATUS_PCIX_SPEED_100:                hw->bus_speed = e1000_bus_speed_100;                break;            case E1000_STATUS_PCIX_SPEED_133:                hw->bus_speed = e1000_bus_speed_133;                break;            default:                hw->bus_speed = e1000_bus_speed_reserved;                break;            }        }        hw->bus_width = (status & E1000_STATUS_BUS64) ?                        e1000_bus_width_64 : e1000_bus_width_32;        break;    }}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/2d7edb923a823660b081bd4c660300ee19adca8d/e1000_hw.c/buggy/drivers/net/e1000/e1000_hw.c