The problem is, there are bioses and there are bioses. You can never know
what a bios really does to your device. If it is a bog standard kind of
device, well, we can probably assume that the bios is going to handle it ok;
but if it is not, who knows ? A good bios will handle it properly, but a not
so good bios might not. I would be tempted to initialize the device myself
anyway, just to be safe, unless of course I had to barge into the HAL and
rewrite a part of it to make ends meet ! Yet, depending on the device, you
might be able to read the state and see if all’s there, if not, well, reinit
it.
Alberto.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Gary G. Little
Sent: Friday, January 09, 2004 11:39 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Cultural differences in developing software
Don,
Yeah, I can agree that when I’m in an embedded, very restricted, and or
controlled platform, initializing the hardware for my “driver” may not be
needed. But then I know that the upfront code most likely will not change
simply because a bean-counter found a good deal for Mom’s Motherboards in
Podunk, Alaska. But with NT, 2K, XP etc. etc. etc. I will for sure make sure
I have applied a good initialization and configuration to my adapter. There
I agree with Alberto … “I don’ need no shtinking BIOS”. 
–
Gary G. Little
Seagate Technologies, LLC
“Don Burn” wrote in message news:xxxxx@ntdev…
> Gary,
>
> I guess I would say that depends. I have dealt with firms whose
> hardware and BIOS are so bad, that I would leave the StartDevice routine
> without perform all initializations and diagnostics I possibly could. At
> the other end of the extreme I done driver for an almost embedded
> environment, where the hardware is stable and would not waste my clients
> time on doing any of this.
>
> Overall this is a judgement call based on a lot of things (including
> have you been burned before), but I do agree that for the most part I want
> to initialize things the way my driver expects them, since I don’t trust
> that the on card BIOS with the motherboard BIOS is going to do the right
> thing.
>
>
> –
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Remove StopSpam from the email to reply
>
> ----- Original Message -----
> From: “Gary G. Little”
> Newsgroups: ntdev
> To: “Windows System Software Devs Interest List”
> Sent: Friday, January 09, 2004 10:52 AM
> Subject: [ntdev] Cultural differences in developing software
>
>
> > Discretion prevents me from going into detail, but I really do have to
ask
> a
> > question.
> >
> > If you were tasked with developing a legacy device driver that is to
> control
> > hardware for platforms running NT4, 2K, XP, or Server 2003, how many of
> you
> > would configure and initialize the adapter even though the BIOS has
> applied
> > a configuration during POST?
> >
> > How many of you would depend upon the platform BIOS to have done the
task
> > for you,
> > and not initialize and configure the adapter as a basic component of
your
> > driver? The BIOS may be any BIOS available,
> >
> > My feeling is this — My job, my driver, I control the hardware so I am
> > going to stop, init, config and restart the adapter.
> >
> > –
> > Gary G. Little
> > Seagate Technologies, LLC
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@acm.org
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it.