From owner-freebsd-current Tue Dec 3 8:38:32 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 935B237B401 for ; Tue, 3 Dec 2002 08:38:30 -0800 (PST) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 253F443E4A for ; Tue, 3 Dec 2002 08:38:30 -0800 (PST) (envelope-from sam@errno.com) Received: from melange (melange.errno.com [66.127.85.82]) (authenticated bits=0) by ebb.errno.com (8.12.5/8.12.1) with ESMTP id gB3GcS9i060870 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Tue, 3 Dec 2002 08:38:29 -0800 (PST)?g (envelope-from sam@errno.com)œ X-Authentication-Warning: ebb.errno.com: Host melange.errno.com [66.127.85.82] claimed to be melange Message-ID: <181c01c29aea$6918c150$52557f42@errno.com> From: "Sam Leffler" To: "Ari Suutari" , References: <200212031441.54215.ari@suutari.iki.fi> Subject: Re: Xircom realport rem56g problems Date: Tue, 3 Dec 2002 08:38:28 -0800 Organization: Errno Consulting MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 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 Try the dc driver instead of xe. I have the same card and it worked once I added the cardbus glop to read the MAC address from the CIS. Sam ----- Original Message ----- From: "Ari Suutari" To: Sent: Tuesday, December 03, 2002 4:41 AM Subject: Xircom realport rem56g problems > 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 the > 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=1; i!=XE_CARD_TYPE_FLAGS_DINGO; i=i<<1) ", > shouldn't this be > for(i=1; i!=(XE_CARD_TYPE_FLAGS_DINGO<<1); i=i<<1) > > 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 ? > > Ari S. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message