taglinefilesource code
thiscard2452drivers/net/arcnet.cstatic struct device thiscard = {
thiscard2471drivers/net/arcnet.csprintf(thiscard.name,"arc%d",num);
thiscard2473drivers/net/arcnet.cthiscard.base_addr=io;
thiscard2475drivers/net/arcnet.cthiscard.irq=irqnum;
thiscard2476drivers/net/arcnet.cif (thiscard.irq==2) thiscard.irq=9;
thiscard2480drivers/net/arcnet.cthiscard.mem_start=shmem;
thiscard2481drivers/net/arcnet.cthiscard.mem_end=thiscard.mem_start+512*4-1;
thiscard2482drivers/net/arcnet.cthiscard.rmem_start=thiscard.mem_start+512*0;
thiscard2483drivers/net/arcnet.cthiscard.rmem_end=thiscard.mem_start+512*2-1;
thiscard2486drivers/net/arcnet.cif (register_netdev(&thiscard) != 0)
thiscard2496drivers/net/arcnet.cprintk("%s: device busy, remove delayed\n",thiscard.name);
thiscard2500drivers/net/arcnet.cif (thiscard.start) arcnet_close(&thiscard);
thiscard2501drivers/net/arcnet.cif (thiscard.irq) free_irq(thiscard.irq);
thiscard2502drivers/net/arcnet.cif (thiscard.base_addr) release_region(thiscard.base_addr,
thiscard2504drivers/net/arcnet.cunregister_netdev(&thiscard);