From owner-freebsd-mobile Thu Aug 2 3:27:30 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from smarthost2.mail.easynet.fr (smarthost2.mail.easynet.fr [212.180.1.69]) by hub.freebsd.org (Postfix) with ESMTP id 736E337B403 for ; Thu, 2 Aug 2001 03:27:25 -0700 (PDT) (envelope-from fonvi@easynet.fr) Received: from mx1.mail.easynet.fr (slb-1-sippriv.mail.easynet.fr [10.0.1.57]) by smarthost2.mail.easynet.fr (Postfix) with ESMTP id 3BC66BAC2; Thu, 2 Aug 2001 12:27:24 +0200 (CEST) Received: from gothic.blackend.org (adsl-2-13.adsl.easynet.fr [212.11.31.13]) by mx1.mail.easynet.fr (Postfix) with ESMTP id 40937B6AD; Thu, 2 Aug 2001 12:27:23 +0200 (CEST) Received: (from marc@localhost) by gothic.blackend.org (8.11.4/8.11.4/ - 31/07/01) id f728JKo18479; Thu, 2 Aug 2001 10:19:20 +0200 (CEST) (envelope-from marc) Date: Thu, 2 Aug 2001 10:19:20 +0200 From: Marc Fonvieille To: Ian Dowse Cc: freebsd-mobile@freebsd.org Subject: Re: Better patches [long] Message-ID: <20010802101920.A18368@gothic.blackend.org> References: <20010801231444.A26603@gothic.blackend.org> <200108012303.aa19788@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <200108012303.aa19788@salmon.maths.tcd.ie>; from iedowse@maths.tcd.ie on Wed, Aug 01, 2001 at 11:02:59PM +0100 X-Useless-Header: blackend.org X-Operating-System: FreeBSD 4.3-STABLE Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Aug 01, 2001 at 11:02:59PM +0100, Ian Dowse wrote: > Could you post the output of "pccardc dumpcis" when the FA410 is > inserted while running the new kernel? I have a feeling I remember > seeing some cards that specify the wrong iosize in the CIS, but I > could be completely mistaken (if the "block length" lines don't say > 0x20, try adding an "iosize 0x20" line to the pccard.conf entry). > here it is: Configuration data for card in slot 0 Tuple #1, code = 0x1 (Common memory descriptor), length = 3 000: d1 3a ff Common memory device information: Device number 1, type Function specific, WPS = OFF Speed = 250nS, Memory block size = 8Kb, 8 units Tuple #2, code = 0x17 (Attribute memory descriptor), length = 3 000: 41 00 ff Attribute memory device information: Device number 1, type EEPROM, WPS = OFF Speed = 250nS, Memory block size = 512b, 1 units Tuple #3, code = 0x20 (Manufacturer ID), length = 4 000: 49 01 30 02 PCMCIA ID = 0x149, OEM ID = 0x230 Tuple #4, code = 0x21 (Functional ID), length = 2 000: 06 01 Network/LAN adapter - POST initialize Tuple #5, code = 0x15 (Version 1 info), length = 33 000: 04 01 4e 45 54 47 45 41 52 00 46 41 34 31 30 54 010: 58 00 46 61 73 74 20 45 74 68 65 72 6e 65 74 00 020: ff Version = 4.1, Manuf = [NETGEAR], card vers = [FA410TX] Addit. info = [Fast Ethernet] Tuple #6, code = 0x1a (Configuration map), length = 5 000: 01 20 00 04 0b Reg len = 2, config register addr = 0x400, last config = 0x20 Registers: XX-X---- Tuple #7, code = 0x1b (Configuration entry), length = 7 000: e0 81 18 45 30 fc be Config index = 0x20(default) Interface byte = 0x81 (I/O) wait signal supported Card decodes 5 address lines, limited 8/16 Bit I/O IRQ modes: Level IRQs: 2 3 4 5 6 7 9 10 11 12 13 15 Tuple #8, code = 0x1b (Configuration entry), length = 7 000: 01 08 ca 60 00 03 1f Config index = 0x1 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x300 block length = 0x20 Tuple #9, code = 0x1b (Configuration entry), length = 7 000: 02 08 ca 60 20 03 1f Config index = 0x2 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x320 block length = 0x20 Tuple #10, code = 0x1b (Configuration entry), length = 7 000: 03 08 ca 60 40 03 1f Config index = 0x3 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x340 block length = 0x20 Tuple #11, code = 0x1b (Configuration entry), length = 7 000: 04 08 ca 60 80 03 1f Config index = 0x4 Card decodes 10 address lines, limited 8/16 Bit I/O I/O address # 1: block start = 0x380 block length = 0x20 Tuple #12, code = 0x14 (No link), length = 0 Tuple #13, code = 0xff (Terminator), length = 0 2 slots found the «block length» seems OK > It would be very useful if you chould track down which commit caused > the card to break, though that might be quite a bit of work. > i'm working on it :) > > I use a FA410TX with -stable every day in my laptop, which over > the last few weeks has been updated every few days. With a 10baseT > network, I have to run > > ifconfig ed0 media 10baseT/UTP mediaopt full-duplex > > but it works without help on a 100baseTX link. That makes me think there's a pb between my hardware and pccard/pcic new code. Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message