summaryrefslogtreecommitdiffstats
path: root/cpukit/libblock
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-11-29 11:57:23 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-11-29 11:57:23 +0000
commit33c3b54d57b50ac3d236e2660556a9a2ecb8dcad (patch)
treee6099e8db3c611101bd9c8f486b3f451a5e979b6 /cpukit/libblock
parentWhitespace removal. (diff)
downloadrtems-33c3b54d57b50ac3d236e2660556a9a2ecb8dcad.tar.bz2
Whitespace removal.
Diffstat (limited to 'cpukit/libblock')
-rw-r--r--cpukit/libblock/include/rtems/bdbuf.h14
-rw-r--r--cpukit/libblock/include/rtems/blkdev.h8
-rw-r--r--cpukit/libblock/include/rtems/diskdevs.h4
-rw-r--r--cpukit/libblock/include/rtems/flashdisk.h18
-rw-r--r--cpukit/libblock/include/rtems/nvdisk-sram.h2
-rw-r--r--cpukit/libblock/include/rtems/nvdisk.h12
-rw-r--r--cpukit/libblock/include/rtems/ramdisk.h14
7 files changed, 36 insertions, 36 deletions
diff --git a/cpukit/libblock/include/rtems/bdbuf.h b/cpukit/libblock/include/rtems/bdbuf.h
index 55d0c67525..2b0d2aa7eb 100644
--- a/cpukit/libblock/include/rtems/bdbuf.h
+++ b/cpukit/libblock/include/rtems/bdbuf.h
@@ -5,7 +5,7 @@
*
* Block device buffer management.
*/
-
+
/*
* Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
* Author: Victor V. Vengerov <vvv@oktet.ru>
@@ -76,7 +76,7 @@ extern "C" {
* The buffers are held in various lists in the cache. All buffers follow this
* state machine:
- *
+ *
* @dot
* digraph state {
* e [label="EMPTY",style="filled",fillcolor="aquamarine"];
@@ -88,10 +88,10 @@ extern "C" {
* s [label="SYNC",style="filled",fillcolor="red"];
* m [label="MODIFIED",style="filled",fillcolor="gold"];
* i [label="INITIAL"];
- *
+ *
* legend_transfer [label="Transfer Wake-Up",fontcolor="red",shape="none"];
* legend_access [label="Access Wake-Up",fontcolor="royalblue",shape="none"];
- *
+ *
* i -> e [label="Init"];
* e -> f [label="Buffer Recycle"];
* f -> a [label="Get"];
@@ -111,7 +111,7 @@ extern "C" {
* s -> t [label="Swapout"];
* }
* @enddot
- *
+ *
* Empty or cached buffers are added to the LRU list and removed from this
* queue when a caller requests a buffer. This is referred to as getting a
* buffer in the code and the event get in the state diagram. The buffer is
@@ -119,7 +119,7 @@ extern "C" {
* If the block is to be read by the user and not in the cache it is transfered
* from the disk into memory. If no buffers are on the LRU list the modified
* list is checked. If buffers are on the modified the swap out task will be
- * woken. The request blocks until a buffer is available for recycle.
+ * woken. The request blocks until a buffer is available for recycle.
*
* A block being accessed is given to the file system layer and not accessible
* to another requester until released back to the cache. The same goes to a
@@ -404,7 +404,7 @@ rtems_bdbuf_get (dev_t device, rtems_blkdev_bnum block, rtems_bdbuf_buffer** bd)
* and will not be returned to another user until released. If the buffer is
* already with a user when this call is made the call is blocked until the
* buffer is returned. The highest priority waiter will obtain the buffer
- * first.
+ * first.
*
* @param device Device number (constructed of major and minor device number)
* @param block Linear media block number
diff --git a/cpukit/libblock/include/rtems/blkdev.h b/cpukit/libblock/include/rtems/blkdev.h
index f8b2932803..b9c4edcf3e 100644
--- a/cpukit/libblock/include/rtems/blkdev.h
+++ b/cpukit/libblock/include/rtems/blkdev.h
@@ -5,7 +5,7 @@
*
* Block device management.
*/
-
+
/*
* Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
* Author: Victor V. Vengerov <vvv@oktet.ru>
@@ -30,7 +30,7 @@ extern "C" {
* @ingroup rtems_libblock
*
* Interface between device drivers and the
- * @ref rtems_bdbuf "block device buffer module".
+ * @ref rtems_bdbuf "block device buffer module".
*
* The heart of the block device driver is the @ref RTEMS_BLKIO_REQUEST IO
* control. This call puts IO @ref rtems_blkdev_request "requests" to the block
@@ -49,7 +49,7 @@ typedef enum rtems_blkdev_request_op {
RTEMS_BLKDEV_CAPABILITIES /**< Return the driver capabilities set. */
} rtems_blkdev_request_op;
-/**
+/**
* Only consecutive multi-sector buffer requests are supported.
*
* This option means the cache will only supply multiple buffers that are
@@ -125,7 +125,7 @@ typedef struct rtems_blkdev_request {
/**
* Last IO operation completion status.
*/
- rtems_status_code status;
+ rtems_status_code status;
/**
* If @c status is not equal to @c RTEMS_SUCCESSFUL, this field contains the
diff --git a/cpukit/libblock/include/rtems/diskdevs.h b/cpukit/libblock/include/rtems/diskdevs.h
index 025bfb46f4..971551a0aa 100644
--- a/cpukit/libblock/include/rtems/diskdevs.h
+++ b/cpukit/libblock/include/rtems/diskdevs.h
@@ -5,7 +5,7 @@
*
* @brief Block device disk management API.
*/
-
+
/*
* Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
* Author: Victor V. Vengerov <vvv@oktet.ru>
@@ -37,7 +37,7 @@ typedef struct rtems_disk_device rtems_disk_device;
* non-negative integers starting at zero. There are also logical disks which
* contain a subset of consecutive disk blocks. The logical disks are used to
* represent the partitions of a disk. The disk devices are accessed via the
- * @ref rtems_bdbuf "block device buffer module".
+ * @ref rtems_bdbuf "block device buffer module".
*
* @{
*/
diff --git a/cpukit/libblock/include/rtems/flashdisk.h b/cpukit/libblock/include/rtems/flashdisk.h
index 37ef9a6a25..c24b9b08be 100644
--- a/cpukit/libblock/include/rtems/flashdisk.h
+++ b/cpukit/libblock/include/rtems/flashdisk.h
@@ -50,7 +50,7 @@
#define RTEMS_FDISK_IOCTL_PRINT_STATUS _IO('B', 133)
/**
- * Flash Disk Monitoring Data allows a user to obtain
+ * Flash Disk Monitoring Data allows a user to obtain
* the current status of the disk.
*/
typedef struct rtems_fdisk_monitor_data
@@ -120,7 +120,7 @@ typedef struct rtems_fdisk_driver_handlers
* access and the segment descriptor must reference the segment
* being requested. For example the segment number must resided in
* the range [base, base + count).
- *
+ *
* @param sd The segment descriptor.
* @param device The device to read data from.
* @param segment The segment within the device to read.
@@ -145,7 +145,7 @@ typedef struct rtems_fdisk_driver_handlers
* segment to access and the segment descriptor must reference
* the segment being requested. For example the segment number must
* resided in the range [base, base + count).
- *
+ *
* @param sd The segment descriptor.
* @param device The device to write data from.
* @param segment The segment within the device to write to.
@@ -170,7 +170,7 @@ typedef struct rtems_fdisk_driver_handlers
* access and the segment descriptor must reference the segment
* being requested. For example the segment number must resided in
* the range [base, base + count).
- *
+ *
* @param sd The segment descriptor.
* @param device The device to read data from.
* @param segment The segment within the device to read.
@@ -193,7 +193,7 @@ typedef struct rtems_fdisk_driver_handlers
* segment to access and the segment descriptor must reference
* the device segment being requested. For example the segment number
* must resided in the range [base, base + count).
- *
+ *
* @param sd The segment descriptor.
* @param device The device to verify data in.
* @param segment The segment within the device to verify.
@@ -216,7 +216,7 @@ typedef struct rtems_fdisk_driver_handlers
* more than segment in a device if the device has repeating
* segments. The segment number is the device segment to access and
* the segment descriptor must reference the segment being requested.
- *
+ *
* @param sd The segment descriptor.
* @param device The device to erase the segment of.
* @param segment The segment within the device to erase.
@@ -233,7 +233,7 @@ typedef struct rtems_fdisk_driver_handlers
* more than segment in a device if the device has repeating
* segments. The segment number is the segment to access and
* the segment descriptor must reference the segment being requested.
- *
+ *
* @param sd The segment descriptor.
* @param device The device to erase.
* @retval 0 No error.
@@ -283,7 +283,7 @@ typedef struct rtems_fdisk_device_desc
* The available compacting segment count is the level when compaction occurs
* when writing. If you set this to 0 then compaction will fail because
* there will be no segments to compact into.
- *
+ *
* The info level can be 0 for off with error, and abort messages allowed.
* Level 1 is warning messages, level 1 is informational messages, and level 3
* is debugging type prints. The info level can be turned off with a compile
@@ -300,7 +300,7 @@ typedef struct rtems_flashdisk_config
driver. */
uint32_t unavail_blocks; /**< Number of blocks not
available to the file sys. */
- uint32_t compact_segs; /**< Max number of segs to
+ uint32_t compact_segs; /**< Max number of segs to
compact in one pass. */
uint32_t avail_compact_segs; /**< The number of segments
when compaction occurs
diff --git a/cpukit/libblock/include/rtems/nvdisk-sram.h b/cpukit/libblock/include/rtems/nvdisk-sram.h
index e963cdd9e8..450cfd8602 100644
--- a/cpukit/libblock/include/rtems/nvdisk-sram.h
+++ b/cpukit/libblock/include/rtems/nvdisk-sram.h
@@ -9,7 +9,7 @@
/**
* NV Disk Static RAM Device Driver.
*
- * This driver maps an NV disk to static RAM. You can use this
+ * This driver maps an NV disk to static RAM. You can use this
*/
#if !defined (_RTEMS_NVDISK_SRAM_H_)
diff --git a/cpukit/libblock/include/rtems/nvdisk.h b/cpukit/libblock/include/rtems/nvdisk.h
index 68ef1fd9d8..1b7bb47ae7 100644
--- a/cpukit/libblock/include/rtems/nvdisk.h
+++ b/cpukit/libblock/include/rtems/nvdisk.h
@@ -58,7 +58,7 @@
#define RTEMS_NVDISK_IOCTL_PRINT_STATUS _IO('B', 131)
/**
- * NV Disk Monitoring Data allows a user to obtain
+ * NV Disk Monitoring Data allows a user to obtain
* the current status of the disk.
*/
typedef struct rtems_nvdisk_monitor_data
@@ -89,7 +89,7 @@ typedef struct rtems_nvdisk_driver_handlers
/**
* Read data from the device into the buffer. Return an errno
* error number if the data cannot be read.
- *
+ *
* @param device The device to read data from.
* @param flags Device specific flags for the driver.
* @param base The base address of the device.
@@ -99,13 +99,13 @@ typedef struct rtems_nvdisk_driver_handlers
* @retval 0 No error.
* @retval EIO The read did not complete.
*/
- int (*read) (uint32_t device, uint32_t flags, uint32_t base,
+ int (*read) (uint32_t device, uint32_t flags, uint32_t base,
uint32_t offset, void* buffer, uint32_t size);
/**
* Write data from the buffer to the device. Return an errno
* error number if the device cannot be written to.
- *
+ *
* @param device The device to write data to.
* @param flags Device specific flags for the driver.
* @param base The base address of the device.
@@ -115,13 +115,13 @@ typedef struct rtems_nvdisk_driver_handlers
* @retval 0 No error.
* @retval EIO The write did not complete or verify.
*/
- int (*write) (uint32_t device, uint32_t flags, uint32_t base,
+ int (*write) (uint32_t device, uint32_t flags, uint32_t base,
uint32_t offset, const void* buffer, uint32_t size);
/**
* Verify data in the buffer to the data in the device. Return an
* errno error number if the device cannot be read or the data verified.
- *
+ *
* @param device The device to verify the data with.
* @param flags Device specific flags for the driver.
* @param base The base address of the device.
diff --git a/cpukit/libblock/include/rtems/ramdisk.h b/cpukit/libblock/include/rtems/ramdisk.h
index 68c5887abe..71efc9fda0 100644
--- a/cpukit/libblock/include/rtems/ramdisk.h
+++ b/cpukit/libblock/include/rtems/ramdisk.h
@@ -170,21 +170,21 @@ int ramdisk_ioctl(rtems_disk_device *dd, uint32_t req, void *argp);
* rtems_device_major_number major = 0;
* ramdisk *rd = NULL;
* dev_t dev = 0;
- *
+ *
* sc = rtems_io_register_driver(0, &ramdisk_ops, &major);
* if (sc != RTEMS_SUCCESSFUL) {
* return RTEMS_UNSATISFIED;
* }
- *
+ *
* rd = ramdisk_allocate(NULL, block_size, block_count, false);
* if (rd == NULL) {
* rtems_io_unregister_driver(major);
- *
+ *
* return RTEMS_UNSATISFIED;
* }
- *
+ *
* dev = rtems_filesystem_make_dev_t(major, 0);
- *
+ *
* sc = rtems_disk_create_phys(
* dev,
* block_size,
@@ -196,10 +196,10 @@ int ramdisk_ioctl(rtems_disk_device *dd, uint32_t req, void *argp);
* if (sc != RTEMS_SUCCESSFUL) {
* ramdisk_free(rd);
* rtems_io_unregister_driver(major);
- *
+ *
* return RTEMS_UNSATISFIED;
* }
- *
+ *
* return RTEMS_SUCCESSFUL;
* }
* @endcode