summaryrefslogtreecommitdiffstats
path: root/sys/dev/pccbb
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-06-03 18:57:28 +0000
committerimp <imp@FreeBSD.org>2006-06-03 18:57:28 +0000
commit4c81cb92a30abe28237b5cb3559f69c1d446c656 (patch)
tree94e2cdc52e6863969ad422b8b1e5cc7ebce3b31a /sys/dev/pccbb
parent7686abec4aa8853e5115e75e348af4611efc9194 (diff)
downloadFreeBSD-src-4c81cb92a30abe28237b5cb3559f69c1d446c656.zip
FreeBSD-src-4c81cb92a30abe28237b5cb3559f69c1d446c656.tar.gz
Succeed for writing bus value... nobody that calls must care :-(
Diffstat (limited to 'sys/dev/pccbb')
-rw-r--r--sys/dev/pccbb/pccbb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c
index a52d624..7d44806 100644
--- a/sys/dev/pccbb/pccbb.c
+++ b/sys/dev/pccbb/pccbb.c
@@ -1527,7 +1527,7 @@ cbb_write_ivar(device_t brdev, device_t child, int which, uintptr_t value)
switch (which) {
case PCIB_IVAR_BUS:
sc->secbus = value;
- break;
+ return (0);
}
return (ENOENT);
}
OpenPOWER on IntegriCloud