Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 1999 22:40:24 -0700 (PDT)
From:      Brad Karp <bkarp@aciri.org>
To:        freebsd-mobile@freebsd.org
Cc:        sean@stat.duke.edu
Subject:   Re: Sony N505-VX PCIC IRQ??
Message-ID:  <199910240540.WAA92488@sphinx.aciri.org>

next in thread | raw e-mail | index | archive | help
First, one new data point and a question to all readers:

I found the Ricoh RL5C475-specific code in 3.2-PAO's pci/pcic_p.c earlier this
afternoon, that sets bit 3 in PCI configuration register 0x91 on the PCIC,
apparently to force the PCIC to generate PCI interrupts for CSC events.

I hacked this bit into my 3.2-R kernel (and verified with pciconf that the
value was written and stuck), but still no insertion/removal interrupts.

A question to all readers out there (especially those on the PAO team, who
have this Ricoh-specific code): is there a source for programmer's reference
information for this Ricoh PCIC? Or is it known to be register-compatible with
anything better-documented (e.g., it looks like it's fairly similar to the
TI-1131, such as in its use of 0x08 in register 0x91 for turning on CSC
interrupts).

Another question to all: do 3.X-PAO and 3.X-RELEASE get insert/remove IRQs on
different buses? Newer PCICs can generate either PCI or ISA IRQs, to my
understanding. Has PAO moved to PCI IRQs? The code in PAO's pcic_p.c
seems in some places to suggest it uses PCI IRQs, and in others, ISA IRQs.
I presume 3.X-RELEASE (non-PAO) only supports an ISA IRQ for the PCIC.

> Any reason to not use 3.3-RELEASE or later?  What about PAO ... they have
> nice support for the Sony cdroms?  The other option would be to use -current
> (wait a few days ... some fairly large changes just went in).
 
3.3-R doesn't do anything new for PCICs, according to the CVS repository;
one of the first things I checked.

I want to see it work without PAO. We'd like to keep all our laptops running
the same OS. And besides, after poking around with pciconf and reading include
files for a few hours, I'm convinced it's very close to working...just a
matter of a few bits in a few configuration registers the BIOS must not be
taking care of.

> Did it report these as being used?  Have you tried using the polled mode?

No, none of those IRQs are in use (except 9, for USB; waste of my time for
trying it). And I tried polled mode (IRQ 0 in /boot/loader.conf), too, yes.
No go.

> What about scrapping the serial port and freeing up 4?  Can you disable the 
> evil winmodem in the BIOS?

Need the serial port for a Metricom Ricochet radio. And besides, the laptop
is practically bursting with free IRQs (5, 6, 10, 11). The PCIC ought to
interrupt fine on *one* of those.

The BIOS does not allow disabling the WinModem, no.

-Brad, karp@eecs.harvard.edu


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?199910240540.WAA92488>