Researching, I found this entry on a blog called "sysdigg". Sysdigg looks like an interesting blog until you go to the current site, where it's mostly spam and ads. I'm not sure what happened, but at least back in 2007 it looked informative.
Anyway, the key lies in having a modern kernel and sysfs. There's a class called fc_host with the appropriate info: