Le 9 nov. 08 à 20:42, Geert Uytterhoeven a écrit :
On Sun, 9 Nov 2008, Laurent Vivier wrote:
Le 9 nov. 08 à 17:19, Geert Uytterhoeven a écrit :
On Thu, 6 Nov 2008, Laurent Vivier wrote:
--- /dev/null
+++ b/drivers/block/swim.c
+static struct platform_device *swim_device;
One global instance?
Yes, why not ? Could you explain ?
It prevents the driver from working if you have multiple SWIM devices.
If we have multiple SWIM devices the driver is only able to know the
base address of the onboard controller.
So, it manages only one.
Didn't I read something about SWIM chips on expansion cards?
I think you speak about the expansion card for the MacII allowing to
replace the WIM controller by a SWIM one, but what I understood is the
SWIM replaces the WIM at the same base address. Moreover the SWIM has
a WIM compatibility mode: it's why I've added the set_swim_mode() and
get_swim_mode() to detect in which case we are. But there is only one
controller at a time.
Regards,
Laurent
----------------------- Laurent Vivier ----------------------
"The best way to predict the future is to invent it."
- Alan Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html