From owner-freebsd-mobile Fri Apr 10 08:22:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA25917 for freebsd-mobile-outgoing; Fri, 10 Apr 1998 08:22:44 -0700 (PDT) (envelope-from owner-freebsd-mobile@FreeBSD.ORG) Received: from hunter.softcon.de (hunter.softcon.de [193.31.11.194]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA25887; Fri, 10 Apr 1998 08:22:32 -0700 (PDT) (envelope-from Matthias.Apitz@SOFTCON.de) From: Matthias.Apitz@SOFTCON.de Received: (from mail@localhost) by hunter.softcon.de (8.6.9/8.6.12) id RAA22937; Fri, 10 Apr 1998 17:24:09 +0200 Received: from boell.softcon.de(193.31.10.71) by hunter.softcon.de via smap (V1.3) id sma022935; Fri Apr 10 17:24:08 1998 Received: from kant.SOFTCON.de (kant.SOFTCON.de [193.31.10.39]) by boell.SOFTCON.de (8.7.5/8.7.3) with SMTP id PAA27514; Fri, 10 Apr 1998 15:19:43 GMT Message-ID: <9804101729.AA13444@kant.SOFTCON.de> Subject: O2Micro OZ6832 && 3c589D && FreeBSD 2.2.6 To: hackers@FreeBSD.ORG, freebsd-mobile@FreeBSD.ORG Date: Fri, 10 Apr 1998 17:29:36 +0200 (MDT) >From: guru@sisis.de (Matthias Apitz) Reply-To: Matthias.Apitz@SOFTCON.de (Matthias Apitz) X-FAX-cover: faxcover-sisis.ps X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have a brand new notebook with a O2Micro OZ6832 PCI CardBus bridge and a 3Com Etherlink III 3c589D PCMCIA network card. This configuration isn't supported in 2.2.6-RELEASE and also didn't work with PAO for 2.2.5. I started to dig into the drivers and with the help of Nate Williams, David Hinds, folks from O2Micro and a good manual of the OZ6832 from O2Micro I added support for this controller into the PCI part (e.g. into usr/src/sys/pci/pcic_p.*) and I think the bridge is now configured properly but doesn't steer out the interrupts from the 3c589D *or* doesn't get interrupts from the 3c589D. At the moment I think the latter is true. BTW: all other functions like IRQ for card changes, card detection in user-land in the /etc/pccardd.conf etc. are working fine. Even the transfer of TCP/IP pkgs does work but every transmit causes a "timeout" and a call to the watchdog-routine because the ep driver doesn't see interrupts. Needless to say that both are also working in Win95. OK. I think the 1st half of the way is done and it's time to look into the ep driver itself. There are also some notes in usr/src/sys/i386/isa/if_ep.c that "The order in here seems important. Otherwise we may not receive interrups" (near line 678 of if_ep.c). Don't kow who wrote this comment and it also seems that the code was later changed by someone else and (maybe) now isn't working for 3c589D (it's only a guess at the moment). To check the logic in if_ep.c I need a programming manual of the 3c589D. Is someone able to provide me with such a manual? The file if_epreg.h contains a hint about an "Etherlink III Parallel Tasking EISA and ISA Technical Reference" "Beta Draft 10/30/92" manual from 3Com. I checked the web pages of 3Com but did not found such a manual. Thanks in advance for any hint. matthias -- firm: matthias.apitz@sisis.de [voc:+49-89-61308-351, fax: +49-89-61308-188] priv: guru@thias.muc.de PGP: Key fingerprint = 0C 01 F2 23 EC 17 A2 D5 46 2D 29 4C 0E 8B 7E 8F URL: http://www.sisis.de/~guru/ http://www.muc.de/~thias/ from USENET: People who run servers understand that flashy interactive interfaces have nothing to do with the underlying functionality and often get in the way. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message