Преглед изворни кода

[PATCH] ipmi: add generic PCI handling

Modify the PCI hanling code for the IPMI driver to use the new method of
tables and registering, and adds more generic PCI handling for IPMI.
Unfortunately, this required a rather large rework of the way the driver
did detection so it would be more event-driven.

[bunk@stusta.de: make a struct static]
Signed-off-by: Corey Minyard <minyard@acm.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Corey Minyard пре 19 година
родитељ
комит
b0defcdbd2
2 измењених фајлова са 329 додато и 359 уклоњено
  1. 327 358
      drivers/char/ipmi/ipmi_si_intf.c
  2. 2 1
      drivers/char/ipmi/ipmi_si_sm.h

Разлика између датотеке није приказан због своје велике величине
+ 327 - 358
drivers/char/ipmi/ipmi_si_intf.c


+ 2 - 1
drivers/char/ipmi/ipmi_si_sm.h

@@ -50,11 +50,12 @@ struct si_sm_io
 
 	/* Generic info used by the actual handling routines, the
            state machine shouldn't touch these. */
-	void *info;
 	void __iomem *addr;
 	int  regspacing;
 	int  regsize;
 	int  regshift;
+	int addr_type;
+	long addr_data;
 };
 
 /* Results of SMI events. */

Неке датотеке нису приказане због велике количине промена