printf(": %s\n", epp->epp_name);
printf(": %s,", epp->epp_name);
ep_pcmcia_attach(parent, self, aux)	struct device  *parent, *self;	void           *aux;{	struct ep_pcmcia_softc *psc = (void *) self;	struct ep_softc *sc = &psc->sc_ep;	struct pcmcia_attach_args *pa = aux;	struct pcmcia_config_entry *cfe;	struct ep_pcmcia_product *epp;	u_int8_t myla[ETHER_ADDR_LEN];	u_int8_t *enaddr = NULL;	int i;	psc->sc_pf = pa->pf;	cfe = pa->pf->cfe_head.sqh_first;	/* Enable the card. */	pcmcia_function_init(pa->pf, cfe);	if (ep_pcmcia_enable1(sc))		printf(": function enable failed\n");#ifdef notyet	sc->enabled = 1;#endif	if (cfe->num_memspace != 0)		printf(": unexpected number of memory spaces %d should be 0\n",		    cfe->num_memspace);	if (cfe->num_iospace != 1)		printf(": unexpected number of I/O spaces %d should be 1\n",		    cfe->num_iospace);	if (pa->product == PCMCIA_PRODUCT_3COM_3C562) {		bus_addr_t maxaddr = (pa->pf->sc->iobase + pa->pf->sc->iosize);		for (i = pa->pf->sc->iobase; i < maxaddr; i += 0x10) {			/*			 * the 3c562 can only use 0x??00-0x??7f			 * according to the Linux driver			 */			if (i & 0x80)				continue;			if (pcmcia_io_alloc(pa->pf, i, cfe->iospace[0].length,			    0, &psc->sc_pcioh) == 0)				break;		}		if (i >= maxaddr) {			printf(": can't allocate i/o space\n");			return;		}	} else {		if (pcmcia_io_alloc(pa->pf, 0, cfe->iospace[0].length,		    cfe->iospace[0].length, &psc->sc_pcioh))			printf(": can't allocate i/o space\n");	}	sc->sc_iot = psc->sc_pcioh.iot;	sc->sc_ioh = psc->sc_pcioh.ioh;	if (pcmcia_io_map(pa->pf, ((cfe->flags & PCMCIA_CFE_IO16) ?	    PCMCIA_WIDTH_IO16 : PCMCIA_WIDTH_IO8), 0, cfe->iospace[0].length,	    &psc->sc_pcioh, &psc->sc_io_window)) {		printf(": can't map i/o space\n");		return;	}	switch (pa->product) {	case PCMCIA_PRODUCT_3COM_3C562:		/*		 * 3c562a-c use this; 3c562d does it in the regular way.		 * we might want to check the revision and produce a warning		 * in the future.		 */		/* FALLTHROUGH */	case PCMCIA_PRODUCT_3COM_3C574:		/*		 * Apparently, some 3c574s do it this way, as well.		 */		if (pcmcia_scan_cis(parent, ep_pcmcia_get_enaddr, myla))			enaddr = myla;		break;	}	sc->bustype = EP_BUS_PCMCIA;	epp = ep_pcmcia_lookup(pa);	if (epp == NULL)		panic("ep_pcmcia_attach: impossible");	printf(": %s\n", epp->epp_name);#ifdef notyet	sc->enable = ep_pcmcia_enable;	sc->disable = ep_pcmcia_disable;#endif	epconfig(sc, epp->epp_chipset, enaddr);	/* establish the interrupt. */	sc->sc_ih = pcmcia_intr_establish(pa->pf, IPL_NET, epintr, sc);	if (sc->sc_ih == NULL)		printf("%s: couldn't establish interrupt\n",		    sc->sc_dev.dv_xname);#ifdef notyet	sc->enabled = 0;	ep_pcmcia_disable1(sc);#endif}