Well, I haven't got a MMC/SPI support for my targets, but I did decide
to have a taste of mmc disk just for an abstract at91 board and I did
catch an error. Here is my 2 cents medicine.

  Sergei
diff -ur devs/disk/generic/mmc/current/ChangeLog 
devs.new/disk/generic/mmc/current/ChangeLog
--- devs/disk/generic/mmc/current/ChangeLog
+++ devs.new/disk/generic/mmc/current/ChangeLog
@@ -1,3 +1,8 @@
+2006-09-27  Sergei Gavrikov  <[EMAIL PROTECTED]>
+
+       * src/mmc_spi.c: (mmc_spi_disk_lookup): just fixed a missed
+       semicolon;
+
 2006-09-21  Jonathan Larmour  <[EMAIL PROTECTED]>
 
        * Contribution of MMC/SPI package from eCosCentric. eCosCentric
Only in /home/sg/ecos/ecos/packages/devs/disk/generic/mmc/current/src: 
.mmc_spi.c.swp
diff -ur devs/disk/generic/mmc/current/src/mmc_spi.c 
devs.new/disk/generic/mmc/current/src/mmc_spi.c
--- devs/disk/generic/mmc/current/src/mmc_spi.c
+++ devs.new/disk/generic/mmc/current/src/mmc_spi.c
@@ -975,7 +975,7 @@
         ident.heads_num         = disk->mmc_heads_per_cylinder;
         ident.sectors_num       = disk->mmc_sectors_per_head;
         ident.lba_sectors_num   = disk->mmc_block_count;
-        ident.phys_block_size   = disk->mmc_write_block_length/512
+        ident.phys_block_size   = disk->mmc_write_block_length/512;
         ident.max_transfer      = disk->mmc_write_block_length;
 
         DEBUG1("Calling disk_connected(): serial %s, firmware %s, model %s, 
heads %d, sectors %d, lba_sectors_num %d, phys_block_size %d\n", \

Reply via email to