From owner-freebsd-current Tue Dec 3 4:42: 3 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 875A737B401 for ; Tue, 3 Dec 2002 04:42:02 -0800 (PST) Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4D4443E4A for ; Tue, 3 Dec 2002 04:42:00 -0800 (PST) (envelope-from ari@suutari.iki.fi) Received: from linux (coffee.syncrontech.com [62.71.8.37]) by guinness.syncrontech.com (8.12.6/8.12.6) with ESMTP id gB3CfsRa067879 for ; Tue, 3 Dec 2002 14:41:55 +0200 (EET) (envelope-from ari@suutari.iki.fi) Content-Type: text/plain; charset="us-ascii" From: Ari Suutari To: current@freebsd.org Subject: Xircom realport rem56g problems Date: Tue, 3 Dec 2002 14:41:54 +0200 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200212031441.54215.ari@suutari.iki.fi> X-Scanned-By: MIMEDefang 2.24 (www . roaringpenguin . com / mimedefang) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I'm trying to get Xircom realport ethernet card (+modem) working on -current (the card works ok on -stable). When plugging the card in, I get: xe0: at port 0x2e8-0x2ef..... device_probe_and_attach: xe0 attach returned 19 ie. it returns ENODEV. After browsing around in /sys/dev/xe/if_xe_pccard.c, I noticed that there is a table of various cards against which the driver checks th= e inserted card. The matching ID for this kind of card would be 0x6 but that is not in table, which causes the driver to return ENODEV. I added an entry with id 0x6 and flags MOHAWK | DINGO (don't know if this is ok, assumed so from -stable messages) No luck with this either. Now there is a loop in driver (line 230 or so) which never reaches XE_CARD_TYPE_FLAGS_DINGO. "for(i=3D1; i!=3DXE_CARD_TYPE_FLAGS_DINGO; i=3Di<<1) ", shouldn't this be for(i=3D1; i!=3D(XE_CARD_TYPE_FLAGS_DINGO<<1); i=3Di<<1)=20 After changing this, I now get error code 12 (ENOMEM) from xe_activate. There seems to be some kind of a problem in allocating io port or interrupt. Any ideas, what could I try next ? =09Ari S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message