Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3075
b: refs/heads/master
c: b2aaee3
h: refs/heads/master
i:
  3073: 48f306e
  3071: 13184a5
v: v3
  • Loading branch information
Markus Lidel authored and Linus Torvalds committed Jun 24, 2005
1 parent cdbc44b commit 6bbb586
Show file tree
Hide file tree
Showing 9 changed files with 283 additions and 117 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f10378fff658f61307496e0ae00095041725cf07
refs/heads/master: b2aaee33fbb354a2f08121aa1c1be55841102761
18 changes: 18 additions & 0 deletions trunk/drivers/message/i2o/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,24 @@ config I2O

If unsure, say N.

config I2O_EXT_ADAPTEC
bool "Enable Adaptec extensions"
depends on I2O
default y
---help---
Say Y for support of raidutils for Adaptec I2O controllers. You also
have to say Y to "I2O Configuration support", "I2O SCSI OSM" below
and to "SCSI generic support" under "SCSI device configuration".

config I2O_EXT_ADAPTEC_DMA64
bool "Enable 64-bit DMA"
depends on I2O_EXT_ADAPTEC && ( 64BIT || HIGHMEM64G )
default y
---help---
Say Y for support of 64-bit DMA transfer mode on Adaptec I2O
controllers.
Note: You need at least firmware version 3709.

config I2O_CONFIG
tristate "I2O Configuration support"
depends on PCI && I2O
Expand Down
6 changes: 6 additions & 0 deletions trunk/drivers/message/i2o/i2o_block.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@
#define I2O_BLOCK_RETRY_TIME HZ/4
#define I2O_BLOCK_MAX_OPEN_REQUESTS 50

/* request queue sizes */
#define I2O_BLOCK_REQ_MEMPOOL_SIZE 32

#define KERNEL_SECTOR_SHIFT 9
#define KERNEL_SECTOR_SIZE (1 << KERNEL_SECTOR_SHIFT)

/* I2O Block OSM mempool struct */
struct i2o_block_mempool {
kmem_cache_t *slab;
Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/message/i2o/i2o_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ static int i2o_cfg_evt_get(unsigned long arg, struct file *fp)
return 0;
}

#ifdef CONFIG_I2O_EXT_ADAPTEC
#ifdef CONFIG_COMPAT
static int i2o_cfg_passthru32(struct file *file, unsigned cmnd, unsigned long arg)
{
Expand Down Expand Up @@ -964,6 +965,7 @@ static int i2o_cfg_passthru(unsigned long arg)
kfree(reply);
return rcode;
}
#endif

/*
* IOCTL Handler
Expand Down Expand Up @@ -1018,9 +1020,11 @@ static int i2o_cfg_ioctl(struct inode *inode, struct file *fp, unsigned int cmd,
ret = i2o_cfg_evt_get(arg, fp);
break;

#ifdef CONFIG_I2O_EXT_ADAPTEC
case I2OPASSTHRU:
ret = i2o_cfg_passthru(arg);
break;
#endif

default:
osm_debug("unknown ioctl called!\n");
Expand Down
Loading

0 comments on commit 6bbb586

Please sign in to comment.