Re: FBSD-5.1-RELEASE, Sony Vaio PCG-505TR, Linksys Combo (EC2T) PC-Card or Adaptec SlimSCSI 1460D PC-Card

Jim Knoble <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Circa 2003-08-05 09:16:53 -0600 dixit M. Warner Losh:

: In message: <[email protected]>
:             Jim Knoble <[email protected]> writes:
: : Hi, all.  Trying to install FreeBSD-5.1 on a Sony Vaio PCG-505TR
: : (Pentium MMX 300MHz, 128MB RAM, external floppy, no CD-ROM, single Type
: : II PC-Card slot).  Having trouble with the following:
: : 
: :   (1) Net install using Linksys Combo EthernetCard (EC2T).  This card
: :       is detected by the ed driver (as ed1), but the card appears to
: :       want IRQ 9, which doesn't work on this laptop.  I've tried
: :       setting a device hint ("set hints.ed.1.irq=11" in the
: :       bootloader), but FreeBSD still gives it IRQ 9.  How can i tell
: :       FreeBSD to give it IRQ 11?
: :       
: :       Same thing goes for my Linksys EtherFast 10/100 PC-Card.
: 
: You must use IRQ 9.  What do you mean "which doesn't work on this
: laptop?"  The reason it is forcing IRQ 9 is that it is using PCI
: interrupts, and those are shared between the cardbus bridges and the
: cards taht are inserted into them.

The PC-Card and CardBus busses *should* use IRQ 9, and they do.
However, the card itself should not use IRQ 9 ... it needs IRQ 10
(assigned to disabled IrDA) or 11 (free), because it doesn't work with
a shared interrupt.

Under 4.8-RELEASE, the installation routine gives me the option to
start pccardd, and i can further request it to start as follows:

  pccardd -i 10 -i 11

which will only let inserted cards get IRQ 10 or 11.  This works fine.
I need to know how to limit the IRQs assigned to inserted cards under
5.1, since the device hints don't seem to work.

: : | cbb0: <RF5C475 PCI-CardBus Bridge> at device 10.0 on pci0
: : | cardbus0: <CardBus bus> on cbb0
: : | pccard0: <16-bit PCCard bus> on cbb0
: : | pci_cfgintr: 0:10 INTA routed to irq 9
: 
: If IRQ 9 is the wrong thing to route here, then you'll need to add a
: hint to route the right thing.

(See above).

-- 
jim knoble  |  [email protected]
(GnuPG fingerprint: 31C4:8AAC:F24E:A70C:4000::BBF4:289F:EAA8:1381:1491)
signature.asc (application/pgp-signature, 256 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (OpenBSD)
Comment: See http://www.pobox.com/~jmknoble/keys/ for my public key.

iD8DBQE/L9ZNKJ/qqBOBFJERAhktAJ920fWHOXFsqwLuxghw36VBU9jEAQCfcD+f
009tuxayTu5KbdqHZeo4wF0=
=/mFp
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.