I apologize for my previous message - you both were absolutely right and I
was absolutely wrong. Your idea works fine - I just tested it.
Originally, I thought you were suggesting to remove the whole decrement
statement, not just the conditional if().
Many regards,
Tigran.
On Mon, 1 Jun 1998, Eric Youngdale wrote:
> On Mon, 1 Jun 1998, Leonard N. Zubkoff wrote:
> > modules are removed in the reverse order that they were installed. I also
> > recall a proposal to keep track of where a driver module had been installed and
> > re-install at the same host number if possible. An interesting experiment
> > would be to remove the module test in:
> >
> > if (max_scsi_hosts == next_scsi_host && !scsi_loadable_module_flag)
> > max_scsi_hosts--;
> >
> > from hosts.c and see if the system operates properly.
>
> My guess is that this will work correctly. If we weren't so
> close to 2.2, I would just suggest yanking it out entirely (after a few
> people had tried it).
>
> -Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu