taglinefilesource code
thiscard3189drivers/net/arcnet.cstatic struct device thiscard = {
thiscard3207drivers/net/arcnet.cstrcpy(thiscard.name,device);
thiscard3209drivers/net/arcnet.celse if (!thiscard.name[0]) strcpy(thiscard.name,"arc0");
thiscard3212drivers/net/arcnet.cthiscard.base_addr=io;
thiscard3216drivers/net/arcnet.cthiscard.irq=irqnum;
thiscard3217drivers/net/arcnet.cif (thiscard.irq==2) thiscard.irq=9;
thiscard3221drivers/net/arcnet.cthiscard.mem_start=shmem;
thiscard3222drivers/net/arcnet.cthiscard.mem_end=thiscard.mem_start+512*4-1;
thiscard3223drivers/net/arcnet.cthiscard.rmem_start=thiscard.mem_start+512*0;
thiscard3224drivers/net/arcnet.cthiscard.rmem_end=thiscard.mem_start+512*2-1;
thiscard3227drivers/net/arcnet.cif (register_netdev(&thiscard) != 0)
thiscard3235drivers/net/arcnet.cint ioaddr=thiscard.base_addr;
thiscard3237drivers/net/arcnet.cif (thiscard.start) arcnet_close(&thiscard);
thiscard3247drivers/net/arcnet.cif (thiscard.irq)
thiscard3249drivers/net/arcnet.cirq2dev_map[thiscard.irq] = NULL;
thiscard3250drivers/net/arcnet.cfree_irq(thiscard.irq,NULL);
thiscard3253drivers/net/arcnet.cif (thiscard.base_addr) release_region(thiscard.base_addr,
thiscard3255drivers/net/arcnet.cunregister_netdev(&thiscard);
thiscard3256drivers/net/arcnet.ckfree(thiscard.priv);
thiscard3257drivers/net/arcnet.cthiscard.priv = NULL;