tag | line | file | source code |
thisARCnet | 2129 | drivers/net/arcnet.c | static struct device thisARCnet = { |
thisARCnet | 2144 | drivers/net/arcnet.c | sprintf(thisARCnet.name,"arc%d",num); |
thisARCnet | 2146 | drivers/net/arcnet.c | thisARCnet.base_addr=io; |
thisARCnet | 2148 | drivers/net/arcnet.c | thisARCnet.irq=irqnum; |
thisARCnet | 2149 | drivers/net/arcnet.c | if (thisARCnet.irq==2) thisARCnet.irq=9; |
thisARCnet | 2153 | drivers/net/arcnet.c | thisARCnet.mem_start=shmem; |
thisARCnet | 2154 | drivers/net/arcnet.c | thisARCnet.mem_end=thisARCnet.mem_start+512*4-1; |
thisARCnet | 2155 | drivers/net/arcnet.c | thisARCnet.rmem_start=thisARCnet.mem_start+512*0; |
thisARCnet | 2156 | drivers/net/arcnet.c | thisARCnet.rmem_end=thisARCnet.mem_start+512*2-1; |
thisARCnet | 2159 | drivers/net/arcnet.c | if (register_netdev(&thisARCnet) != 0) |
thisARCnet | 2168 | drivers/net/arcnet.c | printk("%s: device busy, remove delayed\n",thisARCnet.name); |
thisARCnet | 2170 | drivers/net/arcnet.c | if (thisARCnet.start) arcnet_close(&thisARCnet); |
thisARCnet | 2171 | drivers/net/arcnet.c | if (thisARCnet.irq) free_irq(thisARCnet.irq); |
thisARCnet | 2172 | drivers/net/arcnet.c | if (thisARCnet.base_addr) release_region(thisARCnet.base_addr, |
thisARCnet | 2174 | drivers/net/arcnet.c | unregister_netdev(&thisARCnet); |