summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio/sio.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2006-07-17 03:47:18 +0000
committerimp <imp@FreeBSD.org>2006-07-17 03:47:18 +0000
commitb92d5e9b3309e7e8e90821b27f84a671c7c48002 (patch)
treef6ddf89079d733c265442a63b9edd23acdcbeb01 /sys/dev/sio/sio.c
parent45cb17842617c19d39fe2baf45757f37d2698f9c (diff)
downloadFreeBSD-src-b92d5e9b3309e7e8e90821b27f84a671c7c48002.zip
FreeBSD-src-b92d5e9b3309e7e8e90821b27f84a671c7c48002.tar.gz
Restore the status quo before my last commit. Prior to it, sio took
precedence uart. With my last change, it became a tie, and uart seems to always win on my amd64. This was not my intention, so have sio be just a tiny bit more preferred than uart. Note: I'm not making any judgement on the merits of uart winning. I'm just saying that if we want to change it, we do it on purpose.
Diffstat (limited to 'sys/dev/sio/sio.c')
-rw-r--r--sys/dev/sio/sio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index a2057e0..834e8eb 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -700,7 +700,7 @@ sioprobe(dev, xrid, rclk, noprobe)
device_set_softc(dev, NULL);
free(com, M_DEVBUF);
}
- return (result == 0 ? BUS_PROBE_DEFAULT : result);
+ return (result == 0 ? BUS_PROBE_DEFAULT + 1 : result);
}
/*
@@ -777,7 +777,7 @@ sioprobe(dev, xrid, rclk, noprobe)
device_set_softc(dev, NULL);
free(com, M_DEVBUF);
}
- return (result == 0 ? BUS_PROBE_DEFAULT : result);
+ return (result == 0 ? BUS_PROBE_DEFAULT + 1 : result);
}
#ifdef COM_ESP
OpenPOWER on IntegriCloud