Date: Fri, 17 Aug 2001 22:50:05 -0600 From: Warner Losh <imp@harmony.village.org> To: nate@yogotech.com (Nate Williams) Cc: mobile@FreeBSD.ORG Subject: Re: HEADS UP: pcic pci attachments merged from current Message-ID: <200108180450.f7I4o5W46605@harmony.village.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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108180450.f7I4o5W46605>