grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ppc patch] support SCSI disks


From: Marco Gerards
Subject: Re: [ppc patch] support SCSI disks
Date: Sun, 03 Oct 2004 18:10:36 +0000
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Hollis Blanchard <address@hidden> writes:

> On Oct 3, 2004, at 4:21 AM, Marco Gerards wrote:
>>
>> Isn't it possible to make this a bit more generic?  So not iterating
>> over only scsi but also over `ide' when it is available, for example?
>> That way it is more likely the code will work on other machines as
>> well.
>
> A given SCSI device could be either a byte-oriented tape or a
> block-oriented disk. However, I do not believe that the ATA protocol
> allows you to read a single byte, so ATA tape drives must implement
> blocking in the hardware. In other words, it is not possible to have
> both block- and byte-oriented device nodes representing an ATA
> device. That is probably why I have never seen an IDE/ATA "tape" node
> in a device tree.

I never mentioned tapes...  All I currently care about are block
devices.

> If a system does turn up later in which some additional searching is
> needed, the problem can be resolved then. For now, my preference is
> not to write and maintain code that isn't needed, as unneeded code can
> only cause bugs.

What I mean is not writing unneeded code, just making it a bit more
generic.  For example scan from all the childs of aliases for block
devices.  In your case scsi/foo will show up.

Thanks,
Marco





reply via email to

[Prev in Thread] Current Thread [Next in Thread]