]> git.ozlabs.org Git - yaboot.git/blobdiff - include/errors.h
Prepare for netboot fix(following patch). No Functional change.
[yaboot.git] / include / errors.h
index c4950e5ad24b3cf3a5b78a63532715d6b43d37ab..e994dd571d55dbbc4fe9e8addefa7510aed779da 100644 (file)
@@ -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,8 @@
 #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
+#define FILE_DEVICE_ISCSI       3