From owner-freebsd-current Tue Jul 16 19:14:58 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA04018 for current-outgoing; Tue, 16 Jul 1996 19:14:58 -0700 (PDT) Received: from research.gate.nec.co.jp (research.gate.nec.co.jp [202.32.8.49]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA04000 for ; Tue, 16 Jul 1996 19:14:52 -0700 (PDT) Received: from sbl-gw.sbl.cl.nec.co.jp by research.gate.nec.co.jp (8.7.5+2.6Wbeta6/950912) with ESMTP id LAA23518; Wed, 17 Jul 1996 11:14:14 +0900 (JST) Received: from sirius.sbl.cl.nec.co.jp by sbl-gw.sbl.cl.nec.co.jp (8.7.5+2.6Wbeta6/3.3W6) with ESMTP id LAA07051; Wed, 17 Jul 1996 11:14:12 +0900 (JST) X-Authentication-Warning: sbl-gw.sbl.cl.nec.co.jp: Host nao@sirius [133.207.68.90] claimed to be sirius.sbl.cl.nec.co.jp Received: by sirius.sbl.cl.nec.co.jp (8.7.5+2.6Wbeta6/3.3W6) with UUCP id LAA13675; Wed, 17 Jul 1996 11:14:10 +0900 (JST) Date: Wed, 17 Jul 1996 11:14:10 +0900 (JST) From: Naoki Hamada Message-Id: <199607170214.LAA13675@sirius.sbl.cl.nec.co.jp> References: <9607170133.AA00383@tama3.spec.co.jp.spec.co.jp> To: amurai@spec.co.jp CC: gibbs@freefall.freebsd.org, joerg_wunsch@uriah.heep.sax.de, j@uriah.heep.sax.de, freebsd-current@freebsd.org In-reply-to: Atsushi MURAI's message of "Wed, 17 Jul 1996 10:33:43 +0900" <9607170133.AA00383@tama3.spec.co.jp.spec.co.jp> Subject: Re: Ethernet 3c579(EISA) is functional? (FIXED!) Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Atsushi wrote: >OK. Nao, But I just have only 3c579 EISA not others and no technical >manual. So, how can we certify all other hardware ? Because your code >is also patching common if_ep.c, right ? `EtherLink III Parallel Tasking ISA, EISA, Micro Channel, and PCMCIA Adapter Drivers Technical Reference' from 3COM describes the resource configuration register: |For 3C509, 3C579, 3C589, 3C589B: | |bits 0-7: Reserved |bits 8-11: Reserved, must be all 1 |bits 12-15: IRQ | |For 3C509B: | |bits 0-5: Reserved |bit 6: Synchronous Ready |bits 7-11: Reserved |bits 12-15: IRQ | |Synchronous Ready: |Normal I/O cycles if clear. If set, the adapter will assert I/OCHRDY |on every I/O access. This may allow the board to work in a |noncompliant bus that would otherwise not be supported (for example, |an ISA bus running faster than spec). This bit defaults to 0 on |power-up, but is overwritten from the EEPROM. When the ep driver sets the IRQ of the resouce configuration register, it overwrites bits 0-11 with 0xf00. (So if an user sets 'Synchronous Ready' with the DOS utility, it is cancelled by the ep driver.) We have to be more preservative, so my revised driver reads the current value and writes it back. My patch affects only ISA and EISA attach routines. For now, my 3C509B works well. -nao