diff options
author | Markus Lidel <Markus.Lidel@shadowconnect.com> | 2005-06-24 01:02:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 03:05:29 -0400 |
commit | 9e87545f06930c1d294423a8091d1077e7444a47 (patch) | |
tree | ef05fca1becfa0e1584f234ddf9b1a430b7d018e /drivers/message/i2o/i2o_block.c | |
parent | b2aaee33fbb354a2f08121aa1c1be55841102761 (diff) |
[PATCH] I2O: second code cleanup of sparse warnings and unneeded syncronization
Changes:
- Added header "core.h" for i2o_core.ko internal definitions
- More sparse fixes
- Changed display of TID's in sysfs attributes from XXX to 0xXXX
- Use the right functions for accessing I/O and normal memory
- Removed error handling of SCSI device errors and let the SCSI layer
take care of it
- Added new device / removed device handling to SCSI-OSM
- Make status access volatile
- Cleaned up activation of I2O controller
- Removed unnecessary wmb() and rmb() calls
- Use own struct i2o_io for I/O memory instead of struct i2o_dma
Signed-off-by: Markus Lidel <Markus.Lidel@shadowconnect.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/message/i2o/i2o_block.c')
-rw-r--r-- | drivers/message/i2o/i2o_block.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/message/i2o/i2o_block.c b/drivers/message/i2o/i2o_block.c index 1dd2b9dad50e..28b3918dbc16 100644 --- a/drivers/message/i2o/i2o_block.c +++ b/drivers/message/i2o/i2o_block.c | |||
@@ -62,7 +62,7 @@ | |||
62 | #include "i2o_block.h" | 62 | #include "i2o_block.h" |
63 | 63 | ||
64 | #define OSM_NAME "block-osm" | 64 | #define OSM_NAME "block-osm" |
65 | #define OSM_VERSION "$Rev$" | 65 | #define OSM_VERSION "1.287" |
66 | #define OSM_DESCRIPTION "I2O Block Device OSM" | 66 | #define OSM_DESCRIPTION "I2O Block Device OSM" |
67 | 67 | ||
68 | static struct i2o_driver i2o_block_driver; | 68 | static struct i2o_driver i2o_block_driver; |
@@ -537,7 +537,7 @@ static int i2o_block_reply(struct i2o_controller *c, u32 m, | |||
537 | 537 | ||
538 | static void i2o_block_event(struct i2o_event *evt) | 538 | static void i2o_block_event(struct i2o_event *evt) |
539 | { | 539 | { |
540 | osm_info("event received\n"); | 540 | osm_debug("event received\n"); |
541 | kfree(evt); | 541 | kfree(evt); |
542 | }; | 542 | }; |
543 | 543 | ||