From owner-freebsd-mobile Thu Apr 2 03:42:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA25921 for freebsd-mobile-outgoing; Thu, 2 Apr 1998 03:42:23 -0800 (PST) (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 DAA25910 for ; Thu, 2 Apr 1998 03:42:19 -0800 (PST) (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 NAA30629 for ; Thu, 2 Apr 1998 13:43:54 +0200 Received: from boell.softcon.de(193.31.10.71) by hunter.softcon.de via smap (V1.3) id sma030617.2; Thu Apr 2 13:43:36 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 LAA00770; Thu, 2 Apr 1998 11:39:11 GMT Message-ID: <9804021344.AA19303@kant.SOFTCON.de> Subject: Re: 3c589D and pccard support in FreeBSD 2.2.5 To: nate@mt.sri.com (Nate Williams) Date: Thu, 2 Apr 1998 13:44:17 +0200 (MDT) Cc: freebsd-mobile@FreeBSD.ORG In-Reply-To: <199804011706.KAA15632@mt.sri.com> from "Nate Williams" at Apr 1, 98 10:06:30 am >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 Nate Williams wrote: So, the interrupt routine isn't getting called. This is definitely a sign. Can you see if the interrupt routine is called at all? > So the problem isn't in user-land (e.g. routing or ARP or DNS), > it's in kernel-land. Is there someone who is "in charge" for > that driver code or someone who can offer the internal programmers > manual for that card (3C589D)? Thx. I don't have one, but I can tell with certain assurance that the driver/software works on dozens of laptops, if not hundreds right now. I'd like into the interrupt generation code in the PCIC controller. I'm about 99.9% sure it's not and issue with if_ep.c, but probably in /sys/pccard. Somehow your controller is not getting correctly programmed to generate interrupts for the card, hence the reason you're not getting them. (This is assuming you're using the PCCARD code.) I checked the code in /usr/src/sys/pccard/ i82365.h and pcic.c and found that there is support in 2.2.5-PAO for an O2Micro chip with PCI device ID 0x673a1217. My chip is an O2Micro too but with another chipset and the PCI device ID is 0x68321217 (only the vendor ID 1217 is the same). I pulled a 60 page manual of the O2Micro 6832 from the web pages of the company. In your first response you mentioned that the O2Micro 6832 is supported out of the box in 2.2.6-RELEASE. May I ask you for a copy of the files i82365.h and pcic.c of 2.2.6 to check and compare it before dig into the registers of the chip? At the moment I don't have access to 2.2.6 CD-ROM's here. Thanks in advance. 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