diff options
Diffstat (limited to 'sys/pci/intpm.c')
-rw-r--r-- | sys/pci/intpm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/intpm.c b/sys/pci/intpm.c index 375a56f..1e92909 100644 --- a/sys/pci/intpm.c +++ b/sys/pci/intpm.c @@ -272,7 +272,7 @@ intsmb_callback(device_t dev, int index, void *data) case SMB_RELEASE_BUS: break; default: - error = EINVAL; + error = SMB_EINVAL; } return (error); @@ -519,7 +519,7 @@ intsmb_quick(device_t dev, u_char slave, int how) data |= LSB; break; default: - return (EINVAL); + return (SMB_EINVAL); } INTSMB_LOCK(sc); @@ -774,7 +774,7 @@ intsmb_bread(device_t dev, u_char slave, char cmd, u_char *count, char *buf) } *count = nread; } else - error = EIO; + error = SMB_EBUSERR; } INTSMB_UNLOCK(sc); return (error); |