1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

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.
This commit is contained in:
Warner Losh 2006-07-17 03:47:18 +00:00
parent e4cec28398
commit aab9226995
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160420

View File

@ -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