Commit b0defcdb authored by Corey Minyard's avatar Corey Minyard Committed by Linus Torvalds

[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: default avatarCorey Minyard <minyard@acm.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3c30b06d
This diff is collapsed.
...@@ -50,11 +50,12 @@ struct si_sm_io ...@@ -50,11 +50,12 @@ struct si_sm_io
/* Generic info used by the actual handling routines, the /* Generic info used by the actual handling routines, the
state machine shouldn't touch these. */ state machine shouldn't touch these. */
void *info;
void __iomem *addr; void __iomem *addr;
int regspacing; int regspacing;
int regsize; int regsize;
int regshift; int regshift;
int addr_type;
long addr_data;
}; };
/* Results of SMI events. */ /* Results of SMI events. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment