summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-12-26 07:59:09 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-12-26 07:59:09 -0600
commit9994c5c0d97a54ac4c068524c722bee735f00331 (patch)
treee7fbf8530fb488101c77766274e9ac49f892966d /nuttx/include
parentcfb52f5f094f00cce96a045d4348916c4a86034c (diff)
downloadnuttx-9994c5c0d97a54ac4c068524c722bee735f00331.tar.gz
nuttx-9994c5c0d97a54ac4c068524c722bee735f00331.tar.bz2
nuttx-9994c5c0d97a54ac4c068524c722bee735f00331.zip
Most superstitous updates to the RAMTROM driver make it more compatibile with the version used by PX4. From David Sidrane
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/nuttx/fs/ioctl.h2
-rw-r--r--nuttx/include/nuttx/mtd/mtd.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/include/nuttx/fs/ioctl.h b/nuttx/include/nuttx/fs/ioctl.h
index 6a55d7975..43a88c673 100644
--- a/nuttx/include/nuttx/fs/ioctl.h
+++ b/nuttx/include/nuttx/fs/ioctl.h
@@ -224,6 +224,8 @@
* of device memory */
#define MTDIOC_BULKERASE _MTDIOC(0x0003) /* IN: None
* OUT: None */
+#define MTDIOC_SETSPEED _MTDIOC(0x0004) /* IN: New bus speed in Hz
+ * OUT: None */
/* NuttX ARP driver ioctl definitions (see netinet/arp.h) *******************/
diff --git a/nuttx/include/nuttx/mtd/mtd.h b/nuttx/include/nuttx/mtd/mtd.h
index 38c306231..eeb6013c2 100644
--- a/nuttx/include/nuttx/mtd/mtd.h
+++ b/nuttx/include/nuttx/mtd/mtd.h
@@ -261,7 +261,7 @@ int ftl_initialize(int minor, FAR struct mtd_dev_s *mtd);
* Name: flash_eraseall
*
* Description:
- * Call a block driver with the MDIOC_BULKERASE ioctl command. This will
+ * Call a block driver with the MTDIOC_BULKERASE ioctl command. This will
* cause the MTD driver to erase all of the flash.
*
****************************************************************************/