diff options
author | Nicolas Souchu <nsouch@FreeBSD.org> | 1999-01-14 21:38:16 +0000 |
---|---|---|
committer | Nicolas Souchu <nsouch@FreeBSD.org> | 1999-01-14 21:38:16 +0000 |
commit | 78534d41e18312cdcb6028c83c3394d958df2807 (patch) | |
tree | 45fd9153a8df0dcd35f4bb9c4ae4ef7010f210ca | |
parent | f17a6700e23b31b7be6044cd98db91cf20876991 (diff) | |
download | src-78534d41e18312cdcb6028c83c3394d958df2807.tar.gz src-78534d41e18312cdcb6028c83c3394d958df2807.zip |
Terminate negociation if Ext. link negociation succeeds. This avoids
the unknown mode panic during boot probe.
Notes
Notes:
svn path=/head/; revision=42668
-rw-r--r-- | sys/dev/ppbus/ppb_1284.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/ppbus/ppb_1284.c b/sys/dev/ppbus/ppb_1284.c index 96cd6f2d420c..5da5fa3eac3a 100644 --- a/sys/dev/ppbus/ppb_1284.c +++ b/sys/dev/ppbus/ppb_1284.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ppb_1284.c,v 1.6 1998/09/13 20:44:55 nsouch Exp $ + * $Id: ppb_1284.c,v 1.7 1999/01/10 12:04:54 nsouch Exp $ * */ @@ -721,6 +721,13 @@ ppb_1284_negociate(struct ppb_device *dev, int mode, int options) /* Event 7 - quering result consider nACK not to misunderstand * a remote computer terminate sequence */ + if (options & PPB_EXTENSIBILITY_LINK) { + + /* XXX not fully supported yet */ + ppb_1284_terminate(dev); + return (0); + + } if (request_mode == NIBBLE_1284_NORMAL) { if (do_1284_wait(dev, nACK | SELECT, nACK)) { ppb_1284_set_error(dev, PPB_MODE_UNSUPPORTED, 7); |