Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2001 00:52:29 +0200
From:      sthaug@nethelp.no
To:        imp@harmony.village.org
Cc:        mobile@freebsd.org
Subject:   Re: pcic-stable.diff.7 
Message-ID:  <72590.996101549@verdi.nethelp.no>
In-Reply-To: Your message of "Tue, 24 Jul 2001 22:57:52 -0600"
References:  <200107250457.f6P4vqo04291@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> : 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: <TI PCI-1225 PCI-CardBus Bridge> 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: <TI PCI-1225 PCI-CardBus Bridge> 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: <Intel i82365SL-DF> at port 0x3e0 iomem 0xd0000 on isa0
pcic0: Polling mode
pccard0: <PC Card bus (classic)> on pcic0
pccard1: <PC Card bus (classic)> on pcic0

and later the FA410TX card:

pccard: card inserted, slot 0
ukphy0: <Generic IEEE 802.3u media interface> 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: <Texas Instruments PCI1225 CardBus controller> at device 4.0 on pci0
chip2: <Texas Instruments PCI1225 CardBus controller> 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: <PC Card bus -- newconfig version> on pcic0
pccard1: <PC Card bus -- newconfig version> 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
<lots of periods on the screen>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?72590.996101549>