Date: Sun, 14 Jul 1996 12:46:02 +0900 (JST) From: Atsushi Murai <amurai@spec.co.jp> To: gibbs@freefall.freebsd.org (Justin T. Gibbs) Cc: 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: <199607140346.MAA01006@tama.spec.co.jp> In-Reply-To: <199607030211.TAA27687@freefall.freebsd.org> from "Justin T. Gibbs" at Jul 2, 96 07:11:42 pm
next in thread | previous in thread | raw e-mail | index | archive | help
Hi all, I am attempt to let my 3com-3c579-TP (EISA) functional with
several suggestion relating a configuration but unfortunatlly, there
was no luck for me...But today I get spare time hack it due to be
cancelling a business trip to U.S. X-(, and then finally get a luck by
as follows !!
------------------- 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 -----------------
------------------- Configuration of Eisa part -------------
controller eisa0
controller bt0
controller scbus0
controller ep0
-------------------------------------------------------------
As you see, you can treat as bt driver and ep driver without
problem! We should describe a 'LINT' config, shouldn't we?
Thanks again,
Atsushi.
--
Atsushi Murai Internet: amurai@spec.co.jp
System Planning and Engineering Co,.Ltd. Voice : +81-33833-5341
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607140346.MAA01006>
