diff options
author | Dan Williams <dcbw@redhat.com> | 2009-11-26 13:54:47 -0800 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2009-11-26 13:54:47 -0800 |
commit | aea0be5b9a02926a1f8f72104ce32c7dabae3f84 (patch) | |
tree | 75c6790f50539e73576477318661221e43725005 /src/mm-errors.h | |
parent | 15595b33dc88724253a147b7894c953a5d3110e6 (diff) |
nozomi: fix detection (lp:425312)
Nozomi devices aren't quite ready when the ports show up, so
we have to keep trying to open the port for a few seconds and
eventually it'll succeed. Should really be fixed in the driver
(ie, don't create the ttys until they can actually be used) but
whatever.
Diffstat (limited to 'src/mm-errors.h')
-rw-r--r-- | src/mm-errors.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mm-errors.h b/src/mm-errors.h index bc43d3e9..4bf8ecad 100644 --- a/src/mm-errors.h +++ b/src/mm-errors.h @@ -22,7 +22,8 @@ enum { MM_SERIAL_OPEN_FAILED = 0, MM_SERIAL_SEND_FAILED = 1, - MM_SERIAL_RESPONSE_TIMEOUT = 2 + MM_SERIAL_RESPONSE_TIMEOUT = 2, + MM_SERIAL_OPEN_FAILED_NO_DEVICE = 3 }; #define MM_SERIAL_ERROR (mm_serial_error_quark ()) |