]> git.pld-linux.org Git - packages/kernel.git/blame - 2.6.0-t5-i2c.patch
- obsolete
[packages/kernel.git] / 2.6.0-t5-i2c.patch
CommitLineData
17b35a34 1diff -Nur --exclude SCCS linux-2.6.0-test5/drivers/i2c/Kconfig i2c-2.5/drivers/i2c/Kconfig
2--- linux-2.6.0-test5/drivers/i2c/Kconfig Mon Sep 8 19:49:57 2003
3+++ i2c-2.5/drivers/i2c/Kconfig Tue Sep 23 10:12:58 2003
4@@ -22,10 +22,20 @@
5 If you want I2C support, you should say Y here and also to the
6 specific driver for your bus adapter(s) below.
7
8- This I2C support is also available as a module. If you want to
9- compile it as a module, say M here and read
10- <file:Documentation/modules.txt>.
11- The module will be called i2c-core.
12+ This I2C support can also be built as a module. If so, the module
13+ will be called i2c-core.
14+
15+config I2C_CHARDEV
16+ tristate "I2C device interface"
17+ depends on I2C
18+ help
19+ Say Y here to use i2c-* device files, usually found in the /dev
20+ directory on your system. They make it possible to have user-space
21+ programs use the I2C bus. Information on how to do this is
22+ contained in the file <file:Documentation/i2c/dev-interface>.
23+
24+ This support is also available as a module. If so, the module
25+ will be called i2c-dev.
26
27 config I2C_ALGOBIT
28 tristate "I2C bit-banging interfaces"
29@@ -35,105 +45,8 @@
30 adapters. Say Y if you own an I2C adapter belonging to this class
31 and then say Y to the specific driver for you adapter below.
32
33- This support is also available as a module. If you want to compile
34- it as a module, say M here and read
35- <file:Documentation/modules.txt>.
36- The module will be called i2c-algo-bit.
37-
38-config I2C_PROSAVAGE
39- tristate "S3/VIA (Pro)Savage"
40- depends on I2C_ALGOBIT && PCI && EXPERIMENTAL
41- help
42- If you say yes to this option, support will be included for the
43- I2C bus and DDC bus of the S3VIA embedded Savage4 and ProSavage8
44- graphics processors.
45- chipsets supported:
46- S3/VIA KM266/VT8375 aka ProSavage8
47- S3/VIA KM133/VT8365 aka Savage4
48-
49- This can also be built as a module which can be inserted and removed
50- while the kernel is running. If you want to compile it as a module,
51- say M here and read <file:Documentation/modules.txt>.
52- The module will be called i2c-prosavage.
53-
54- You will also need the latest user-space utilties: you can find them
55- in the lm_sensors package, which you can download at
56- http://www.lm-sensors.nu
57-
58-config I2C_PHILIPSPAR
59- tristate "Philips style parallel port adapter"
60- depends on I2C_ALGOBIT && PARPORT
61- ---help---
62- This supports parallel-port I2C adapters made by Philips. Say Y if
63- you own such an adapter.
64-
65- This driver is also available as a module. If you want to compile
66- it as a module, say M here and read
67- <file:Documentation/modules.txt>.
68- The module will be called i2c-philips-par.
69-
70- Note that if you want support for different parallel port devices,
71- life will be much easier if you compile them all as modules.
72-
73-config I2C_ELV
74- tristate "ELV adapter"
75- depends on I2C_ALGOBIT && ISA
76- help
77- This supports parallel-port I2C adapters called ELV. Say Y if you
78- own such an adapter.
79-
80- This driver is also available as a module. If you want to compile
81- it as a module, say M here and read
82- <file:Documentation/modules.txt>.
83- The module will be called i2c-elv.
84-
85-config I2C_VELLEMAN
86- tristate "Velleman K9000 adapter"
87- depends on I2C_ALGOBIT && ISA
88- help
89- This supports the Velleman K9000 parallel-port I2C adapter. Say Y
90- if you own such an adapter.
91-
92- This driver is also available as a module. If you want to compile
93- it as a module, say M here and read
94- <file:Documentation/modules.txt>.
95- The module will be called i2c-velleman.
96-
97-config SCx200_I2C
98- tristate "NatSemi SCx200 I2C using GPIO pins"
99- depends on SCx200 && I2C_ALGOBIT
100- help
101- Enable the use of two GPIO pins of a SCx200 processor as an I2C bus.
102-
103- If you don't know what to do here, say N.
104-
105- If compiled as a module, it will be called scx200_i2c.
106-
107-config SCx200_I2C_SCL
108- int "GPIO pin used for SCL"
109- depends on SCx200_I2C
110- default "12"
111- help
112- Enter the GPIO pin number used for the SCL signal. This value can
113- also be specified with a module parameter.
114-
115-config SCx200_I2C_SDA
116- int "GPIO pin used for SDA"
117- depends on SCx200_I2C
118- default "13"
119- help
120- Enter the GPIO pin number used for the SSA signal. This value can
121- also be specified with a module parameter.
122-
123-config SCx200_ACB
124- tristate "NatSemi SCx200 ACCESS.bus"
125- depends on I2C_ALGOBIT!=n && I2C
126- help
127- Enable the use of the ACCESS.bus controllers of a SCx200 processor.
128-
129- If you don't know what to do here, say N.
130-
131- If compiled as a module, it will be called scx200_acb.
132+ This support is also available as a module. If so, the module
133+ will be called i2c-algo-bit.
134
135 config I2C_ALGOPCF
136 tristate "I2C PCF 8584 interfaces"
137@@ -143,35 +56,10 @@
138 Say Y if you own an I2C adapter belonging to this class and then say
139 Y to the specific driver for you adapter below.
140
141- This support is also available as a module. If you want to compile
142- it as a module, say M here and read
143- <file:Documentation/modules.txt>.
144- The module will be called i2c-algo-pcf.
145-
146-config I2C_ELEKTOR
147- tristate "Elektor ISA card"
148- depends on I2C_ALGOPCF && BROKEN_ON_SMP
149- help
150- This supports the PCF8584 ISA bus I2C adapter. Say Y if you own
151- such an adapter.
152+ This support is also available as a module. If so, the module
153+ will be called i2c-algo-pcf.
154
155- This driver is also available as a module. If you want to compile
156- it as a module, say M here and read
157- <file:Documentation/modules.txt>.
158- The module will be called i2c-elektor.
159-
160-config I2C_KEYWEST
161- tristate "Powermac Keywest I2C interface"
162- depends on I2C && PPC_PMAC
163- help
164- This supports the use of the I2C interface in the combo-I/O
165- chip on recent Apple machines. Say Y if you have such a machine.
166-
167- This driver is also available as a module. If you want to compile
168- it as a module, say M here and read Documentation/modules.txt.
169- The module will be called i2c-keywest.
170-
171-config ITE_I2C_ALGO
172+config I2C_ALGOITE
173 tristate "ITE I2C Algorithm"
174 depends on MIPS_ITE8172 && I2C
175 help
176@@ -179,56 +67,13 @@
177 systems. Say Y if you have one of these. You should also say Y for
178 the ITE I2C peripheral driver support below.
179
180- This support is also available as a module. If you want to compile
181- it as a module, say M here and read Documentation/modules.txt.
182- The module will be called i2c-algo-ite.
183-
184-config ITE_I2C_ADAP
185- tristate "ITE I2C Adapter"
186- depends on ITE_I2C_ALGO
187- help
188- This supports the ITE8172 I2C peripheral found on some MIPS
189- systems. Say Y if you have one of these. You should also say Y for
190- the ITE I2C driver algorithm support above.
191-
192- This support is also available as a module. If you want to compile
193- it as a module, say M here and read Documentation/modules.txt.
194- The module will be called i2c-adap-ite.
195+ This support is also available as a module. If so, the module
196+ will be called i2c-algo-ite.
197
198 config I2C_ALGO8XX
199 tristate "MPC8xx CPM I2C interface"
200 depends on 8xx && I2C
201
202-config I2C_RPXLITE
203- tristate "Embedded Planet RPX Lite/Classic suppoort"
204- depends on (RPXLITE || RPXCLASSIC) && I2C_ALGO8XX
205-
206-config I2C_IBM_OCP_ALGO
207- tristate "IBM on-chip I2C Algorithm"
208- depends on IBM_OCP && I2C
209-
210-config I2C_IBM_OCP_ADAP
211- tristate "IBM on-chip I2C Adapter"
212- depends on I2C_IBM_OCP_ALGO
213-
214-config I2C_IOP3XX
215- tristate "Intel XScale IOP3xx on-chip I2C interface"
216- depends on ARCH_IOP3XX && I2C
217-
218-config I2C_CHARDEV
219- tristate "I2C device interface"
220- depends on I2C
221- help
222- Say Y here to use i2c-* device files, usually found in the /dev
223- directory on your system. They make it possible to have user-space
224- programs use the I2C bus. Information on how to do this is
225- contained in the file <file:Documentation/i2c/dev-interface>.
226-
227- This code is also available as a module. If you want to compile
228- it as a module, say M here and read
229- <file:Documentation/modules.txt>.
230- The module will be called i2c-dev.
231-
232 source drivers/i2c/busses/Kconfig
233 source drivers/i2c/chips/Kconfig
234
235diff -Nur --exclude SCCS linux-2.6.0-test5/drivers/i2c/Makefile i2c-2.5/drivers/i2c/Makefile
236--- linux-2.6.0-test5/drivers/i2c/Makefile Mon Sep 8 19:49:51 2003
237+++ i2c-2.5/drivers/i2c/Makefile Tue Sep 23 10:12:58 2003
238@@ -1,21 +1,11 @@
239 #
240-# Makefile for the kernel i2c bus driver.
241+# Makefile for the i2c core.
242 #
243
244 obj-$(CONFIG_I2C) += i2c-core.o
245 obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o
246+obj-$(CONFIG_I2C_SENSOR) += i2c-sensor.o
247 obj-$(CONFIG_I2C_ALGOBIT) += i2c-algo-bit.o
248-obj-$(CONFIG_I2C_PROSAVAGE) += i2c-prosavage.o
249-obj-$(CONFIG_I2C_PHILIPSPAR) += i2c-philips-par.o
250-obj-$(CONFIG_I2C_ELV) += i2c-elv.o
251-obj-$(CONFIG_I2C_VELLEMAN) += i2c-velleman.o
252 obj-$(CONFIG_I2C_ALGOPCF) += i2c-algo-pcf.o
253-obj-$(CONFIG_I2C_ELEKTOR) += i2c-elektor.o
254-obj-$(CONFIG_I2C_KEYWEST) += i2c-keywest.o
255-obj-$(CONFIG_ITE_I2C_ALGO) += i2c-algo-ite.o
256-obj-$(CONFIG_ITE_I2C_ADAP) += i2c-adap-ite.o
257-obj-$(CONFIG_SCx200_I2C) += scx200_i2c.o
258-obj-$(CONFIG_SCx200_ACB) += scx200_acb.o
259-obj-$(CONFIG_I2C_SENSOR) += i2c-sensor.o
260-obj-$(CONFIG_I2C_IOP3XX) += i2c-iop3xx.o
261+obj-$(CONFIG_I2C_ALGOITE) += i2c-algo-ite.o
262 obj-y += busses/ chips/
263diff -Nur --exclude SCCS linux-2.6.0-test5/drivers/i2c/busses/Kconfig i2c-2.5/drivers/i2c/busses/Kconfig
264--- linux-2.6.0-test5/drivers/i2c/busses/Kconfig Mon Sep 8 19:50:22 2003
265+++ i2c-2.5/drivers/i2c/busses/Kconfig Tue Sep 23 10:12:59 2003
266@@ -2,10 +2,10 @@
267 # Sensor device configuration
268 #
269
270-menu "I2C Hardware Sensors Mainboard support"
271+menu "I2C Hardware Bus support"
272
273 config I2C_ALI1535
274- tristate " ALI 1535"
275+ tristate "ALI 1535"
276 depends on I2C && PCI && EXPERIMENTAL
277 help
278 If you say yes to this option, support will be included for the SMB
279@@ -13,63 +13,61 @@
280 controller is part of the 7101 device, which is an ACPI-compliant
281 Power Management Unit (PMU).
282
283- This can also be built as a module. If so, the module will be
284- called i2c-ali1535.
285-
286- You will also need the latest user-space utilties: you can find them
287- in the lm_sensors package, which you can download at
288- http://www.lm-sensors.nu
289+ This driver can also be built as a module. If so, the module
290+ will be called i2c-ali1535.
291
292 config I2C_ALI15X3
293- tristate " ALI 15x3"
294+ tristate "ALI 15x3"
295 depends on I2C && PCI && EXPERIMENTAL
296 help
297 If you say yes to this option, support will be included for the
298 Acer Labs Inc. (ALI) M1514 and M1543 motherboard I2C interfaces.
299
300- This can also be built as a module. If so, the module will be
301- called i2c-ali15x3.
302-
303- You will also need the latest user-space utilties: you can find them
304- in the lm_sensors package, which you can download at
305- http://www.lm-sensors.nu
306+ This driver can also be built as a module. If so, the module
307+ will be called i2c-ali15x3.
308
309 config I2C_AMD756
310- tristate " AMD 756/766"
311+ tristate "AMD 756/766"
312 depends on I2C && EXPERIMENTAL
313 help
314 If you say yes to this option, support will be included for the AMD
315 756/766/768 mainboard I2C interfaces.
316
317- This can also be built as a module which can be inserted and removed
318- while the kernel is running. If you want to compile it as a module,
319- say M here and read <file:Documentation/modules.txt>.
320-
321- The module will be called i2c-amd756.
322-
323- You will also need the latest user-space utilties: you can find them
324- in the lm_sensors package, which you can download at
325- http://www.lm-sensors.nu
326+ This driver can also be built as a module. If so, the module
327+ will be called i2c-amd756.
328
329 config I2C_AMD8111
330- tristate " AMD 8111"
331+ tristate "AMD 8111"
332 depends on I2C && EXPERIMENTAL
333 help
334 If you say yes to this option, support will be included for the AMD
335 8111 mainboard I2C interfaces.
336
337- This can also be built as a module which can be inserted and removed
338- while the kernel is running. If you want to compile it as a module,
339- say M here and read <file:Documentation/modules.txt>.
340-
341- The module will be called i2c-amd8111.
342-
343- You will also need the latest user-space utilties: you can find them
344- in the lm_sensors package, which you can download at
345- http://www.lm-sensors.nu
346+ This driver can also be built as a module. If so, the module
347+ will be called i2c-amd8111.
348+
349+config I2C_ELEKTOR
350+ tristate "Elektor ISA card"
351+ depends on I2C_ALGOPCF && BROKEN_ON_SMP
352+ help
353+ This supports the PCF8584 ISA bus I2C adapter. Say Y if you own
354+ such an adapter.
355+
356+ This support is also available as a module. If so, the module
357+ will be called i2c-elektor.
358+
359+config I2C_ELV
360+ tristate "ELV adapter"
361+ depends on I2C_ALGOBIT && ISA
362+ help
363+ This supports parallel-port I2C adapters called ELV. Say Y if you
364+ own such an adapter.
365+
366+ This support is also available as a module. If so, the module
367+ will be called i2c-elv.
368
369 config I2C_I801
370- tristate " Intel 801"
371+ tristate "Intel 801"
372 depends on I2C && PCI && EXPERIMENTAL
373 help
374 If you say yes to this option, support will be included for the Intel
375@@ -81,53 +79,84 @@
376 82801CA/CAM
377 82801DB
378
379- This can also be built as a module which can be inserted and removed
380- while the kernel is running. If you want to compile it as a module,
381- say M here and read <file:Documentation/modules.txt>.
382-
383- The module will be called i2c-i801.
384-
385- You will also need the latest user-space utilties: you can find them
386- in the lm_sensors package, which you can download at
387- http://www.lm-sensors.nu
388+ This driver can also be built as a module. If so, the module
389+ will be called i2c-i801.
390+
391+config I2C_I810
392+ tristate "Intel 810/815"
393+ depends on I2C_ALGOBIT && PCI && EXPERIMENTAL
394+ help
395+ If you say yes to this option, support will be included for the Intel
396+ 810/815 family of mainboard I2C interfaces. Specifically, the
397+ following versions of the chipset is supported:
398+ i810AA
399+ i810AB
400+ i810E
401+ i815
402+
403+ This driver can also be built as a module. If so, the module
404+ will be called i2c-i810.
405+
406+config I2C_IBM_IIC
407+ tristate "IBM IIC I2C"
408+ depends on IBM_OCP && I2C
409+
410+config I2C_IOP3XX
411+ tristate "Intel XScale IOP3xx on-chip I2C interface"
412+ depends on ARCH_IOP3XX && I2C
413
414 config I2C_ISA
415- tristate " ISA Bus support"
416+ tristate "ISA Bus support"
417 depends on I2C && ISA && EXPERIMENTAL
418 help
419 If you say yes to this option, support will be included for i2c
420 interfaces that are on the ISA bus.
421
422- This can also be built as a module which can be inserted and removed
423- while the kernel is running. If you want to compile it as a module,
424- say M here and read <file:Documentation/modules.txt>.
425-
426- The module will be called i2c-isa.
427-
428- You will also need the latest user-space utilties: you can find them
429- in the lm_sensors package, which you can download at
430- http://www.lm-sensors.nu
431+ This driver can also be built as a module. If so, the module
432+ will be called i2c-isa.
433+
434+config I2C_ITE
435+ tristate "ITE I2C Adapter"
436+ depends on I2C_ALGOITE
437+ help
438+ This supports the ITE8172 I2C peripheral found on some MIPS
439+ systems. Say Y if you have one of these. You should also say Y for
440+ the ITE I2C driver algorithm support above.
441+
442+ This support is also available as a module. If so, the module
443+ will be called i2c-ite.
444+
445+config I2C_KEYWEST
446+ tristate "Powermac Keywest I2C interface"
447+ depends on I2C && PPC_PMAC
448+ help
449+ This supports the use of the I2C interface in the combo-I/O
450+ chip on recent Apple machines. Say Y if you have such a machine.
451+
452+ This support is also available as a module. If so, the module
453+ will be called i2c-keywest.
454
455 config I2C_NFORCE2
456- tristate " Nvidia Nforce2"
457+ tristate "Nvidia Nforce2"
458 depends on I2C && PCI && EXPERIMENTAL
459 help
460 If you say yes to this option, support will be included for the Nvidia
461 Nforce2 family of mainboard I2C interfaces.
462
463- This can also be built as a module which can be inserted and removed
464- while the kernel is running. If you want to compile it as a module,
465- say M here and read <file:Documentation/modules.txt>.
466-
467- The module will be called i2c-nforce2.
468-
469- You will also need the latest user-space utilties: you can find them
470- in the lm_sensors package, which you can download at
471- http://www.lm-sensors.nu
472+ This driver can also be built as a module. If so, the module
473+ will be called i2c-nforce2.
474+
475+config I2C_PHILIPSPAR
476+ tristate "Philips style parallel port adapter"
477+ depends on I2C_ALGOBIT && PARPORT
478+ help
479+ This supports parallel-port I2C adapters made by Philips.
480
481+ This support is also available as a module. If so, the module
482+ will be called i2c-philips-par.
483
484 config I2C_PIIX4
485- tristate " Intel PIIX4"
486+ tristate "Intel PIIX4"
487 depends on I2C && PCI && EXPERIMENTAL
488 help
489 If you say yes to this option, support will be included for the Intel
490@@ -139,19 +168,97 @@
491 Serverworks CSB5
492 SMSC Victory66
493
494- This can also be built as a module which can be inserted and removed
495- while the kernel is running. If you want to compile it as a module,
496- say M here and read <file:Documentation/modules.txt>.
497-
498- The module will be called i2c-piix4.
499-
500- You will also need the latest user-space utilties: you can find them
501- in the lm_sensors package, which you can download at
502- http://www.lm-sensors.nu
503+ This driver can also be built as a module. If so, the module
504+ will be called i2c-piix4.
505+
506+config I2C_PROSAVAGE
507+ tristate "S3/VIA (Pro)Savage"
508+ depends on I2C_ALGOBIT && PCI && EXPERIMENTAL
509+ help
510+ If you say yes to this option, support will be included for the
511+ I2C bus and DDC bus of the S3VIA embedded Savage4 and ProSavage8
512+ graphics processors.
513+ chipsets supported:
514+ S3/VIA KM266/VT8375 aka ProSavage8
515+ S3/VIA KM133/VT8365 aka Savage4
516+
517+ This support is also available as a module. If so, the module
518+ will be called i2c-prosavage.
519+
520+config I2C_RPXLITE
521+ tristate "Embedded Planet RPX Lite/Classic suppoort"
522+ depends on (RPXLITE || RPXCLASSIC) && I2C_ALGO8XX
523+
524+config I2C_SAVAGE4
525+ tristate "S3 Savage 4"
526+ depends on I2C_ALGOBIT && PCI && EXPERIMENTAL
527+ help
528+ If you say yes to this option, support will be included for the
529+ S3 Savage 4 I2C interface.
530+
531+ This driver can also be built as a module. If so, the module
532+ will be called i2c-savage4.
533+
534+config SCx200_I2C
535+ tristate "NatSemi SCx200 I2C using GPIO pins"
536+ depends on SCx200 && I2C_ALGOBIT
537+ help
538+ Enable the use of two GPIO pins of a SCx200 processor as an I2C bus.
539+
540+ If you don't know what to do here, say N.
541+
542+ This support is also available as a module. If so, the module
543+ will be called scx200_i2c.
544+
545+config SCx200_I2C_SCL
546+ int "GPIO pin used for SCL"
547+ depends on SCx200_I2C
548+ default "12"
549+ help
550+ Enter the GPIO pin number used for the SCL signal. This value can
551+ also be specified with a module parameter.
552+
553+config SCx200_I2C_SDA
554+ int "GPIO pin used for SDA"
555+ depends on SCx200_I2C
556+ default "13"
557+ help
558+ Enter the GPIO pin number used for the SSA signal. This value can
559+ also be specified with a module parameter.
560+
561+config SCx200_ACB
562+ tristate "NatSemi SCx200 ACCESS.bus"
563+ depends on I2C_ALGOBIT!=n && I2C
564+ help
565+ Enable the use of the ACCESS.bus controllers of a SCx200 processor.
566+
567+ If you don't know what to do here, say N.
568+
569+ This support is also available as a module. If so, the module
570+ will be called scx200_acb.
571+
572+config I2C_SIS5595
573+ tristate "SiS 5595"
574+ depends on I2C && PCI && EXPERIMENTAL
575+ help
576+ If you say yes to this option, support will be included for the
577+ SiS5595 SMBus (a subset of I2C) interface.
578+
579+ This driver can also be built as a module. If so, the module
580+ will be called i2c-sis5595.
581+
582+config I2C_SIS630
583+ tristate "SiS 630"
584+ depends on I2C && PCI && EXPERIMENTAL
585+ help
586+ If you say yes to this option, support will be included for the
587+ SiS630 SMBus (a subset of I2C) interface.
588
589+ This driver can also be built as a module. If so, the module
590+ will be called i2c-sis630.
591
592 config I2C_SIS96X
593- tristate " SiS 96x"
594+ tristate "SiS 96x"
595 depends on I2C && PCI && EXPERIMENTAL
596 help
597 If you say yes to this option, support will be included for the SiS
598@@ -164,19 +271,32 @@
599 650/961
600 735
601
602- This can also be built as a module which can be inserted and removed
603- while the kernel is running. If you want to compile it as a module,
604- say M here and read <file:Documentation/modules.txt>.
605-
606- The module will be called i2c-sis96x.
607-
608- You will also need the latest user-space utilties: you can find them
609- in the lm_sensors package, which you can download at
610- http://www.lm-sensors.nu
611+ This driver can also be built as a module. If so, the module
612+ will be called i2c-sis96x.
613
614+config I2C_VELLEMAN
615+ tristate "Velleman K9000 adapter"
616+ depends on I2C_ALGOBIT && ISA
617+ help
618+ This supports the Velleman K9000 parallel-port I2C adapter. Say Y
619+ if you own such an adapter.
620+
621+ This support is also available as a module. If so, the module
622+ will be called i2c-velleman.
623+
624+config I2C_VIA
625+ tristate "VIA 82C58B"
626+ depends on I2C_ALGOBIT && PCI && EXPERIMENTAL
627+ help
628+
629+ If you say yes to this option, support will be included for the VIA
630+ 82C586B I2C interface
631+
632+ This driver can also be built as a module. If so, the module
633+ will be called i2c-via.
634
635 config I2C_VIAPRO
636- tristate " VIA 82C596/82C686/823x"
637+ tristate "VIA 82C596/82C686/823x"
638 depends on I2C && PCI && EXPERIMENTAL
639 help
640
641@@ -190,15 +310,18 @@
642 8233A
643 8235
644
645- This can also be built as a module which can be inserted and removed
646- while the kernel is running. If you want to compile it as a module,
647- say M here and read <file:Documentation/modules.txt>.
648-
649- The module will be called i2c-viapro.
650-
651- You will also need the latest user-space utilties: you can find them
652- in the lm_sensors package, which you can download at
653- http://www.lm-sensors.nu
654+ This driver can also be built as a module. If so, the module
655+ will be called i2c-viapro.
656
657-endmenu
658+config I2C_VOODOO3
659+ tristate "Voodoo 3"
660+ depends on I2C_ALGOBIT && PCI && EXPERIMENTAL
661+ help
662+
663+ If you say yes to this option, support will be included for the
664+ Voodoo 3 I2C interface.
665+
666+ This driver can also be built as a module. If so, the module
667+ will be called i2c-voodoo3.
668
669+endmenu
670diff -Nur --exclude SCCS linux-2.6.0-test5/drivers/i2c/busses/Makefile i2c-2.5/drivers/i2c/busses/Makefile
671--- linux-2.6.0-test5/drivers/i2c/busses/Makefile Mon Sep 8 19:49:52 2003
672+++ i2c-2.5/drivers/i2c/busses/Makefile Tue Sep 23 10:12:59 2003
673@@ -1,14 +1,32 @@
674 #
675-# Makefile for the kernel hardware sensors bus drivers.
676+# Makefile for the i2c bus drivers.
677 #
678
679 obj-$(CONFIG_I2C_ALI1535) += i2c-ali1535.o
680 obj-$(CONFIG_I2C_ALI15X3) += i2c-ali15x3.o
681 obj-$(CONFIG_I2C_AMD756) += i2c-amd756.o
682 obj-$(CONFIG_I2C_AMD8111) += i2c-amd8111.o
683+obj-$(CONFIG_I2C_ELEKTOR) += i2c-elektor.o
684+obj-$(CONFIG_I2C_ELV) += i2c-elv.o
685 obj-$(CONFIG_I2C_I801) += i2c-i801.o
686+obj-$(CONFIG_I2C_I810) += i2c-i810.o
687+obj-$(CONFIG_I2C_IBM_IIC) += i2c-ibm_iic.o
688+obj-$(CONFIG_I2C_IOP3XX) += i2c-iop3xx.o
689 obj-$(CONFIG_I2C_ISA) += i2c-isa.o
690+obj-$(CONFIG_I2C_ITE) += i2c-ite.o
691+obj-$(CONFIG_I2C_KEYWEST) += i2c-keywest.o
692 obj-$(CONFIG_I2C_NFORCE2) += i2c-nforce2.o
693+obj-$(CONFIG_I2C_PHILIPSPAR) += i2c-philips-par.o
694 obj-$(CONFIG_I2C_PIIX4) += i2c-piix4.o
695+obj-$(CONFIG_I2C_PROSAVAGE) += i2c-prosavage.o
696+obj-$(CONFIG_I2C_RPXLITE) += i2c-rpx.o
697+obj-$(CONFIG_I2C_SAVAGE4) += i2c-savage4.o
698+obj-$(CONFIG_I2C_SIS5595) += i2c-sis5595.o
699+obj-$(CONFIG_I2C_SIS630) += i2c-sis630.o
700 obj-$(CONFIG_I2C_SIS96X) += i2c-sis96x.o
701+obj-$(CONFIG_I2C_VELLEMAN) += i2c-velleman.o
702+obj-$(CONFIG_I2C_VIA) += i2c-via.o
703 obj-$(CONFIG_I2C_VIAPRO) += i2c-viapro.o
704+obj-$(CONFIG_I2C_VOODOO3) += i2c-voodoo3.o
705+obj-$(CONFIG_SCx200_ACB) += scx200_acb.o
706+obj-$(CONFIG_SCx200_I2C) += scx200_i2c.o
707diff -Nur --exclude SCCS linux-2.6.0-test5/drivers/i2c/busses/i2c-ali1535.c i2c-2.5/drivers/i2c/busses/i2c-ali1535.c
708--- linux-2.6.0-test5/drivers/i2c/busses/i2c-ali1535.c Mon Sep 8 19:50:22 2003
709+++ i2c-2.5/drivers/i2c/busses/i2c-ali1535.c Tue Sep 23 10:12:59 2003
710@@ -481,7 +481,6 @@
711
712 static struct i2c_adapter ali1535_adapter = {
713 .owner = THIS_MODULE,
714- .id = I2C_ALGO_SMBUS | I2C_HW_SMBUS_ALI1535,
715 .algo = &smbus_algorithm,
716 .name = "unset",
717 };
718@@ -507,7 +506,7 @@
719 /* set up the driverfs linkage to our parent device */
720 ali1535_adapter.dev.parent = &dev->dev;
721
722- snprintf(ali1535_adapter.name, DEVICE_NAME_SIZE,
723+ snprintf(ali1535_adapter.name, I2C_NAME_SIZE,
724 "SMBus ALI1535 adapter at %04x", ali1535_smba);
725 return i2c_add_adapter(&ali1535_adapter);
726 }
727@@ -526,7 +525,6 @@
728
729 static int __init i2c_ali1535_init(void)
730 {
731- printk(KERN_INFO "i2c-ali1535 version %s (%s)\n", I2C_VERSION, I2C_DATE);
732 return pci_module_init(&ali1535_driver);
733 }
734
735diff -Nur --exclude SCCS linux-2.6.0-test5/drivers/i2c/busses/i2c-ali15x3.c i2c-2.5/drivers/i2c/busses/i2c-ali15x3.c
736--- linux-2.6.0-test5/drivers/i2c/busses/i2c-ali15x3.c Mon Sep 8 19:50:06 2003
737+++ i2c-2.5/drivers/i2c/busses/i2c-ali15x3.c Tue Sep 23 10:12:59 2003
738@@ -471,7 +471,6 @@
739
740 static struct i2c_adapter ali15x3_adapter = {
741 .owner = THIS_MODULE,
742- .id = I2C_ALGO_SMBUS | I2C_HW_SMBUS_ALI15X3,
743 .class = I2C_ADAP_CLASS_SMBUS,
744 .algo = &smbus_algorithm,
745 .name = "unset",
746@@ -498,7 +497,7 @@
747 /* set up the driverfs linkage to our parent device */
748 ali15x3_adapter.dev.parent = &dev->dev;
749
750- snprintf(ali15x3_adapter.name, DEVICE_NAME_SIZE,
751+ snprintf(ali15x3_adapter.name, I2C_NAME_SIZE,
752 "SMBus ALI15X3 adapter at %04x", ali15x3_smba);
753 return i2c_add_adapter(&ali15x3_adapter);
754 }
755@@ -518,7 +517,6 @@
756
757 static int __init i2c_ali15x3_init(void)
758 {
759- printk("i2c-ali15x3.o version %s (%s)\n", I2C_VERSION, I2C_DATE);
760 return pci_module_init(&ali15x3_driver);
761 }
762
763diff -Nur --exclude SCCS linux-2.6.0-test5/drivers/i2c/busses/i2c-amd756.c i2c-2.5/drivers/i2c/busses/i2c-amd756.c
764--- linux-2.6.0-test5/drivers/i2c/busses/i2c-amd756.c Mon Sep 8 19:50:22 2003
765+++ i2c-2.5/drivers/i2c/busses/i2c-amd756.c Tue Sep 23 10:12:59 2003
766@@ -37,7 +37,6 @@
767
768 /* #define DEBUG 1 */
769
770-#include <linux/version.h>
771 #include <linux/module.h>
772 #include <linux/pci.h>
773 #include <linux/kernel.h>
774@@ -304,7 +303,6 @@
775
776 static struct i2c_adapter amd756_adapter = {
777 .owner = THIS_MODULE,
778- .id = I2C_ALGO_SMBUS | I2C_HW_SMBUS_AMD756,
779 .class = I2C_ADAP_CLASS_SMBUS,
780 .algo = &smbus_algorithm,
781 .name = "unset",
782@@ -369,7 +367,7 @@
783 /* set up the driverfs linkage to our parent device */
784 amd756_adapter.dev.parent = &pdev->dev;
785
786- snprintf(amd756_adapter.name, DEVICE_NAME_SIZE,
787+ snprintf(amd756_adapter.name, I2C_NAME_SIZE,
788 "SMBus AMD75x adapter at %04x", amd756_ioport);
789
790 error = i2c_add_adapter(&amd756_adapter);
791diff -Nur --exclude SCCS linux-2.6.0-test5/drivers/i2c/busses/i2c-amd8111.c i2c-2.5/drivers/i2c/busses/i2c-amd8111.c
792--- linux-2.6.0-test5/drivers/i2c/busses/i2c-amd8111.c Mon Sep 8 19:50:22 2003
793+++ i2c-2.5/drivers/i2c/busses/i2c-amd8111.c Tue Sep 23 10:12:59 2003
794@@ -356,9 +356,8 @@
795 goto out_kfree;
796
797 smbus->adapter.owner = THIS_MODULE;
798- snprintf(smbus->adapter.name, DEVICE_NAME_SIZE,
799+ snprintf(smbus->adapter.name, I2C_NAME_SIZE,
800 "SMBus2 AMD8111 adapter at %04x", smbus->base);
801- smbus->adapter.id = I2C_ALGO_SMBUS | I2C_HW_SMBUS_AMD8111;
802 smbus->adapter.class = I2C_ADAP_CLASS_SMBUS;
803 smbus->adapter.algo = &smbus_algorithm;
804 smbus->adapter.algo_data = smbus;
805diff -Nur --exclude SCCS linux-2.6.0-test5/drivers/i2c/busses/i2c-elektor.c i2c-2.5/drivers/i2c/busses/i2c-elektor.c
806--- linux-2.6.0-test5/drivers/i2c/busses/i2c-elektor.c Thu Jan 1 00:00:00 1970
807+++ i2c-2.5/drivers/i2c/busses/i2c-elektor.c Tue Sep 23 10:12:59 2003
808@@ -0,0 +1,286 @@
809+/* ------------------------------------------------------------------------- */
810+/* i2c-elektor.c i2c-hw access for PCF8584 style isa bus adaptes */
811+/* ------------------------------------------------------------------------- */
812+/* Copyright (C) 1995-97 Simon G. Vogl
813+ 1998-99 Hans Berglund
814+
815+ This program is free software; you can redistribute it and/or modify
816+ it under the terms of the GNU General Public License as published by
817+ the Free Software Foundation; either version 2 of the License, or
818+ (at your option) any later version.
819+
820+ This program is distributed in the hope that it will be useful,
821+ but WITHOUT ANY WARRANTY; without even the implied warranty of
822+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
823+ GNU General Public License for more details.
824+
825+ You should have received a copy of the GNU General Public License
826+ along with this program; if not, write to the Free Software
827+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
828+/* ------------------------------------------------------------------------- */
829+
830