"Dana H. Myers" <[EMAIL PROTECTED]> wrote:
> It sounds like Cyril has a bigger problem - his device has a Base Address
> Register
> which isn't present when the device is enumerated (and possibly programmed on
> x86/x64). By the time he gets around to enabling this additional BAR, it's
> long after the enumeration of PCI devices is done.
>
> Cyril, what happens when you enabled this BAR - presumably it needs
> resources allocated to it? Does the device work in a degraded mode
> without this register enabled?
I am not sure about the real problen behind as I did not yet understand it.
10 years ago, I had to write a DPLI driver for a device that does firmware
download via mmap(). The problem is that you need to tell the kernel the
device mmap() information at a time when you do not even know whether the
instance in question is present at all and what parameters to fill in.
What I did was to return a pointer to dummy information that I did overwrite
after I did know the right values.
BTW: fore did not understand this and this was the reason why you could not
move a fore card to another slot without manualy editing /etc/path_to_instance
;-)
Jörg
--
EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
[EMAIL PROTECTED] (uni)
[EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code