Ejemplo n.º 1
0
static int pci_tnetw1130_init(PCIDevice* pci_dev)
{
#if defined(DEBUG_TNETW1130)
    set_traceflags("DEBUG_TNETW1130");
#endif
    TRACE(TNETW, logout("\n"));
    return tnetw1130_init(pci_dev);
}
Ejemplo n.º 2
0
PCIDevice *pci_tnetw1130_init(PCIBus * bus, NICInfo * nd, int devfn)
{
    pci_tnetw1130_t *d = (pci_tnetw1130_t *) pci_register_device(bus, "TNETW1130",
                         sizeof(pci_tnetw1130_t),
                         -1, NULL, NULL);
#if defined(DEBUG_TNETW1130)
    set_traceflags("DEBUG_TNETW1130");
#endif
    TRACE(TNETW, logout("\n"));
    tnetw1130_init(d, nd);
    return (PCIDevice *)d;
}