X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=include%2Ferrors.h;h=c0a67ed6d895e44a7220dca901c9b7a747c7173a;hp=c4950e5ad24b3cf3a5b78a63532715d6b43d37ab;hb=d01b3f4172d368eed8e56ab974e6028ce0710591;hpb=8d5a42062f8b88eaea91434e53973ce9f55589d9 diff --git a/include/errors.h b/include/errors.h index c4950e5..c0a67ed 100644 --- a/include/errors.h +++ b/include/errors.h @@ -1,7 +1,7 @@ /* * errors.h - Definitions of error numbers returned by filesystems * - * Copyright (C) 2001 Ethan Benson + * Copyright (C) 2001 Ethan Benson * * Copyright (C) 1999 Benjamin Herrenschmidt * @@ -34,3 +34,9 @@ #define FILE_ERR_LENGTH -10 #define FILE_ERR_FSBUSY -11 #define FILE_ERR_BADDEV -12 +#define FILE_ERR_NOMEM -13 + +/* Device kind */ +#define FILE_DEVICE_BLOCK 1 +#define FILE_DEVICE_NET 2 +#define FILE_DEVICE_ISCSI 3