Date: Tue, 16 Jul 1996 10:45:42 +0900 From: Atsushi Murai <amurai@spec.co.jp> To: "Justin T. Gibbs" <gibbs@freefall.freebsd.org>, amurai@spec.co.jp, nao@sbl.cl.nec.co.jp, joerg_wunsch@uriah.heep.sax.de, j@uriah.heep.sax.de, freebsd-current@freebsd.org Subject: Re: Ethernet 3c579(EISA) is functional? (FIXED!) Message-ID: <31EAF446.2D93@spec.co.jp> References: <199607140346.MAA01006@tama.spec.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
Should I commit this to -current unless nobody has problem? > ------------------- sys/eisa/3c5x9.c------------------------ > *** 3c5x9.c Wed Jun 12 17:55:33 1996 > --- 3c5x9.c.new Sun Jul 14 12:20:57 1996 > *************** > *** 292,299 **** > --- 292,305 ---- > GO_WINDOW(0); > for(i = 0; i < 3; i++) > sc->epb->eth_addr[i] = get_e(sc, i); > > + /* Even we get irq number from board, we should tell him.. > + Otherwise we never get a H/W interrupt anymore...*/ > + if ( irq == 9 ) > + irq = 2; > + outw(eisa_ioport->addr+ EP_W0_RESOURCE_CFG, SET_IRQ(irq)); > + > ep_attach(sc); > > if(eisa_enable_intr(e_dev, irq)) { > ep_free(sc); > ---------------- Snip Snip Snip Kiritorisen ----------------- Atsushi.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31EAF446.2D93>