Subject: Re: #ifdef __i386 in usr.bin/eject
To: None <current-users@NetBSD.ORG>
From: Christoph Badura <bad@flatlin.ka.sub.org>
List: current-users
Date: 10/24/1995 13:47:00
Jason Thorpe writes:
>On Mon, 23 Oct 1995 09:48:09 -0400 (EDT) 
> Rob Leland <leland@freetocreate.cais.com> wrote:
> > Why is there a #ifdef __i386 in
> > src/usr.bin/eject/eject.c ?
> > There doesn't seem to be any architecture specific code in
> > the rest of the user command tree.

>Because i386 floppy drives have an eject button, and aren't motorized.

You mean like there's something peculiar about Intel processors that
precludes the use of motorized floppies while all other processors
require motorized floppies?

Surely, eject could make the ioctl regardless and have the driver
decide if that works or not.
-- 
Christoph Badura	bad@flatlin.ka.sub.org		+49 721 606137

Es genuegt nicht, keine Gedanken zu haben;
man muss auch unfaehig sein, sie auszudruecken.  - Karl Kraus