static int __init com90xx_init(void) { if (irq == 2) irq = 9; com90xx_probe(); if (!numcards) return -EIO; return 0; }
int init_module(void) { struct net_device *dev; int err; if (io || irq || shmem || device) { dev = dev_alloc(device ? : "arc%d", &err); if (!dev) return err; dev->base_addr = io; dev->irq = irq; if (dev->irq == 2) dev->irq = 9; dev->mem_start = shmem; com90xx_probe(dev); } else