Changeset 3468
- Timestamp:
- 04/13/00 22:37:28 (9 years ago)
- Files:
-
- i2c/trunk/mkpatch/mkpatch.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
i2c/trunk/mkpatch/mkpatch.pl
r3465 r3468 150 150 or die "Can't open $package_root/$package_file"; 151 151 MAIN: while(<INPUT>) { 152 if (m@^I2C support$@ or m@ I2C bit-banging interfaces@ or153 m@ Philips style parallel port adapter@ or154 m@ ELV adapter@ or m@Velleman K9000 adapter@ or155 m@ I2C PCF 8584 interfaces@ or m@Elektor ISA card@ or156 m@ I2C device interface@ ) {152 if (m@^I2C support$@ or m@^I2C bit-banging interfaces@ or 153 m@^Philips style parallel port adapter@ or 154 m@^ELV adapter@ or m@^Velleman K9000 adapter@ or 155 m@^I2C PCF 8584 interfaces@ or m@^Elektor ISA card@ or 156 m@^I2C device interface@ ) { 157 157 $_ = <INPUT>; 158 158 $_ = <INPUT>; … … 161 161 } 162 162 if (not $printed and (eof(INPUT) or m@I2C mainboard interfaces@ or 163 m@A couple of things I keep forgetting@)) { 163 m@A couple of things I keep forgetting@ or 164 m@Bus Mouse Support@)) { 164 165 print OUTPUT <<'EOF'; 165 166 I2C support 166 167 CONFIG_I2C 167 I2C (pronounce: I-square-C) is a slow bus protocol developed by 168 Philips. SMBus, or System Management Bus is a sub-protocol of I2C. 169 170 Both I2C and SMBus are supported here. You will need this for 171 hardware sensors support, and in the future for Video for Linux 172 support. 173 174 Beside this option, you will also need to select specific drivers 175 for your bus adapter(s). 168 I2C (pronounce: I-square-C) is a slow serial bus protocol used in 169 many micro controller applications and developed by Philips. SMBus, 170 or System Management Bus is a subset of the I2C protocol. More 171 information is contained in the directory Documentation/i2c/, 172 especially in the file called "summary" there. 173 174 Both I2C and SMBus are supported here. You will need this for 175 hardware sensors support, and also for Video for Linux support. 176 Specifically, if you want to use a BT848 based frame grabber/overlay 177 boards under Linux, say Y here and also to "I2C bit-banging 178 interfaces", below. 179 180 If you want I2C support, you should say Y here and also to the 181 specific driver for your bus adapter(s) below. If you say Y to 182 "/proc file system" below, you will then get a /proc interface which 183 is documented in Documentation/i2c/proc-interface. 184 185 This I2C support is also available as a module. If you want to 186 compile it as a module, say M here and read 187 Documentation/modules.txt. The module will be called i2c-core.o. 176 188 177 189 I2C bit-banging interfaces 178 190 CONFIG_I2C_ALGOBIT 179 191 This allows you to use a range of I2C adapters called bit-banging 180 adapters. Why they are called so is rather technical and uninteresting; 181 but you need to select this if you own one of the adapters listed 182 under it. 192 adapters. Say Y if you own an I2C adapter belonging to this class 193 and then say Y to the specific driver for you adapter below. 194 195 This support is also available as a module. If you want to compile 196 it as a module, say M here and read Documentation/modules.txt. The 197 module will be called i2c-algo-bit.o. 183 198 184 199 Philips style parallel port adapter 185 200 CONFIG_I2C_PHILIPSPAR 186 This supports parallel-port I2C adapters made by Philips. Unless you 187 own such an adapter, you do not need to select this. 201 This supports parallel-port I2C adapters made by Philips. Say Y if 202 you own such an adapter. 203 204 This driver is also available as a module. If you want to compile 205 it as a module, say M here and read Documentation/modules.txt. The 206 module will be called i2c-philips-par.o. 188 207 189 208 ELV adapter 190 209 CONFIG_I2C_ELV 191 This supports parallel-port I2C adapters called ELV. Unless you 192 own such an adapter, you do not need to select this. 210 This supports parallel-port I2C adapters called ELV. Say Y if you 211 own such an adapter. 212 213 This driver is also available as a module. If you want to compile 214 it as a module, say M here and read Documentation/modules.txt. The 215 module will be called i2c-elv.o. 193 216 194 217 Velleman K9000 adapter 195 218 CONFIG_I2C_VELLEMAN 196 This supports the Velleman K9000 parallel-port I2C adapter. Unless 197 you own such an adapter, you do not need to select this. 219 This supports the Velleman K9000 parallel-port I2C adapter. Say Y if 220 you own such an adapter. 221 222 This driver is also available as a module. If you want to compile 223 it as a module, say M here and read Documentation/modules.txt. The 224 module will be called i2c-velleman.o. 198 225 199 226 I2C PCF 8584 interfaces 200 227 CONFIG_I2C_ALGOPCF 201 This allows you to use a range of I2C adapters called PCF 202 adapters. Why they are called so is rather technical and uninteresting; 203 but you need to select this if you own one of the adapters listed 204 under it. 228 This allows you to use a range of I2C adapters called PCF adapters. 229 Say Y if you own an I2C adapter belonging to this class and then say 230 Y to the specific driver for you adapter below. 231 232 This support is also available as a module. If you want to compile 233 it as a module, say M here and read Documentation/modules.txt. The 234 module will be called i2c-algo-pcf.o. 205 235 206 236 Elektor ISA card 207 237 CONFIG_I2C_ELEKTOR 208 This supports the PCF8584 ISA bus I2C adapter. Unless you own such 209 an adapter, you do not need to select this. 238 This supports the PCF8584 ISA bus I2C adapter. Say Y if you own such 239 an adapter. 240 241 This driver is also available as a module. If you want to compile 242 it as a module, say M here and read Documentation/modules.txt. The 243 module will be called i2c-elektor.o. 210 244 211 245 I2C device interface 212 246 CONFIG_I2C_CHARDEV 213 Here you find the drivers which allow you to use the i2c-* device 214 files, usually found in the /dev directory on your system. They 215 make it possible to have user-space programs use the I2C bus. 247 Say Y here to use i2c-* device files, usually found in the /dev 248 directory on your system. They make it possible to have user-space 249 programs use the I2C bus. Information on how to do this is contained 250 in the file Documentation/i2c/dev-interface. 251 252 This code is also available as a module. If you want to compile 253 it as a module, say M here and read Documentation/modules.txt. The 254 module will be called i2c-dev.o. 216 255 217 256 EOF
