On Fri, 27 Dec 2002 17:49:55 -0500 (MET), Veit Kannegieser wrote: >>I want to get called on any device attach/detachment. I think that I will do that >>connecting on INITCOMPLETE, because that's the point where USB comes accessible as >well. >Should work at that time, but for me it works even earlier.
I know, but normal DEVICE-PDDs should receive the notification at the same time (on Ring-0 tasktime), so INITCOMPLETE is the only chance. Otherwise I would need to send it out several times (and of course for different drivers). >>Also are there Cardbus-drivers available using the same API? >pc95smpl, tdkenab, cbenable ... >But current pcmcia.sys will not work unpatched. >The problem would be: how do you know, if/how many/which IO windows, >IRQ, memory windows, a card and its application needs. That's a good question. There is some sort of configuration space or something in PCMCIA. Isn't that one listing the resource requirements? The problem is (of course) how to adjust the window(s) accordingly. >Example: Realtek 8139 CardBus. One IRQ would be nice, >current driver can not use memory mapped IO, only direct IO, >256 addresses. The IRQ wouldn't be a problem on PCI (should be using PCI-IRQs?!), but the I/O and memory resources should give some trouble. There would be a possibility. It would be clean and imho good. GCONFIG sees any attach/detachment of devices and looks for a matching configuration area entry. If one matches, then it will use the configuration specified there. Using that scheme, it would be possible. e.g. user attaches new device. Daemon says "User: I got new device at PCMCIA, it wants 256 I/O and one IRQ". User accepts it and now the daemon saves that configuration into configuration area. On next reboot, it could collect all configurations for e.g. PCMCIA and configure the bridge with it. This would require a reboot though. I don't think reconfiguring a bridge while having devices on it would be a good thing to do especailly because drivers would need to support this. The downside would be that multiple devices would allocate space even if they are not attached. cu, Kiewitz ----------- To unsubscribe yourself from this list, send the following message to [EMAIL PROTECTED] unsubscribe acpi-os2 end