Searched refs:dp2_ptr (Results 1 – 1 of 1) sorted by relevance
757 register gdt2_dpram_str __iomem *dp2_ptr; in gdth_init_isa() local769 dp2_ptr = ha->brd; in gdth_init_isa()770 writeb(1, &dp2_ptr->io.memlock); /* switch off write protection */ in gdth_init_isa()772 memset_io(&dp2_ptr->u, 0, sizeof(dp2_ptr->u)); in gdth_init_isa()773 if (readl(&dp2_ptr->u) != 0) { in gdth_init_isa()780 writeb(0xff, &dp2_ptr->io.irqdel); in gdth_init_isa()781 writeb(0x00, &dp2_ptr->io.irqen); in gdth_init_isa()782 writeb(0x00, &dp2_ptr->u.ic.S_Status); in gdth_init_isa()783 writeb(0x00, &dp2_ptr->u.ic.Cmd_Index); in gdth_init_isa()785 irq_drq = readb(&dp2_ptr->io.rq); in gdth_init_isa()[all …]