Re: devfs

Michael Neuffer (neuffer@goofy.zdv.Uni-Mainz.de)
Tue, 13 Jan 1998 20:03:21 +0100 (MET)


On Tue, 13 Jan 1998, linux kernel account wrote:
> Why dont we number Scsi cards in isa slots 0-3 (lowest memory address
> first) (I guess vlb and eisa count as isa) and then number pci devices up
> (first controler slot 1 slot 2 ... bridge slot 1 slot 2 ... bridge..
> Second controler ....)..
>
> Then when putting a card in a slot you would have a fare idea of where it
> will be and adding another card to the system wont move things around..

It would definitely be a far better solution (in the long run it is
needed anyway).

However we would have to drastically change the way we sort (and probe)
the adapters.

We could for example make the SCSI drivers that support PCI, register
callbacks with the PCI code. Those functions would then in turn be called
in the correct order with the probed device information.

Something similar should be possible for EISA since it has a configuration
space as well, however I have no idea how to do this properly with ISA
hardware.

Mike