static void rocker_class_init(ObjectClass *klass, void *data)

{

    DeviceClass *dc = DEVICE_CLASS(klass);

    PCIDeviceClass *k = PCI_DEVICE_CLASS(klass);



    k->init = pci_rocker_init;

    k->exit = pci_rocker_uninit;

    k->vendor_id = PCI_VENDOR_ID_REDHAT;

    k->device_id = PCI_DEVICE_ID_REDHAT_ROCKER;

    k->revision = ROCKER_PCI_REVISION;

    k->class_id = PCI_CLASS_NETWORK_OTHER;

    set_bit(DEVICE_CATEGORY_NETWORK, dc->categories);

    dc->desc = "Rocker Switch";

    dc->reset = rocker_reset;

    dc->props = rocker_properties;

    dc->vmsd = &rocker_vmsd;

}

static void rocker_class_init(ObjectClass *klass, void *data)

{

    DeviceClass *dc = DEVICE_CLASS(klass);

    PCIDeviceClass *k = PCI_DEVICE_CLASS(klass);



    k->init = pci_rocker_init;

    k->exit = pci_rocker_uninit;

    k->vendor_id = PCI_VENDOR_ID_REDHAT;

    k->device_id = PCI_DEVICE_ID_REDHAT_ROCKER;

    k->revision = ROCKER_PCI_REVISION;

    k->class_id = PCI_CLASS_NETWORK_OTHER;

    set_bit(DEVICE_CATEGORY_NETWORK, dc->categories);

    dc->desc = "Rocker Switch";

    dc->reset = rocker_reset;

    dc->props = rocker_properties;

    dc->vmsd = &rocker_vmsd;

}

    k->init = pci_rocker_init;
static void FUNC_0(ObjectClass *VAR_0, void *VAR_1)

{

    DeviceClass *dc = DEVICE_CLASS(VAR_0);

    PCIDeviceClass *k = PCI_DEVICE_CLASS(VAR_0);



    k->init = pci_rocker_init;

    k->exit = pci_rocker_uninit;

    k->vendor_id = PCI_VENDOR_ID_REDHAT;

    k->device_id = PCI_DEVICE_ID_REDHAT_ROCKER;

    k->revision = ROCKER_PCI_REVISION;

    k->class_id = PCI_CLASS_NETWORK_OTHER;

    set_bit(DEVICE_CATEGORY_NETWORK, dc->categories);

    dc->desc = "Rocker Switch";

    dc->reset = rocker_reset;

    dc->props = rocker_properties;

    dc->vmsd = &rocker_vmsd;

}

static void FUNC_0(ObjectClass *VAR_0, void *VAR_1)
{ DeviceClass *dc = DEVICE_CLASS(VAR_0); PCIDeviceClass *k = PCI_DEVICE_CLASS(VAR_0); k->init = pci_rocker_init; k->exit = pci_rocker_uninit; k->vendor_id = PCI_VENDOR_ID_REDHAT; k->device_id = PCI_DEVICE_ID_REDHAT_ROCKER; k->revision = ROCKER_PCI_REVISION; k->class_id = PCI_CLASS_NETWORK_OTHER; set_bit(DEVICE_CATEGORY_NETWORK, dc->categories); dc->desc = "Rocker Switch"; dc->reset = rocker_reset; dc->props = rocker_properties; dc->vmsd = &rocker_vmsd; }