From b92d5e9b3309e7e8e90821b27f84a671c7c48002 Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 17 Jul 2006 03:47:18 +0000 Subject: 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. --- sys/dev/sio/sio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/sio/sio.c') 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 -- cgit v1.1