tag | line | file | source code |
pi0a | 139 | drivers/net/pi2.c | static struct device pi0a = { "pi0a", 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, pi0_preprobe }; |
pi0a | 1247 | drivers/net/pi2.c | register_netdev(&pi0a); |
pi0a | 1249 | drivers/net/pi2.c | pi0a.priv = kmalloc(sizeof(struct pi_local) + (DMA_BUFF_SIZE + sizeof(struct mbuf)) * 4, GFP_KERNEL | GFP_DMA); |
pi0a | 1251 | drivers/net/pi2.c | pi0a.dma = PI_DMA; |
pi0a | 1252 | drivers/net/pi2.c | pi0a.base_addr = ioaddr + 2; |
pi0a | 1253 | drivers/net/pi2.c | pi0a.irq = 0; |
pi0a | 1262 | drivers/net/pi2.c | pi_probe(&pi0a, card_type); |
pi0a | 1265 | drivers/net/pi2.c | pi0b.irq = pi0a.irq; /* IRQ is shared */ |
pi0a | 1530 | drivers/net/pi2.c | lp = (struct pi_local *) pi0a.priv; /* Assume channel A */ |
pi0a | 1531 | drivers/net/pi2.c | while ((st = rdscc(lp->cardbase, pi0a.base_addr | CHANA | CTL, R3)) != 0) { |
pi0a | 1538 | drivers/net/pi2.c | lp = (struct pi_local *) pi0a.priv; |
pi0a | 1539 | drivers/net/pi2.c | a_rxint(&pi0a, lp); |
pi0a | 1542 | drivers/net/pi2.c | lp = (struct pi_local *) pi0a.priv; |
pi0a | 1546 | drivers/net/pi2.c | lp = (struct pi_local *) pi0a.priv; |
pi0a | 1623 | drivers/net/pi2.c | pi_open(&pi0a); /* both channels get reset %%% */ |