Date: Sun, 6 Aug 2000 14:50:03 -0700 (PDT) From: Nick Hibma <n_hibma@calcaphon.com> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/16153: no more parallel port zip drive Message-ID: <200008062150.OAA53090@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/16153; it has been noted by GNATS.
From: Nick Hibma <n_hibma@calcaphon.com>
To: freebsd-gnats-submit@FreeBSD.org, jfh@jfh00.fernuni-hagen.de
Cc:
Subject: Re: kern/16153: no more parallel port zip drive
Date: Sun, 06 Aug 2000 22:46:14 +0100
A patch has been committed to CURRENT (rev. 1.10 of
dev/ppbus/ppb_base.c) and STABLE (rev. 1.10.2.1 of same file). Diff
attached below.
Let me know if that fixed the problem for you.
Nick
===================================================================
RCS file: /home/ncvs/src/sys/dev/ppbus/ppb_base.c,v
retrieving revision 1.10.2.1
retrieving revision 1.10
diff -wu -r1.10.2.1 -r1.10
--- src/sys/dev/ppbus/ppb_base.c 2000/08/01 23:26:26 1.10.2.1
+++ /home/ncvs/src/sys/dev/ppbus/ppb_base.c 2000/01/14 00:17:54
1.10
@@ -131,11 +131,10 @@
struct ppb_data *ppb = DEVTOSOFTC(bus);
int old_mode = ppb_get_mode(bus);
- if (PPBUS_SETMODE(device_get_parent(bus), mode))
- return -1;
-
+ if (!PPBUS_SETMODE(device_get_parent(bus), mode)) {
/* XXX yet device mode = ppbus mode = chipset mode */
ppb->mode = (mode & PPB_MASK);
+ }
return (old_mode);
}
--
Work: n_hibma@qubesoft.com Personal: n_hibma@webweaving.org
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008062150.OAA53090>
