| Age | Commit message (Collapse) | Author |
|
The MCA bus has a few "integrated" functions, which are effectively virtual
slots on the bus. The problem is that these special functions don't have
dedicated pos IDs, so we have to manufacture ids for them outside the pos
space ... and these ids can't be matched by the standard matching function,
so add a special registration that requests a list of pos ids or a particular
integrated function.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
|
- Move MCA_bus declaration from <asm/processor.h> to <linux/mca.h>
- Define it in mca.c, not setup.c
- EXPORT_SYMBOL it at the site of its definition.
- Fix up random files to include <linux/mca.h> for the use of the MCA_bus
symbol
- Delete some unnecessary ifdefs.
- Delete some unneeded comments.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
|
|
The old 1542 scsi driver is both ISA and MCA. The MCA portions are disabled
when !CONFIG_MCA through the typical wrapper scheme (a la pci.h and
!CONFIG_PCI). However... the driver unconditionally includes linux/mca.h
which in turn unconditionally includes asm/mca.h.
This breaks drivers on platforms with ISA but not MCA, like alpha.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
From: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
|
|
As the functions and definitions in linux/mca-legacy.h are deprecated,
require that users explicitly include linux/mca-legacy.h as needed.
Prior to this change, _all_ users of linux/mca.h (i.e. proper users)
issued a warning at compile time, when the MCA legacy API was enabled.
Now only actual users of the legacy API cause warnings, not all MCA drivers.
|
|
This should fix the MCA problems.
I moved the name field to the struct mca_device because it was in such
extensive use, and this approach caused the least impact.
|
|
Make proc and legacy depend on compile options.
|
|
Tidies up the handling of MCA drivers
|
|
Make D700 use the sysfs based device probing code and the new
MCA API entirely.
|
|
Just in case some raving lunatic wants to add other platform
support for MCA (like RS6000)
Abstract the hardware pieces from the general MCA bus handling
Make all bus and pos accesses go through special accessor registers
add transform functions for multiple MCA bus machines
|
|
These changes make MCA use sysfs. They export the identical api
to the previous MCA functions, but now everything operates in
terms of sysfs struct devices.
|
|
|