From owner-freebsd-stable Thu Feb 1 8:42:42 2001 Delivered-To: freebsd-stable@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id EF94537B4EC for ; Thu, 1 Feb 2001 08:42:12 -0800 (PST) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97] ident=root) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #4) id 14OMoG-000JG2-00; Thu, 1 Feb 2001 16:42:12 +0000 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.1/8.11.1) id f11GgBE76036; Thu, 1 Feb 2001 16:42:11 GMT (envelope-from jcm) Date: Thu, 1 Feb 2001 16:42:11 +0000 From: j mckitrick To: John Merryweather Cooper Cc: freebsd-stable@freebsd.org Subject: Re: parallel port zip plus driver Message-ID: <20010201164211.A76012@dogma.freebsd-uk.eu.org> References: <20010201144930.A74754@dogma.freebsd-uk.eu.org> <3A798947.EE4042AC@webmail.bmi.net> <20010201161117.C74754@dogma.freebsd-uk.eu.org> <3A798D27.16411C2@webmail.bmi.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="UugvWAfsgieZRqgk" X-Mailer: Mutt 1.0.1i In-Reply-To: <3A798D27.16411C2@webmail.bmi.net>; from jmcoopr@webmail.bmi.net on Thu, Feb 01, 2001 at 08:21:59AM -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Try this.... Be sure to set the flags for ppc to allow PS2 mode. jcm -- o-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-o | "You can't have everything. Where would you put it?" - Steven Wright | o-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-o --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="immio.patch" --- /usr/src/sys/dev/ppbus/immio.c Mon Jun 12 11:34:07 2000 +++ immioj.c Thu Feb 1 16:38:00 2001 @@ -797,6 +797,8 @@ if (imm_instr(vpo, &h, 1)) { *ret = VP0_EOTHER+2; goto error; } + if (h == -1) + h = 0; *result = ((int) h << 8) | ((int) l & 0xff); --UugvWAfsgieZRqgk-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message