tag | line | file | source code |
thiscard | 2452 | drivers/net/arcnet.c | static struct device thiscard = { |
thiscard | 2471 | drivers/net/arcnet.c | sprintf(thiscard.name,"arc%d",num); |
thiscard | 2473 | drivers/net/arcnet.c | thiscard.base_addr=io; |
thiscard | 2475 | drivers/net/arcnet.c | thiscard.irq=irqnum; |
thiscard | 2476 | drivers/net/arcnet.c | if (thiscard.irq==2) thiscard.irq=9; |
thiscard | 2480 | drivers/net/arcnet.c | thiscard.mem_start=shmem; |
thiscard | 2481 | drivers/net/arcnet.c | thiscard.mem_end=thiscard.mem_start+512*4-1; |
thiscard | 2482 | drivers/net/arcnet.c | thiscard.rmem_start=thiscard.mem_start+512*0; |
thiscard | 2483 | drivers/net/arcnet.c | thiscard.rmem_end=thiscard.mem_start+512*2-1; |
thiscard | 2486 | drivers/net/arcnet.c | if (register_netdev(&thiscard) != 0) |
thiscard | 2496 | drivers/net/arcnet.c | printk("%s: device busy, remove delayed\n",thiscard.name); |
thiscard | 2500 | drivers/net/arcnet.c | if (thiscard.start) arcnet_close(&thiscard); |
thiscard | 2501 | drivers/net/arcnet.c | if (thiscard.irq) free_irq(thiscard.irq); |
thiscard | 2502 | drivers/net/arcnet.c | if (thiscard.base_addr) release_region(thiscard.base_addr, |
thiscard | 2504 | drivers/net/arcnet.c | unregister_netdev(&thiscard); |