Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jun 2001 17:04:12 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.ORG>
To:        Warner Losh <imp@harmony.village.org>
Cc:        mobile@FreeBSD.ORG
Subject:   RE: HEADS UP: PCI card support added to OLDCARD
Message-ID:  <XFMail.010604170412.jhb@FreeBSD.org>
In-Reply-To: <200106040701.f5471oE20963@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 04-Jun-01 Warner Losh wrote:
> I've added pci card support to OLDCARD.  I've changed the default
> interrupt routing for both manamement (aka CSC) interrupts and for
> function interrupts.  I'm using it right now.
> 
> One important thing to NOTE.  You must now use the same IRQ for
> manangement and function interrupts.  The management interrupt is
> another matter.  You will need to boot the machine once to find the
> irq, and add it to your /etc/pccard.conf.  I hope to correct this
> problem soon.

I didn't touch /etc/pccard.conf, but changed my pccardd_flags line from
"-i 3 -i 11" to "-I -i 11" and recompiled pccardd.  When I insert a card
I get an interrupt storm until I eject the card.  The good news is that
newcard works fairly well on my laptop atm for PCMCIA cards at least. :)
 
Oldcard messages:

pci_cfgintr_unique: hard-routed to irq 11
pci_cfgintr: 0:4 INTA routed to irq 11
pcic0: <TI PCI-1225 PCI-CardBus Bridge> irq 11 at device 4.0 on pci0
pcic0: PCI Memory allocated: 0x44000000
pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][pci only]
pccard0: <PC Card bus (classic)> on pcic0
pci_cfgintr_unique: hard-routed to irq 11
pci_cfgintr: 0:4 INTA routed to irq 11
pcic1: <TI PCI-1225 PCI-CardBus Bridge> irq 11 at device 4.1 on pci0
pcic1: PCI Memory allocated: 0x44001000
pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][pci only]
pccard1: <PC Card bus (classic)> on pcic1

Newcard messages:

pccbb0: <TI1225 PCI-CardBus Bridge> mem 0x44000000-0x44000fff at device 4.0 on p
ci0
pci_cfgintr_unique: hard-routed to irq 11
pci_cfgintr: 0:4 INTA routed to irq 11
cardbus0: <Cardbus bus (newcard)> on pccbb0
pccard0: <16-bit PCCard bus> on pccbb0
pccbb1: <TI1225 PCI-CardBus Bridge> mem 0x44001000-0x44001fff at device 4.1 on p
ci0
pci_cfgintr_unique: hard-routed to irq 11
pci_cfgintr: 0:4 INTA routed to irq 11
cardbus1: <Cardbus bus (newcard)> on pccbb1
pccard1: <16-bit PCCard bus> on pccbb1
...
wi0: <WaveLAN/IEEE> at port 0x100-0x13f irq 11 function 0 config 1 on pccard0
wi0: Ethernet address: 00:02:2d:0d:1d:67

Old oldcard messages:

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 p
ci 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 p
ci int + CSC serial isa irq]
pcic0: <Intel i82365SL-DF> at port 0x3e0 iomem 0xd0000 irq 10 on isa0
pccard0: <PC Card bus (classic)> on pcic0
pccard1: <PC Card bus (classic)> on pcic0
pcic0: management irq 10
...
pccard: card inserted, slot 0
wi0 at port 0x240-0x27f irq 3 slot 0 on pccard0
wi0: Ethernet address: 00:02:2d:0d:1d:67

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.Baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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?XFMail.010604170412.jhb>