X-Git-Url: https://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=include%2Ferrors.h;h=dfe7e5f6b72145efe96724e7c3ab531c085068ad;hp=c4950e5ad24b3cf3a5b78a63532715d6b43d37ab;hb=5aa4e2a849cbef09035dfc9b324df5f5167c64e9;hpb=8d5a42062f8b88eaea91434e53973ce9f55589d9 diff --git a/include/errors.h b/include/errors.h index c4950e5..dfe7e5f 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,7 @@ #define FILE_ERR_LENGTH -10 #define FILE_ERR_FSBUSY -11 #define FILE_ERR_BADDEV -12 + +/* Device kind */ +#define FILE_DEVICE_BLOCK 1 +#define FILE_DEVICE_NET 2