From owner-freebsd-mobile Fri Aug 17 21:50:21 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 1D87B37B40A for ; Fri, 17 Aug 2001 21:50:08 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id f7I4o6q23636; Fri, 17 Aug 2001 22:50:06 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.4) with ESMTP id f7I4o5W46605; Fri, 17 Aug 2001 22:50:06 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200108180450.f7I4o5W46605@harmony.village.org> To: nate@yogotech.com (Nate Williams) Subject: Re: HEADS UP: pcic pci attachments merged from current Cc: mobile@FreeBSD.ORG In-reply-to: Your message of "Fri, 17 Aug 2001 17:46:24 MDT." <15229.44240.850550.381567@nomad.yogotech.com> References: <15229.44240.850550.381567@nomad.yogotech.com> <15227.61256.913741.831883@nomad.yogotech.com> <15227.21642.728459.378078@nomad.yogotech.com> <15226.52618.594233.704448@nomad.yogotech.com> <200108150433.f7F4X1W20487@harmony.village.org> <200108160317.f7G3HHW28812@harmony.village.org> <200108160533.f7G5XWW29552@harmony.village.org> <200108161806.f7GI6uW34369@harmony.village.org> <15228.18038.451091.485114@nomad.yogotech.com> Date: Fri, 17 Aug 2001 22:50:05 -0600 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message <15229.44240.850550.381567@nomad.yogotech.com> Nate Williams writes: : However, I have noticed one thing. Insertion/removal events are taking : a *really* long time to show up. I have systat -vmstat running, and the : interrupt doesn't appear to be showing up in the OS, or it's being : routed funny, or something. We have interrupt problems. Sometimes too many, other times too much :-) The long time it takes is because it is waiting for another interrupt to happen. : I can change that, but it didn't seem to help much. However, I do have : one more slot than I used to. :) OK. Maybe you can try the following change: Index: pcic_pci.c =================================================================== RCS file: /cache/ncvs/src/sys/pccard/pcic_pci.c,v retrieving revision 1.54.2.6 diff -u -r1.54.2.6 pcic_pci.c --- pcic_pci.c 2001/08/15 03:48:49 1.54.2.6 +++ pcic_pci.c 2001/08/18 04:48:15 @@ -337,7 +337,7 @@ devcntl &= ~TI113X_DEVCNTL_INTR_MASK; pci_write_config(dev, TI113X_PCI_DEVICE_CONTROL, devcntl, 1); devcntl = pci_read_config(dev, TI113X_PCI_DEVICE_CONTROL, 1); - syscntl |= TI113X_SYSCNTL_INTRTIE; + /* syscntl |= TI113X_SYSCNTL_INTRTIE; */ syscntl &= ~TI113X_SYSCNTL_SMIENB; pci_write_config(dev, TI113X_PCI_SYSTEM_CONTROL, syscntl, 1); } Which distables forcing both slots to use the same interrupt. Chances are low it will help, but if it does, please let me know. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message