Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2001 19:21:57 +0200 (MET DST)
From:      Per Andersson <pa@cdg.chalmers.se>
To:        Warner Losh <imp@harmony.village.org>
Cc:        <mobile@freebsd.org>
Subject:   Re: pccard patches problem 
Message-ID:  <Pine.GSO.4.33.0108091909450.4237-100000@wilfer4.cdg.chalmers.se>
In-Reply-To: <200108081627.f78GRh123212@harmony.village.org>

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

I have succeded (after some experimentation) to make it work, I changed to
PCI serial interrupt mode?, bits 1 and 2 in the device control register
from 00 to 11.

If this really is the right thing to do I'm not sure about, but it made it work
for me.

I doubt that the fix I made works on anything else (I guess it actually breaks
a lot of things) but here is what I did:


*** pcic_pci.c.org	Thu Aug  9 19:16:53 2001
--- pcic_pci.c	Thu Aug  9 18:34:07 2001
***************
*** 296,301 ****
--- 296,302 ----
  	}
  	if (sc->func_route == pci_parallel) {
  		devcntl &= ~TI113X_DEVCNTL_INTR_MASK;
+ 		devcntl |= TI12XX_DEVCNTL_INTR_ALLSERIAL;	/* XXX PA */
  		pci_write_config(dev, TI113X_PCI_DEVICE_CONTROL, devcntl, 1);
  		devcntl = pci_read_config(dev, TI113X_PCI_DEVICE_CONTROL, 1);
  		syscntl |= TI113X_SYSCNTL_INTRTIE;


	/Per Andersson


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?Pine.GSO.4.33.0108091909450.4237-100000>