On Tue, Nov 17, 2009 at 11:17:43AM +0100, Gerd Hoffmann wrote:
> Largely based on <scsi/scsi.h> from linux.  Added into the tree so we
> can use the defines everywhere, not just in scsi-generic.c (which is
> linux-specific).

Btw, I'm not sure having the name clash with the Linux header is a good
idea as we need to include it for ioctls.  Also the complete lack of
prefixes for the defines might causes some problems.

Otherwise a good idea,


Reviewed-by: Christoph Hellwig <h...@lst.de>

> @@ -0,0 +1,156 @@
> +/* Copyright (C) 1998, 1999 Free Software Foundation, Inc.
> +   This file is part of the GNU C Library.
> +
> +   The GNU C Library is free software; you can redistribute it and/or
> +   modify it under the terms of the GNU Lesser General Public
> +   License as published by the Free Software Foundation; either
> +   version 2.1 of the License, or (at your option) any later version.

You probably want to take the kernel scsi.h to base things upon as it's
a lot more uptodate than the glibc one.



Reply via email to