From owner-freebsd-mobile Wed Jul 25 15:52:38 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (Postfix) with SMTP id 5EDFB37B405 for ; Wed, 25 Jul 2001 15:52:31 -0700 (PDT) (envelope-from sthaug@nethelp.no) Received: (qmail 72592 invoked by uid 1001); 25 Jul 2001 22:52:30 +0000 (GMT) To: imp@harmony.village.org Cc: mobile@freebsd.org Subject: Re: pcic-stable.diff.7 From: sthaug@nethelp.no In-Reply-To: Your message of "Tue, 24 Jul 2001 22:57:52 -0600" References: <200107250457.f6P4vqo04291@harmony.village.org> X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Thu, 26 Jul 2001 00:52:29 +0200 Message-ID: <72590.996101549@verdi.nethelp.no> 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 > : Were these files forgotten? > : i386/include/pci_cfgreg.h > : i386/isa/pci_cfgreg.c > > Yes. Please use pci-stable.diff.8 instead and accept my appologies > for the inconvenience this caused. > > http://people.freebsd.org/~imp/pcic-stable.diff.8 Could you please indicate what is required in the kernel config? I'm currently using OLDCARD on a Dell Inspiron 5000 running 4.3-STABLE with a Netgear FA410TX, and this works reasonably well. In the OLDCARD config I have device card The cardbus bridge is detected: pcic-pci0: at device 4.0 on pci0 pcic-pci0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq] pcic-pci1: at device 4.1 on pci0 pcic-pci1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq] pcic0: at port 0x3e0 iomem 0xd0000 on isa0 pcic0: Polling mode pccard0: on pcic0 pccard1: on pcic0 and later the FA410TX card: pccard: card inserted, slot 0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ed1 at port 0x300-0x31f irq 3 slot 0 on pccard0 ed1: address 00:e0:98:88:ce:09, type Linksys (16 bit) ed1: device timeout With the NEWBUS configuration I tried replacing "device card" with device pccard device pcic and I'm trying to get a 3c575 card to work. Under Windows it uses IRQ 11 on this machine. So far I have been unable to get this to work with your pcic-stable.diff.8 patches for -STABLE. When I boot the system, the cardbus bridge is detected: chip1: at device 4.0 on pci0 chip2: at device 4.1 on pci0 pcic0 at port 0x3e0-0x3e1 iomem 0xd0000-0xd0fff irq 10 on isa0 pcic ident regs: 0x84 0x84 0x00 0x00 pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B pccard0: on pcic0 pccard1: on pcic0 but I see nothing about the 3c575 card. On the other hand, I get the following error message: Setup PC-CARD:pccardc: /dev/card0: Device not configured When I remove the card, the removal is detected, I get pcic0: intr pccard0: 00 CD 0 on the screen. When inserting the card again, I get: pccard0: 00 CD c pccard0: enqueuing INSERTION event pcic_attach_card h 0xc0a3e8ff h->dev 0xc0a46880 pccard pcic pccard0: pccard_card_attach pccard0: chip_socket_enable pccard0: pcic_chip_socket_enable cardtype mem 40 pccard0: read_cis Calling scan_cis pcic_chip_mem_map window 0 bus 0+0+400 at card addr 0 pcic_chip_do_mem_map window 0: 0000 8000 0000 0xc0a46d80 0xc0a46880 3 0 0x1 pcic_chip_do_mem_map window 0: 00d2 80d2 4000 cis mem map c00d2000 pccard0: CIS tuple chain: CISTPL_END ff pccard0: chip_socket_disable pcic_chip_socket_disable pccard0: check_cis_quirks I assume the "/dev/card0: Device not configured" needs to be fixed first, but I have no idea what might be causing this - /dev/card0 certainly exists, and works with OLDCARD. Do you have any idea of where I should start looking? Thanks! Steinar Haug, Nethelp consulting, sthaug@nethelp.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message