From owner-freebsd-current Mon Jul 15 18:41:55 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA11696 for current-outgoing; Mon, 15 Jul 1996 18:41:55 -0700 (PDT) Received: from specgw.spec.co.jp (specgw.spec.co.jp [202.32.13.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id SAA11690 for ; Mon, 15 Jul 1996 18:41:52 -0700 (PDT) Received: (from uucp@localhost) by specgw.spec.co.jp (8.7.5/3.3Wb-SPEC) with UUCP id KAA15738; Tue, 16 Jul 1996 10:40:54 +0900 (JST) Received: from amuraim.spec.co.jp by tama.spec.co.jp (8.7.5/6.4J.5) id KAA00225; Tue, 16 Jul 1996 10:44:55 +0900 (JST) Message-ID: <31EAF446.2D93@spec.co.jp> Date: Tue, 16 Jul 1996 10:45:42 +0900 From: Atsushi Murai Reply-To: amurai@spec.co.jp Organization: System Planning and Engineering Co,.Ltd X-Mailer: Mozilla 3.0b4 (Win95; I) MIME-Version: 1.0 To: "Justin T. Gibbs" , 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!) References: <199607140346.MAA01006@tama.spec.co.jp> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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.