Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 2004 13:10:48 +0100
From:      Maxime Henrion <mux@freebsd.org>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/i386/include asc_ioctl.h ioctl_ctx.h wtio.h
Message-ID:  <20040314121048.GI35475@elvis.mu.org>
In-Reply-To: <Pine.BSF.4.53.0403141159410.51220@e0-0.zab2.int.zabbadoz.net>
References:  <200403140540.i2E5eock075931@repoman.freebsd.org> <Pine.BSF.4.53.0403141159410.51220@e0-0.zab2.int.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Bjoern A. Zeeb wrote:
> On Sat, 13 Mar 2004, Warner Losh wrote:
> 
> > imp         2004/03/13 21:40:50 PST
> >
> >   FreeBSD src repository
> >
> >   Removed files:
> >     sys/i386/include     asc_ioctl.h ioctl_ctx.h wtio.h
> >   Log:
> >   remove the ioctl files from the asc, ctx and wt drivers just removed
> >
> >   Revision  Changes    Path
> >   0.4       +0 -53     src/sys/i386/include/asc_ioctl.h (dead)
> >   1.7       +0 -31     src/sys/i386/include/ioctl_ctx.h (dead)
> >   1.5       +0 -30     src/sys/i386/include/wtio.h (dead)
> 
> usr.bin/mt/mt.c:
> 
> #if defined(__i386__)
> #include <machine/wtio.h>
> #endif
> 
> s.th. like this should do the trick:
> 
> --- usr.bin/mt/mt.c.orig	Sun Mar 14 12:01:14 2004
> +++ usr.bin/mt/mt.c	Sun Mar 14 12:01:25 2004
> @@ -306,10 +306,6 @@ main(argc, argv)
>  	/* NOTREACHED */
>  }
> 
> -#if defined(__i386__)
> -#include <machine/wtio.h>
> -#endif
> -
>  struct tape_desc {
>  	short	t_type;		/* type of magtape device */
>  	char	*t_name;	/* printing name */
> @@ -325,10 +321,6 @@ struct tape_desc {
>  	 * magtape driver.
>  	 */
>  	{ MT_ISAR,	"SCSI tape drive", 0,		0 },
> -#if defined (__i386__)
> -	{ MT_ISVIPER1,	"Archive Viper", WTDS_BITS, WTER_BITS },
> -	{ MT_ISMFOUR,	"Wangtek",	 WTDS_BITS, WTER_BITS },
> -#endif
>  	{ 0, NULL, 0, 0 }
>  };

Would be even better if you remove the comment lines that refer to the
lines you just removed :-).

Cheers,
Maxime



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040314121048.GI35475>