taglinefilesource code
pi0a139drivers/net/pi2.cstatic struct device pi0a = { "pi0a", 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, pi0_preprobe };
pi0a1247drivers/net/pi2.cregister_netdev(&pi0a);
pi0a1249drivers/net/pi2.cpi0a.priv = kmalloc(sizeof(struct pi_local) + (DMA_BUFF_SIZE + sizeof(struct mbuf)) * 4, GFP_KERNEL | GFP_DMA);
pi0a1251drivers/net/pi2.cpi0a.dma = PI_DMA;
pi0a1252drivers/net/pi2.cpi0a.base_addr = ioaddr + 2;
pi0a1253drivers/net/pi2.cpi0a.irq = 0;
pi0a1262drivers/net/pi2.cpi_probe(&pi0a, card_type);
pi0a1265drivers/net/pi2.cpi0b.irq = pi0a.irq;  /* IRQ is shared */
pi0a1530drivers/net/pi2.clp = (struct pi_local *) pi0a.priv;  /* Assume channel A */
pi0a1531drivers/net/pi2.cwhile ((st = rdscc(lp->cardbase, pi0a.base_addr | CHANA | CTL, R3)) != 0) {
pi0a1538drivers/net/pi2.clp = (struct pi_local *) pi0a.priv;
pi0a1539drivers/net/pi2.ca_rxint(&pi0a, lp);
pi0a1542drivers/net/pi2.clp = (struct pi_local *) pi0a.priv;
pi0a1546drivers/net/pi2.clp = (struct pi_local *) pi0a.priv;
pi0a1623drivers/net/pi2.cpi_open(&pi0a); /* both channels get reset %%% */