mtd/drivers/mtd/devices docprobe.c,1.38,1.39
David Woodhouse
dwmw2 at infradead.org
Thu Jul 3 11:15:09 EDT 2003
Update of /home/cvs/mtd/drivers/mtd/devices
In directory phoenix.infradead.org:/tmp/cvs-serv4609/devices
Modified Files:
docprobe.c
Log Message:
Allow Millennium Plus 16 to be used again
Index: docprobe.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/docprobe.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- docprobe.c 30 Jun 2003 09:21:54 -0000 1.38
+++ docprobe.c 3 Jul 2003 15:15:06 -0000 1.39
@@ -163,9 +163,6 @@
break;
case DOC_ChipID_DocMilPlus16:
- printk(KERN_WARNING "DiskOnChip Millennium Plus 16MiB not yet supported. Sorry.\n");
- return 0;
-
case DOC_ChipID_DocMilPlus32:
case 0:
/* Possible Millennium+, need to do more checks */
@@ -193,9 +190,6 @@
switch (ChipID) {
case DOC_ChipID_DocMilPlus16:
- printk(KERN_NOTICE "DiskOnChip Millennium Plus 16MiB not yet supported. Sorry\n");
- return 0;
-
case DOC_ChipID_DocMilPlus32:
/* Check the TOGGLE bit in the toggle register */
tmp = ReadDOC(window, Mplus_Toggle) & DOC_TOGGLE_BIT;
@@ -203,7 +197,6 @@
tmpc = ReadDOC(window, Mplus_Toggle) & DOC_TOGGLE_BIT;
if (tmp != tmpb && tmp == tmpc)
return ChipID;
- break;
default:
break;
}
More information about the linux-mtd-cvs
mailing list