Re: dynamic hints
Peter Wemm [EMAIL PROTECTED] writes: Yes, sort-of. kenv(8) can change the strings. But I suspect it is too late for something like isa since I think it would have done a pass at boot to create the attachment nodes. But as configuration knobs for drivers that want to examine a string directly via getenv() etc, those would not be too late. It wouldn't be too late for loadable modules... DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: dynamic hints
Dag-Erling Smorgrav wrote: Peter Wemm [EMAIL PROTECTED] writes: Yes, sort-of. kenv(8) can change the strings. But I suspect it is too late for something like isa since I think it would have done a pass at boot to create the attachment nodes. But as configuration knobs for drivers that want to examine a string directly via getenv() etc, those would not be too late. It wouldn't be too late for loadable modules... Don't most ISA probes have to happen a the wrong time because their resources are unrelocatable? That would argue against post-boot-time hints... -- Terry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: dynamic hints
On Wed, Feb 12, 2003 at 03:08:17AM -0800, Terry Lambert wrote: Dag-Erling Smorgrav wrote: Peter Wemm [EMAIL PROTECTED] writes: Yes, sort-of. kenv(8) can change the strings. But I suspect it is too late for something like isa since I think it would have done a pass at boot to create the attachment nodes. But as configuration knobs for drivers that want to examine a string directly via getenv() etc, those would not be too late. It wouldn't be too late for loadable modules... Don't most ISA probes have to happen a the wrong time because their resources are unrelocatable? That would argue against post-boot-time hints... So modules that do ISA probes will not use or honor post-boot-time hints. This does not mean that no other module will ever benefit from passing any kind of parameters at load time; it is true that this feature may be abused, but it may actually be *used*, too, and there are people who would definitely find it useful for passing some parameters to some modules. G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 What would this sentence be like if it weren't self-referential? msg39925/pgp0.pgp Description: PGP signature
Re: dynamic hints
Peter Pentchev wrote: On Wed, Feb 12, 2003 at 03:08:17AM -0800, Terry Lambert wrote: Dag-Erling Smorgrav wrote: Peter Wemm [EMAIL PROTECTED] writes: Yes, sort-of. kenv(8) can change the strings. But I suspect it is too late for something like isa since I think it would have done a pass at boot to create the attachment nodes. But as configuration knobs for drivers that want to examine a string directly via getenv() etc, those would not be too late. It wouldn't be too late for loadable modules... Don't most ISA probes have to happen a the wrong time because their resources are unrelocatable? That would argue against post-boot-time hints... So modules that do ISA probes will not use or honor post-boot-time hints. This does not mean that no other module will ever benefit from passing any kind of parameters at load time; it is true that this feature may be abused, but it may actually be *used*, too, and there are people who would definitely find it useful for passing some parameters to some modules. I agree in principle, but read what Peter Wemm wrote: this is about an ISA device. -- Terry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: dynamic hints
On Wed, Feb 12, 2003 at 03:30:25AM -0800, Terry Lambert wrote: Peter Pentchev wrote: On Wed, Feb 12, 2003 at 03:08:17AM -0800, Terry Lambert wrote: Dag-Erling Smorgrav wrote: Peter Wemm [EMAIL PROTECTED] writes: Yes, sort-of. kenv(8) can change the strings. But I suspect it is too late for something like isa since I think it would have done a pass at boot to create the attachment nodes. But as configuration knobs for drivers that want to examine a string directly via getenv() etc, those would not be too late. It wouldn't be too late for loadable modules... Don't most ISA probes have to happen a the wrong time because their resources are unrelocatable? That would argue against post-boot-time hints... So modules that do ISA probes will not use or honor post-boot-time hints. This does not mean that no other module will ever benefit from passing any kind of parameters at load time; it is true that this feature may be abused, but it may actually be *used*, too, and there are people who would definitely find it useful for passing some parameters to some modules. I agree in principle, but read what Peter Wemm wrote: this is about an ISA device. Yes, that's true; however, I think that Nicholas Souchu did not really mean ISA in the message that started the thread. Still, yes, for ISA you are absolutely correct. G'luck, Peter -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 What would this sentence be like if pi were 3? msg39927/pgp0.pgp Description: PGP signature
Re: dynamic hints
While it is true that the isahints driver now only parses things once, there's nothing preventing someone from allowing it to parse them multiple times. However, doing so is kind of a hard problem to get right in the edge cases. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
dynamic hints
Is that possible to change hints once booted? I noticed in the archive it was planned but none of the man pages refer to such a feature. Any patch around? Nicholas -- Nicholas Souchu - [EMAIL PROTECTED] - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: dynamic hints
Nicolas Souchu wrote: Is that possible to change hints once booted? I noticed in the archive it was planned but none of the man pages refer to such a feature. Any patch around? Yes, sort-of. kenv(8) can change the strings. But I suspect it is too late for something like isa since I think it would have done a pass at boot to create the attachment nodes. But as configuration knobs for drivers that want to examine a string directly via getenv() etc, those would not be too late. Cheers, -Peter -- Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] All of this is for nothing if we don't go to the stars - JMS/B5 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message