summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/mcd/mcd.c4
-rw-r--r--sys/i386/isa/mcd.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c
index 3127f79..c947a2a 100644
--- a/sys/dev/mcd/mcd.c
+++ b/sys/dev/mcd/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.
*
- * $Id: mcd.c,v 1.7 1994/01/22 18:00:54 ats Exp $
+ * $Id: mcd.c,v 1.8 1994/02/06 11:33:25 rgrimes Exp $
*/
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?!?!? */
- if (check = 'M') {
+ if (check == 'M') {
#ifdef DEBUG
printf("Mitsumi drive detected\n");
#endif
diff --git a/sys/i386/isa/mcd.c b/sys/i386/isa/mcd.c
index 3127f79..c947a2a 100644
--- 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.
*
- * $Id: mcd.c,v 1.7 1994/01/22 18:00:54 ats Exp $
+ * $Id: mcd.c,v 1.8 1994/02/06 11:33:25 rgrimes Exp $
*/
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?!?!? */
- if (check = 'M') {
+ if (check == 'M') {
#ifdef DEBUG
printf("Mitsumi drive detected\n");
#endif
OpenPOWER on IntegriCloud