Searched refs:c7000_devices (Results 1 – 1 of 1) sorted by relevance
426 struct net_device c7000_devices[MAX_C7000]; variable3160 memset(&c7000_devices[i], '\0', sizeof(struct net_device)); in init_module()3161 strcpy(c7000_devices[i].name, ifnames[i]); in init_module()3162 c7000_devices[i].base_addr = bases[i]; in init_module()3163 c7000_devices[i].init = c7000_init; in init_module()3170 if ((result = register_netdev(&c7000_devices[i])) != 0) { in init_module()3173 c7000_devices[i].base_addr = -1; in init_module()3206 if (c7000_devices[i].base_addr != -1) { in cleanup_module()3208 ccp = (struct c7000_controller *) c7000_devices[i].priv; in cleanup_module()3221 unregister_netdev(&c7000_devices[i]); in cleanup_module()