Lines Matching refs:board

384 		if (strstr(fres->board->name, "DuoDock"))  in macsonic_ident()
401 static int mac_sonic_nubus_probe_board(struct nubus_board *board, int id, in mac_sonic_nubus_probe_board() argument
411 base_addr = board->slot_addr + DUODOCK_SONIC_REGISTERS; in mac_sonic_nubus_probe_board()
412 prom_addr = board->slot_addr + DUODOCK_SONIC_PROM_BASE; in mac_sonic_nubus_probe_board()
419 base_addr = board->slot_addr + APPLE_SONIC_REGISTERS; in mac_sonic_nubus_probe_board()
420 prom_addr = board->slot_addr + APPLE_SONIC_PROM_BASE; in mac_sonic_nubus_probe_board()
426 base_addr = board->slot_addr + APPLE_SONIC_REGISTERS; in mac_sonic_nubus_probe_board()
427 prom_addr = board->slot_addr + APPLE_SONIC_PROM_BASE; in mac_sonic_nubus_probe_board()
434 base_addr = board->slot_addr + APPLE_SONIC_REGISTERS; in mac_sonic_nubus_probe_board()
435 prom_addr = board->slot_addr + DAYNALINK_PROM_BASE; in mac_sonic_nubus_probe_board()
442 base_addr = board->slot_addr + DAYNA_SONIC_REGISTERS; in mac_sonic_nubus_probe_board()
443 prom_addr = board->slot_addr + DAYNA_SONIC_MAC_ADDR; in mac_sonic_nubus_probe_board()
459 dev->irq = SLOT2IRQ(board->slot); in mac_sonic_nubus_probe_board()
461 dev_info(&board->dev, "%s, revision 0x%04x, %d bit DMA, register offset %d\n", in mac_sonic_nubus_probe_board()
462 board->name, SONIC_READ(SONIC_SR), in mac_sonic_nubus_probe_board()
466 dev_dbg(&board->dev, "%s: DCR=0x%04x, DCR2=0x%04x\n", __func__, in mac_sonic_nubus_probe_board()
486 dev_info(&board->dev, "SONIC ethernet @%08lx, MAC %pM, IRQ %d\n", in mac_sonic_nubus_probe_board()
554 static int mac_sonic_nubus_probe(struct nubus_board *board) in mac_sonic_nubus_probe() argument
568 for_each_board_func_rsrc(board, fres) { in mac_sonic_nubus_probe()
585 lp->device = &board->dev; in mac_sonic_nubus_probe()
586 SET_NETDEV_DEV(ndev, &board->dev); in mac_sonic_nubus_probe()
588 err = mac_sonic_nubus_probe_board(board, id, ndev); in mac_sonic_nubus_probe()
598 nubus_set_drvdata(board, ndev); in mac_sonic_nubus_probe()
611 static void mac_sonic_nubus_remove(struct nubus_board *board) in mac_sonic_nubus_remove() argument
613 struct net_device *ndev = nubus_get_drvdata(board); in mac_sonic_nubus_remove()