diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2004-04-12 22:12:33 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2004-04-12 22:12:33 +0000 |
commit | a114b148e772e18d9bbaedc06f73fb88daae0b2d (patch) | |
tree | 2cd4bf34394ab3edea4b1a160315267c9ddf6387 /sys/dev/i2o | |
parent | dbb0678c3779bc4a1dbd6d603e68903e3bcc4f04 (diff) |
removeable -> removable;
ok deraadt@ beck@
Diffstat (limited to 'sys/dev/i2o')
-rw-r--r-- | sys/dev/i2o/i2o.h | 6 | ||||
-rw-r--r-- | sys/dev/i2o/ioprbs.c | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/i2o/i2o.h b/sys/dev/i2o/i2o.h index 5f5451fc3ba..aa10b34708e 100644 --- a/sys/dev/i2o/i2o.h +++ b/sys/dev/i2o/i2o.h @@ -1,4 +1,4 @@ -/* $OpenBSD: i2o.h,v 1.6 2003/10/21 10:32:08 jmc Exp $ */ +/* $OpenBSD: i2o.h,v 1.7 2004/04/12 22:12:32 jmc Exp $ */ /* $NetBSD: i2o.h,v 1.3 2001/03/20 13:01:48 ad Exp $ */ /*- @@ -841,8 +841,8 @@ struct i2o_param_rbs_device_info { #define I2O_RBS_CAP_CACHING 0x00000001 #define I2O_RBS_CAP_MULTI_PATH 0x00000002 #define I2O_RBS_CAP_DYNAMIC_CAPACITY 0x00000004 -#define I2O_RBS_CAP_REMOVEABLE_MEDIA 0x00000008 -#define I2O_RBS_CAP_REMOVEABLE_DEVICE 0x00000010 +#define I2O_RBS_CAP_REMOVABLE_MEDIA 0x00000008 +#define I2O_RBS_CAP_REMOVABLE_DEVICE 0x00000010 #define I2O_RBS_CAP_READ_ONLY 0x00000020 #define I2O_RBS_CAP_LOCKOUT 0x00000040 #define I2O_RBS_CAP_BOOT_BYPASS 0x00000080 diff --git a/sys/dev/i2o/ioprbs.c b/sys/dev/i2o/ioprbs.c index 4c62cb0143f..2e0aa42d27a 100644 --- a/sys/dev/i2o/ioprbs.c +++ b/sys/dev/i2o/ioprbs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ioprbs.c,v 1.4 2003/04/27 11:22:52 ho Exp $ */ +/* $OpenBSD: ioprbs.c,v 1.5 2004/04/12 22:12:32 jmc Exp $ */ /* * Copyright (c) 2001 Niklas Hallqvist @@ -301,10 +301,10 @@ ioprbs_attach(struct device *parent, struct device *self, void *aux) break; } - if ((letoh32(param.p.bdi.capabilities) & I2O_RBS_CAP_REMOVEABLE_MEDIA) + if ((letoh32(param.p.bdi.capabilities) & I2O_RBS_CAP_REMOVABLE_MEDIA) != 0) { - /* sc->sc_flags = IOPRBS_REMOVEABLE; */ - fixedstr = "removeable"; + /* sc->sc_flags = IOPRBS_REMOVABLE; */ + fixedstr = "removable"; enable = 0; } else fixedstr = "fixed"; |