Home
last modified time | relevance | path

Searched refs:compatchan (Results 1 – 7 of 7) sorted by relevance

/netbsd-src/sys/arch/cobalt/stand/boot/
H A Dpciide.c42 int i, compatchan = 0; in pciide_init() local
47 compatchan = *unit / PCIIDE_CHANNEL_NDEV; in pciide_init()
48 if (compatchan >= PCIIDE_NUM_CHANNELS) in pciide_init()
52 DPRINTF(("[pciide] unit: %d, channel: %d\n", *unit, compatchan)); in pciide_init()
58 PCIIDE_COMPAT_CMD_BASE(compatchan)); in pciide_init()
60 PCIIDE_COMPAT_CTL_BASE(compatchan)); in pciide_init()
H A Dwdc.c244 printf("wd%d: error %x\n", chp->compatchan, in wdccommand()
290 printf("wd%d: error %x\n", chp->compatchan, in wdccommandext()
H A Dwdvar.h57 uint8_t compatchan; member
/netbsd-src/sys/dev/pci/
H A Dhptide.c111 int i, compatchan, revision; in hpt_chip_map() local
209 compatchan = i; in hpt_chip_map()
227 compatchan = 0; in hpt_chip_map()
229 compatchan = 1; in hpt_chip_map()
243 pciide_mapregs_compat(pa, cp, compatchan); in hpt_chip_map()
H A Dpciide_common.c285 struct pciide_channel *cp, int compatchan) in pciide_mapregs_compat() argument
295 if (bus_space_map(wdr->cmd_iot, PCIIDE_COMPAT_CMD_BASE(compatchan), in pciide_mapregs_compat()
304 if (bus_space_map(wdr->ctl_iot, PCIIDE_COMPAT_CTL_BASE(compatchan), in pciide_mapregs_compat()
945 struct pciide_channel *cp, int compatchan) in pciide_map_compat_intr() argument
952 pa, compatchan, pciide_compat_intr, cp); in pciide_map_compat_intr()
966 int compatchan) in pciide_unmap_compat_intr() argument
972 sc->sc_pc, compatchan, cp->ih); in pciide_unmap_compat_intr()
/netbsd-src/sys/arch/mmeye/stand/boot/
H A Dwdc.c281 printf("wd%d: error %x\n", chp->compatchan, in wdccommand()
327 printf("wd%d: error %x\n", chp->compatchan, in wdccommandext()
H A Dwdvar.h55 uint8_t compatchan; member