[2837] in linux-scsi channel archive
unchecked_isa_dma, *_EXTRA_DEVS
daemon@ATHENA.MIT.EDU (Jakub Jelinek)
Thu Nov 20 03:20:42 1997
From: Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
To: linux-scsi@vger.rutgers.edu
Date: Thu, 20 Nov 1997 09:22:16 +0100 (MET)
Hi!
Two questions:
a) Am I right when I think a host with unchecked_isa_dma may appear
on Intel arch only? If yes, wouldn't make sense to
#ifdef __i386__
#define unchecked_isadma(host) host->unchecked_isa_dma
#else
#define unchecked_isadma(host) 0
#endif
in hosts.h and thus remove some tests which will never be true on all the
other platforms?
b) What are the issues for getting rid of *_EXTRA_DEVS? It is a very ugly
limitation. I'm now writing a disk array driver which will always add at
least 6 new scsi disks (the minimal configuration of the array), but usually
much more, up to 30 on some models or more. That makes this impossible to
be loaded as a module, unless someone sets EXTRA_DEVS manually before :((.
Where are all the arrays/array members referenced?
Wouldn't it be possible to
a) allocate new pointers, copy everything and relink the old ones
b) keep the old chunks allocated, so that the other CPUs don't reference
something already non-existant
c) somehow ensure that all the changes made to those arrays are propagated
to all arrays for some time.
Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
Ultralinux - first 64bit OS to take full power of the UltraSparc
Linux version 2.1.63 on a sparc64 machine (333.41 BogoMips).
___________________________________________________________________