summaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2015-04-15 00:53:15 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-04-17 07:23:46 +0200
commitab3da15bc14cc5297b2da27eb3dcd8d70dac41df (patch)
treef25fad095cb149fefb5b216dc9fb37b43a0e2158 /include/asm-generic
parent11045f866dd3b924d025faa86c41bd4dd3a9236a (diff)
downloadbarebox-ab3da15bc14cc5297b2da27eb3dcd8d70dac41df.tar.gz
barebox-ab3da15bc14cc5297b2da27eb3dcd8d70dac41df.tar.xz
base: Introduce deferred probing
As expected, we would need deferred probing sooner or later. This is a first approach to allow devices to return -EPROBE_DEFER and get sorted into a list of deferred devices that will be re-probed later. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/errno.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-generic/errno.h b/include/asm-generic/errno.h
index bbf493c373..6072f7b605 100644
--- a/include/asm-generic/errno.h
+++ b/include/asm-generic/errno.h
@@ -132,6 +132,7 @@
#define ERESTARTNOINTR 513
#define ERESTARTNOHAND 514 /* restart if no handler.. */
#define ENOIOCTLCMD 515 /* No ioctl command */
+#define EPROBE_DEFER 517 /* Driver requests probe retry */
#define ENOTSUPP 524 /* Operation is not supported */