Re: [PATCH 2/5] I2O: SPARC fixes
From: Markus Lidel
Date: Thu Nov 17 2005 - 03:38:35 EST
David S. Miller wrote:
Actually, my idea won't work if the card is used in a non-Sparc
This should be detected at runtime, and that is easily done.OK, i'll look at it... Thanks for the hint!
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.
system. Do these cards have PCI subsystem vendor or device ID's that
identify it as a Sun card?
I don't know, because currently i only look for the PCI class. I'll check
it out and report back...
Thank you very much for your help!
Markus Lidel (Senior IT Consultant)
Shadow Connect GmbH
Phone: +49 82 82/99 51-0
Fax: +49 82 82/99 51-11
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/