[haiku-commits] Re: r35159 - haiku/trunk/src/add-ons/kernel/drivers/network/wlan/broadcom43xx

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 19 Jan 2010 13:04:02 +0100

Colin Günther <coling@xxxxxx> wrote:
> Axel Dörfler schrieb:
> > coling@xxxxxx wrote:
> >> +bwi_v3_ucode5                     bwi_v3_ucode5
> > Another optimization: if the requested name exists (and there is no
> > mapping for it), just use that one directly.
> Yep, that is an easy one thanks to get_driver_parameter. I'm curious,
> what would be the benefit of this optimization? Only storage and
> typing
> reduction comes to my mind.

As well as memory and boot time: all driver settings files are loaded
by the boot loader, as it cannot know which ones are needed to be
accessed before the boot device is available in the kernel.
And also, in general, default settings *files* should be avoided if
possible, as there is no good reason to have them around.

Bye,
   Axel.


Other related posts: