projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4ef80ee
)
Fixed bug in probe that was causing it to always probe true.
author
David Greenman
<davidg@Root.COM>
Mon, 7 Feb 1994 15:46:22 +0000
(15:46 +0000)
committer
David Greenman
<davidg@Root.COM>
Mon, 7 Feb 1994 15:46:22 +0000
(15:46 +0000)
sys/i386/isa/mcd.c
patch
|
blob
|
blame
|
history
diff --git
a/sys/i386/isa/mcd.c
b/sys/i386/isa/mcd.c
index
3127f79
..
c947a2a
100644
(file)
--- a/
sys/i386/isa/mcd.c
+++ b/
sys/i386/isa/mcd.c
@@
-35,7
+35,7
@@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: mcd.c,v 1.
7 1994/01/22 18:00:54 at
s Exp $
+ * $Id: mcd.c,v 1.
8 1994/02/06 11:33:25 rgrime
s Exp $
*/
static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";
*/
static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";
@@
-584,7
+584,7
@@
int mcd_probe(struct isa_device *dev)
DELAY (500);
junk = inb(port+MCD_DATA); /* What is byte used for?!?!? */
DELAY (500);
junk = inb(port+MCD_DATA); /* What is byte used for?!?!? */
- if (check = 'M') {
+ if (check =
=
'M') {
#ifdef DEBUG
printf("Mitsumi drive detected\n");
#endif
#ifdef DEBUG
printf("Mitsumi drive detected\n");
#endif