On Jan 5, 2:29 pm, "KMOS" <
kmos_inval...@rocketmail.com> wrote:
> Besides to what Bruce said, sometimes PCI BUS driver not only enumerate but
> also allocates resources (IRQ/ IO/ Memory) for the peripherals.
> Even the enumeration itself, is not just simply detect the existing of the
> peripheral but also need to detect the resources and write back the
> address/IRQ/SYSINTR to registry before activate the device driver.
> So you really need to know the detail of PCI BUS and do whatever it does to
> activate a PCI based driver properly.
>
> "Bruce Eitman [eMVP]" <bruce.eitman.nos...@Eurotech.com.nospam> wrote in
> messagenews:%23r2EcRk...@TK2MSFTNGP06.phx.gbl...
>
>
>
> >I think that you would need to do that with the PCI BUS driver which
> >enumerates the devices on the BUS and starts drivers only when it starts
> >up.
>
> > --
> > Bruce Eitman (eMVP)
> > Senior Engineer
> > Bruce.Eitman AT Eurotech DOT com
> > My BLOGhttp://
geekswithblogs.net/bruceeitman>
> > Eurotech Inc.
> >
www.Eurotech.com>
> > "ydlu" <
yudian...@gmail.com> wrote in message
> >news:e3d2b6db-e44d-4de2...@f5g2000yqh.googlegroups.com...
> >> Hi:
> >> I had developed a PCI device driver, when it build and loaded from
> >> platform builder from "bib" and "reg" files. And driver running.
> >> However, this driver still on progress/developing, so everytime the
> >> driver was update, the NK.BIN have to deploy to all developers. I had
> >> used the "ActivateDeviceEx" API to load another "stream device driver"
> >> and driver was loaded and running good. But not the PCI device driver?
> >> How and what APIs I could use to load a "PCI device driver" into CE
> >> OS? or the device driver have to do something else?
>
> >> Thanks- Hide quoted text -
>
> - Show quoted text -
Thanks.
The PCI device driver could be loaded from "compact flash" card, not
included in NK.BIN.
when I defined the Loader "SystemPath" include the the path of
"Compact flash" card directory.
So this issue was solved.
Thanks
Lu