diff options
author | Eyal Reizer <eyalr@ti.com> | 2012-06-27 11:11:39 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-06-27 11:52:49 +0200 |
commit | c40cb5a3425d7bb25c996f91a5ca64cd1dd32900 (patch) | |
tree | 7cc7166e921f30d4fa27a87740bd187d6f62251a /include | |
parent | 9ed08d84769c343cf694c02cc67f320ea0fba001 (diff) | |
download | neard-c40cb5a3425d7bb25c996f91a5ca64cd1dd32900.tar.gz neard-c40cb5a3425d7bb25c996f91a5ca64cd1dd32900.tar.bz2 neard-c40cb5a3425d7bb25c996f91a5ca64cd1dd32900.zip |
tag: Add blank tag format support
* Add a new near_tag_driver op (format) used for formatting blank tags.
* In case an un-formatted tag is being written __near_tag_write()
first format the tag and if that succeeds it proceeds to writing
the data.
Diffstat (limited to 'include')
-rw-r--r-- | include/tag.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tag.h b/include/tag.h index e2ebb73..2b39440 100644 --- a/include/tag.h +++ b/include/tag.h @@ -70,6 +70,8 @@ struct near_tag_driver { near_tag_io_cb cb); int (*check_presence)(uint32_t adapter_idx, uint32_t target_idx, near_tag_io_cb cb); + int (*format)(uint32_t adapter_idx, uint32_t target_idx, + near_tag_io_cb cb); }; struct near_tag; |