示例#1
0
文件: vga_isa.c 项目: ryo/netbsd-src
void
vga_isa_attach(device_t parent, device_t self, void *aux)
{
    struct vga_softc *sc = device_private(self);
    struct isa_attach_args *ia = aux;

    sc->sc_dev = self;
    aprint_normal("\n");

    vga_common_attach(sc, ia->ia_iot, ia->ia_memt, WSDISPLAY_TYPE_ISAVGA,
                      0, NULL);
}
示例#2
0
void
vga_isa_attach(struct device *parent, struct device *self, void *aux)
{
	struct isa_attach_args *ia = aux;
#if 0
	struct vga_isa_softc *sc = (struct vga_isa_softc *)self;
#endif

	printf("\n");

	vga_common_attach(self, ia->ia_iot, ia->ia_memt,
			  WSDISPLAY_TYPE_ISAVGA);
}
示例#3
0
void
vga_jazzio_attach(device_t parent, device_t self, void *aux)
{
	struct vga_softc *sc = device_private(self);
	struct jazzio_attach_args *ja = aux;
	bus_space_tag_t iot, memt;

	aprint_normal("\n");

	sc->sc_dev = self;
	vga_jazzio_init_tag(ja->ja_name, &iot, &memt);
	vga_common_attach(sc, iot, memt, WSDISPLAY_TYPE_JAZZVGA, 0,
	    &vga_jazzio_funcs);
}