> For instance, if we define the error code as 1 in the return > message, the driver will interpret it and just return -EOPNOTSUPP, > regardless of the architecture.
Yes, that is fine. Document the values the return code can take, and
what the mean. What we don't want is the protocol directly returning
errno values, because they are architecture specific.
Andrew

