Re: [PATCH 2/5] I2O: SPARC fixes

From: David S. Miller
Date: Tue Nov 15 2005 - 16:28:17 EST


From: Markus Lidel <Markus.Lidel@xxxxxxxxxxxxxxxxx>
Date: Tue, 15 Nov 2005 10:31:09 +0100

> +config I2O_LCT_NOTIFY_ON_CHANGES
> + bool "Enable LCT notification"
> + depends on I2O
> + default y
> + ---help---
> + Only say N here if you have a I2O controller from SUN. The SUN
> + firmware doesn't support LCT notification on changes. If this option
> + is enabled on such a controller the driver will hang up in a endless
> + loop. On all other controllers say Y.
> +
> + If unsure, say Y.
> +

This should be detected at runtime, and that is easily done.

You can use the PCI device to get at the firmware device
node, and use that to look for a firmware device node property
that identifies it as a card from Sun.

Usually the "name" property has some identifying string in it.
Sometimes there is a property with the string "fcode" in it and you
could look for that as well.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/