diff options
author | nsouch <nsouch@FreeBSD.org> | 1999-01-14 21:38:16 +0000 |
---|---|---|
committer | nsouch <nsouch@FreeBSD.org> | 1999-01-14 21:38:16 +0000 |
commit | f1992daab2055a80f5ad11c9cff2ea697991dc73 (patch) | |
tree | 5df69d006a78e19b39cc3bbdbb8fbc4e93e35e98 /sys/dev/ppbus/ppb_1284.c | |
parent | 7f30565a7af7a2ea2b56927665f8511545d1bd12 (diff) | |
download | FreeBSD-src-f1992daab2055a80f5ad11c9cff2ea697991dc73.zip FreeBSD-src-f1992daab2055a80f5ad11c9cff2ea697991dc73.tar.gz |
Terminate negociation if Ext. link negociation succeeds. This avoids
the unknown mode panic during boot probe.
Diffstat (limited to 'sys/dev/ppbus/ppb_1284.c')
-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 96cd6f2..5da5fa3 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); |